v8flags icon indicating copy to clipboard operation
v8flags copied to clipboard

permission denied

Open ddatsh opened this issue 6 years ago • 1 comments

I 'm root, clean centos 7

and

export HOME=/root
export TMP=/tmp

problem still exists

npm install --no-save

> [email protected] install /root/gitea/node_modules/fomantic-ui
> gulp install

/root/gitea/node_modules/liftoff/index.js:187
      throw err;
      ^

[Error: EACCES: permission denied, open '/root/gitea/node_modules/fomantic-ui/.v8flags-1-7.9.317.25-node.30.63a9f0ea7bb98050796b649e85481845.json'

Unable to cache a config file for v8flags to your home directory
or a temporary folder. To fix this problem, please correct your
environment by setting HOME=/path/to/home or TEMP=/path/to/temp.
NOTE: the user running this must be able to access provided path.
If all else fails, please open an issue here:
http://github.com/tkellen/js-v8flags] {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: '/root/gitea/node_modules/fomantic-ui/.v8flags-1-7.9.317.25-node.30.63a9f0ea7bb98050796b649e85481845.json'
}
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `gulp install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/.npm/_logs/2020-04-14T06_32_00_721Z-debug.log
make: *** [node_modules] Error 1
[

ddatsh avatar Apr 14 '20 06:04 ddatsh

I am still seeing this. how did you solve it?

popey avatar Jun 24 '20 11:06 popey