'Cannot read properties of undefined (reading 'eclccPath')' in HPCC Systems VS Code extension

103 Views Asked by At

How to resolve this error 'Cannot read properties of undefined (reading 'eclccPath')' in HPCC Systems VS Code extension.

I have installed ecl client tools. While installing I tried with both options 'add path to all users' once & the default one 'do not add'. in both cases getting same error.

2

There are 2 best solutions below

2
On

Can you share which versions of the ECL Extension and Client tools your using?

Also the quick / normal setup:

  1. Have a project folder which contains a sub folder (ECL Module) which in turn contains ECL files (ECL Attributes)
  2. In VSCode open the "project folder"
  3. Open an ECL file from the file
  4. Create Launch Configuration
  5. Select the target by:
    • Clicking the "Launch Configuration" in the status bar
    • Optionally clicking on the "Target Cluster" in the status bar

At which point you should be able to submit ECL to the server as specified in the launch configuration.

For example see: https://github.com/GordonSmith/ECL-Playground

5
On

Even though you have installed the Client Tools, make sure that you have the Client Tools active so that the eclcc compiler can be found. In the Client Tools list, there is an option to activate. And make sure that you are installing the OSX (Mac) Client Tools version.