title: Npm install on cpanel server for Vue Nuxt application is not working?
body: <p>I am trying to run npm install in the cpanel terminal for a project but it gives me errors.</p>
  <p>Firstly I enter the virtual environment in the cpanel terminal as described by cpanel when you create a node application with the interface. I write the command &quot;source /home/mywebhotel/nodevenv/mydomain.com/10/bin/activate &amp;&amp; cd /home/mywebhotel/mydomain.com&quot;</p>
  <p>Then I check that node is installed which it is.</p>
  <p>I have already added a package.json file for my Vue/Nuxt application and I then run npm install and it gives me the following:</p>
  <pre><code>&gt; fibers@4.0.3 install /home/mywebhotel/nodevenv/mydomain.com/10/lib/node_modules/fibers
  &gt; node build.js || nodejs build.js
  `linux-x64-64-glibc` exists; testing
  Problem with the binary; manual build incoming
  make: Entering directory `/home/mywebhotel/nodevenv/mydomain.com/10/lib/node_modules/fibers/build'
    CXX(target) Release/obj.target/fibers/src/fibers.o
  make: execvp: g++: Permission denied
  make: *** [Release/obj.target/fibers/src/fibers.o] Error 127
  make: Leaving directory `/home/mywebhotel/nodevenv/mydomain.com/10/lib/node_modules/fibers/build'
  gyp ERR! build error
  gyp ERR! stack Error: `make` failed with exit code: 2
  gyp ERR! stack     at ChildProcess.onExit (/opt/alt/alt-nodejs10/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:191:23)
  gyp ERR! stack     at ChildProcess.emit (events.js:198:13)
  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
  gyp ERR! System Linux 3.10.0-962.3.2.lve1.5.35.el7.x86_64
  gyp ERR! command &quot;/opt/alt/alt-nodejs10/root/usr/bin/node&quot; &quot;/opt/alt/alt-nodejs10/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/bin/node-gyp.js&quot; &quot;rebuild&quot; &quot;--release&quot;
  gyp ERR! cwd /home/mywebhotel/nodevenv/mydomain.com/10/lib/node_modules/fibers
  gyp ERR! node -v v10.20.1
  gyp ERR! node-gyp -v v5.1.0
  gyp ERR! not ok
  node-gyp exited with code: 1
  Please make sure you are using a supported platform and node version. If you
  would like to compile fibers on this machine please make sure you have setup your
  build environment--
  Windows + OS X instructions here: https://github.com/nodejs/node-gyp
  Ubuntu users please run: `sudo apt-get install g++ build-essential`
  RHEL users please run: `yum install gcc-c++` and `yum groupinstall 'Development Tools'`
  Alpine users please run: `sudo apk add python make g++`
  sh: nodejs: command not found
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;linux&quot;,&quot;arch&quot;:&quot;x64&quot;})
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;linux&quot;,&quot;arch&quot;:&quot;x64&quot;})
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/@babel/cli/node_modules/chokidar/node_modules/fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;linux&quot;,&quot;arch&quot;:&quot;x64&quot;})
  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/nodemon/node_modules/chokidar/node_modules/fsevents):
  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {&quot;os&quot;:&quot;darwin&quot;,&quot;arch&quot;:&quot;any&quot;} (current: {&quot;os&quot;:&quot;linux&quot;,&quot;arch&quot;:&quot;x64&quot;})
  npm WARN babel-eslint@10.1.0 requires a peer of eslint@&gt;= 4.12.1 but none is installed. You must install peer dependencies yourself.
  
  npm ERR! code ELIFECYCLE
  npm ERR! syscall spawn
  npm ERR! file sh
  npm ERR! errno ENOENT
  npm ERR! fibers@4.0.3 install: `node build.js || nodejs build.js`
  npm ERR! spawn ENOENT
  npm ERR!
  npm ERR! Failed at the fibers@4.0.3 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!     /home/mywebhotel/.npm/_logs/2020-07-20T14_32_17_650Z-debug.log
  </code></pre>
  <p>If I try and write sudo npm install it states: bash: sudo: command not found</p>
  <p>I hope someone can help! :)</p>