Running node (express) on linux produces Error: spawn EACCES

前端 未结 1 2039
慢半拍i
慢半拍i 2021-02-19 08:36

I\'m building a node app with using Expressjs and I\'m trying to run my node app on a freshly installed Ubuntu (I just installed git and node v 0.10.19).

Sadly though, I

1条回答
  •  时光取名叫无心
    2021-02-19 08:51

    I solved it by setting the file permissions correctly.

    It works by settings read/write and execute permissions.

      sudo chmod -R a+rwx APPNAME/file
    

    0 讨论(0)
提交回复
热议问题