sp-dev-gdpr-activity-hub icon indicating copy to clipboard operation
sp-dev-gdpr-activity-hub copied to clipboard

NPM trouble

Open CyberSauce opened this issue 6 years ago • 3 comments

Hello,

Having an issue with NPM error. I saw another user was having issues with this, but I can't figure out how to fix. image

CyberSauce avatar Apr 17 '18 16:04 CyberSauce

I had the same issue, it's got to do with the PATH variable in Windows. I've installed NodeJS and did a restart and it worked

mwolfaardt avatar Apr 18 '18 19:04 mwolfaardt

Thanks. Does node JS need to be on my machine or on SharePoint?

CyberSauce avatar Apr 18 '18 19:04 CyberSauce

I has this issue as well and found that there was different behavior when using a powershell terminal started from the project directory and using the terminal in Visual Studio Code. When I used the terminal in Code, npm was recognized, when using normal powershell sometimes it was not. Node needs to be on your development machine.

jcskillings avatar Oct 05 '18 17:10 jcskillings