webpack-dev-server: Permission denied
See original GitHub issueHi. Your repo is very usefull but I cant install it 😦 My steps was : 1.- clone 2.- npm install 3.- npm start and the error after this command is:
root@abcde:/some_folder/react-webpack-babel# npm start
react-webpack-babel@0.0.3 start /some_folder/react-webpack-babel
webpack-dev-server --progress --profile --colors
sh: 1: webpack-dev-server: Permission denied
npm ERR! Linux 4.4.0-38-generic
npm ERR! argv "node" "/user/apps/node-v4.2.3-linux-x64/bin/npm" "start"
npm ERR! node v0.10.37
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! react-webpack-babel@0.0.3 start: `webpack-dev-server --progress --profile --colors`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the react-webpack-babel@0.0.3 start script 'webpack-dev-server --progress --profile --colors'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-webpack-babel package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --progress --profile --colors
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs react-webpack-babel
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls react-webpack-babel
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /some_folder/react-webpack-babel/npm-debug.log
I have several months developing whit node and npm so my node and npm are correct!
node version:v4.2.3 npm version : 3.10.9 linux info : 14.04.1-Ubuntu
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Error while starting npm? - Stack Overflow
I can see a permission denied in your logs. Do you have the permission to execute the webpack-dev-server command? A chmod 755 could...
Read more >Permission denied when we use npm start using webpack?
The following error will be displayed when i use the command "npm start". > callcenter@0.1.0 start /var/www/html/dev/callcenter > react-scripts ...
Read more >"npm start" permission denied error: how to solve it?
So, to solve this issue all you have to do is: · Remove Node If in OSX run brew uninstall node · Delete...
Read more >sh: 1: webpack-dev-server: Permission denied_裁决之地的博客
npm run dev一个项目时出现了如标题的错误,提示权限错误。我没有安装webpack-dev-server这个模块,也不知道之前有没有安装webpack,索性一块安装。
Read more >AWX docker images build error for Kubernetes - Google Groups
npm WARN tar EACCES: permission denied, fchown\nnpm WARN tar EACCES: ... 1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):\nnpm WARN notsup ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, I got this issue also in this precise configuration:
It could be related to the fact the config (global versus local) installation of some packages is not the same in the 2 environments (windows vs linux). After simply deleting the node_modules folder, without changing the config files, everything was back to normal again.
why-is-permission-denied-for-npm-start-using-node-dev
It solved my problem without having to remove node_modules folder.