Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Platform SDK - Error at npm install

Jean-Balteryx
16 - Nebula
16 - Nebula

Hi everyone !

 

I'm starting to use the Platform SDK and run into this error when executing the command ayx_plugin_cli designer-install :

 

Capture d’écran 2022-08-17 à 17.17.37.png

 

The error comes from the npm install part of the designer install.

I'm working in a python virtual environment with Python 3.8.5.

 

Did anyone had this problem and fixed it ?

 

Thank you for your help !

8 REPLIES 8
IraWatt
17 - Castor
17 - Castor

Hey @Jean-Balteryx,

I think I have seen this one, I had to downgrade my node environment. What version of node are you using? I am using V14.19.3:

IraWatt_0-1660749683386.png

My python --version:
Python 3.8.5

 

Happy to share other environment settings but cant think of any others.

Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @IraWatt,

 

Thank you for your quick reply !

 

I'm using node 16.16.0. i'll downgrade it and retry !

Jean-Balteryx
16 - Nebula
16 - Nebula

I downgraded and I still get the same problem. 😕

IraWatt
17 - Castor
17 - Castor

@Jean-Balteryx I am also using the CLI version 1.0.2. I would also create a new workspace and plugin now you are on V14.19.3, the old workspace and tool will be made using the old node environment.

Jean-Balteryx
16 - Nebula
16 - Nebula

CLI = ayx plugin CLI ?

IraWatt
17 - Castor
17 - Castor

Yes 1.0.2 ayx plugin CLI

Jean-Balteryx
16 - Nebula
16 - Nebula

Still get the error ! :/

Jean-Balteryx
16 - Nebula
16 - Nebula

So the problem was about the versions, specifically node and npm. I downgraded node to 14.19.3 but somehow npm didn't get downgraded so I had to do it to the version 6.14.17.

 

To summarize, here are the needed versions as of today:

   - Python : 3.8.5

   - Node : 14.19.3

   - npm : 6.14.17

   - CLI : 1.0.3

Labels