Category: Bug or enhancement
Bug
Severity: Low , Medium, High, Critical
High
Expected behaviour (In case of bug)
NPM should be installed within the IDE and be only used from the IDE's software directory (respectively IDE speicific node installation)
Actual/current behaviour (In case of bug)
npm is taken from /c/program files/nodejs/npm if it is already installed globally on the system.
ng is also installed in the global installatino of nodejs on the system.
*** Setting up node ***
Starting installation of node.js to /c/Users/mbrunnli/Downloads/devon-ide-scripts-3.0.0-beta11.tar/software/node from https://nodejs.org/dist/v10.16.0/node-v10.16.0-win-x64.zip
Downloading node.js-v10.16.0-windows.zip from https://nodejs.org/dist/v10.16.0/node-v10.16.0-win-x64.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
63 16.6M 63 10.5M 0 0 2909k 0 0:00:05 0:00:03 0:00:02 2909kInstalling extensions...
Installing extension 'devonfw.devonfw-extension-pack' v4.1.1...
100 16.6M 100 16.6M 0 0 2678k 0 0:00:06 0:00:06 --:--:-- 2543k
Running command: unzip -q '/c/Users/mbrunnli/Downloads/node.js-v10.16.0-windows.zip' -d '/c/Users/mbrunnli/Downloads/devon-ide-scripts-3.0.0-beta11.tar/updates/extracted/node'
Succeeded to run command unzip
Successfully extracted archive node.js-v10.16.0-windows.zip to updates/extracted
Running command: mv '/c/Users/mbrunnli/Downloads/devon-ide-scripts-3.0.0-beta11.tar/updates/extracted/node/node-v10.16.0-win-x64' '/c/Users/mbrunnli/Downloads/devon-ide-scripts-3.0.0-beta11.tar/software/node'
Succeeded to run command mv
Successfully installed node.js
To be fully functional please rerun 'devon' command to update your PATH properly.
Running command: '/c/Users/mbrunnli/Downloads/devon-ide-scripts-3.0.0-beta11.tar/software/node/node.exe' -v
v10.16.0
Succeeded to verify installation of node.js ('/c/Users/mbrunnli/Downloads/devon-ide-scripts-3.0.0-beta11.tar/software/node/node.exe')
*** Setting up npm ***
npm is already installed at /c/Program Files/nodejs/npm
*** Setting up ng ***
Running command: npm install -g @angular/cli@latest --unsafe
Extension 'devonfw.devonfw-extension-pack' v4.1.1 was successfully installed..2.6 checking installable status
C:\Program Files\nodejs\ng -> C:\Program Files\nodejs\node_modules\@angular\cli\bin\ng
> @angular/cli@8.2.1 postinstall C:\Program Files\nodejs\node_modules\@angular\cli
> node ./bin/postinstall/script.js
+ @angular/cli@8.2.1
added 240 packages from 185 contributors in 45.967s
Succeeded to install angular-cli (npm)
Steps to reproduce (In case of bug)
having nodejs installed on your system globally, start a new setup and have a look at the logs.
Description of issue / expected enhacement /Comments
Your environment - windows/Linux, Devonfw version , component
Category: Bug or enhancement
Bug
Severity: Low , Medium, High, Critical
High
Expected behaviour (In case of bug)
NPM should be installed within the IDE and be only used from the IDE's software directory (respectively IDE speicific node installation)
Actual/current behaviour (In case of bug)
npm is taken from /c/program files/nodejs/npm if it is already installed globally on the system.
ng is also installed in the global installatino of nodejs on the system.
Steps to reproduce (In case of bug)
having nodejs installed on your system globally, start a new setup and have a look at the logs.
Description of issue / expected enhacement /Comments
Your environment - windows/Linux, Devonfw version , component