Open naugtur opened 7 years ago
@naugtur Hello!
cp: copyFileSync: could not write to dest file (code=EACCES):scripts/config.local.js
1) try use yarn or npmc instead npm 2) other npm global package woks well? 3) install nvm - node version manager
I'm using latest npm and plenty of other packages work. I'm a heavy user of node. Didn't dig into details of this one but the postinstall script is doing something odd, because even if I run it from the root account with ultimate permissions to everything it reports the same error. Maybe the path doesn't exist or there's a folder where it tries to create a file.
I worked around the issue by installing locally in the project and using npm scripts.
Zb
On Oct 3, 2017, 14:44, at 14:44, Mike notifications@github.com wrote:
@naugtur Hello!
cp: copyFileSync: could not write to dest file (code=EACCES):scripts/config.local.js
1) try use yarn or npmc instead npm 2) other npm global package woks well? 3) install nvm - node version manager
-- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: https://github.com/ngokevin/angle/issues/39#issuecomment-333829852
I`d try to remove some packages like shx
and make PR, but major developer have own point of view and have no time.
Each aframe projects useing shx
, gh-pages
pkgs, as I see.
1) try remove shx
2) rewrite angle
;-)
Getting this problem too on MacOS 10.13.12
Running
sudo npm install -g angle
with node 8.9.4 and npm 5.6.0
Getting this problem too on MacOS 10.13.6 workaround from 7dir helped npm install -g yarn yarn global add angle angle initcomponent
same problem MacOS 10.15.6
Looks like it tries to perform some operations not through the current user context (root in that case)