Closed michelluther closed 3 years ago
jep, the log hints to some dir confusion caused by sudo
.
just do a npm i -g yo generator-easy-ui5
(note the yo
also being installed globally as a peer dep)
hth, v.
(i closed this by accident, sorry. please reopen if necessary)
Hi Volker,
thanks for looking into this.
It is the default behaviour for npm to install global packages into the folder /usr/lib/node_modules
. Without sudo this will not work.
There are workarounds (like this one) for this, but by default, linux users will experience this, i believe. And so do i :-).
Cheers Michel
I can confirm that the issue is resolved by changing the default folder for global packages for npm.
So it works for me now.
Cheers Michel
Dear team,
I am failing to npm install the generator in version 3.0.1 fails with authorization error on linux during the postinstallation.
This is what I do:
sudo npm install generator-easy-ui5 -g
Maybe the sudo run as is not being propagated?
I have attached the result. installation_output.txt
Installation works fine with version 2.4.6.
Thanks a lot Michel