Open Paul75 opened 1 year ago
Running npm config set prefix /
should fix it.
What can be done in this regard to automate this step as part of devenv shell
first run?
@mahmoudajawad why do you need to globally install something?
@domenkozar, many javascript frameworks have CLI tooling that is provided separately from the actual framework elements. If installing the tooling is not possible with devenv, then the environment user would still be required to install npm (or any package manager), then install the CLI tools in order to have complete experience.
Does devenv suggest different workflow?
It's to install the tooling locally and export PATH to make it available within the shell.
@domenkozar I see. This means different folder structure in some cases (some CLIs conflict with project files). But, overall it makes sense.
Describe the bug When I install a programme with npm like :
npm install -g <APP>
It failed. I've got an error forbidden :
To reproduce
launch a terminal go to project and do : npm install -g generator-ngx-rocket
Version
devenv: 0.6.3