5

I am running a node process inside of vagrant and am getting a ELIFECYCLE (Permission denied....exit status 126) error when I run the command:

NODE_ENV=production ./node_modules/babel-cli/bin/babel-node.js ./index.js.

the babel-node.js file has -rw-rw-r--
the ./index.js file has -rw-rw-r--

Everything works fine locally (not on vagrant)

Also, I am using a CentOS image in my vagrant vm

Things I've tried: This post recommended doing a chmod +x file.js but that did not work

Community
  • 1
  • 1
frankgreco
  • 1,426
  • 1
  • 18
  • 31

0 Answers0