

07:45:02,528 - IDEController - INFO - localpath 07:45:00,401 - IDEController - INFO - Electron: Make 07:43:43,942 - IDEController - INFO - npmPath: C:\Program Files\NSB AppStudio\node\bin\node, C:\Program Files\NSB AppStudio\node\node_modules\npm\bin\npm-cli.js 07:43:43,256 - IDEController - INFO - npmPath: C:\Program Files\NSB AppStudio\node\bin\node, C:\Program Files\NSB AppStudio\node\node_modules\npm\bin\npm-cli.js 07:43:43,256 - IDEController - INFO - npm: config set scripts-prepend-node-path auto 07:43:43,039 - IDEController - INFO - deployPath C:\Users\XXXXX\AppData\Local\Temp\tmpz005_cy 07:43:43,039 - IDEController - INFO - localpath 07:43:40,933 - IDEController - INFO - Electron: Run It runs, I see the electron folder created under my project, but nothing else happens: Npm ERR! C:\Users\ralf\AppData\Local\npm-cache\_logs\T04_39_41_935Z-debug.logīuilding errors: npm run pack -prefix electronĭer Befehl "electron-builder" ist entweder falsch geschrieben oder Npm ERR! A complete log of this run can be found in: Npm ERR! Der Befehl "node" ist entweder falsch geschrieben oder Npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js Npm ERR! path C:\workspace.nsb\Test1\Project1.appstudio\electron\node_modules\electron Npm notice Run `npm install -g to update! Npm notice New minor version of npm available! 7.8.0 -> 7.15.0 electron (or node) does not seem to have been installed.Įrror during (first) execution:: npm install


And this works for any other global npm package.I try to build an app using electron after a fresh AppStudio installation. Great thing is that npm can update itself. # navigate to nvm's node lib folder # (replace v8.4.0 with your version) cd ~/.nvm/versions/node/v8.4.0/lib/ # update npm right there npm install npm # reopen your terminal Once I found it, it was super easy to update npm in that specific folder. So I tried to find a path where global packages are installed when using nvm. I can't remember the exact error, but it was probably something with my PATH configuration. However, when I was using a "system" node version, installed from Node.js website, it did. Recently I got npm update notification, that looks something like this:įor some reason, when I had node installed through nvm, npm i -g npm didn't work. Node Version Manager is easy way to install, manage and work with multiple node versions. If you are JavaScript developer and not using nvm you might want to look at it.
