I am working on a react portfolio for a course, and I put my code onto a flash drive and tried to run it on my linux computer. I kept getting errors like
> react-redux-router@1.0.0 start
> webpack-dev-server --config webpack/dev.config.js --watch
sh: webpack-dev-server: permission denied
I installed the same version of node, and followed every installation process I did on mac. To get it to work I had to create a new project and just import my src files and index file. But when i take that new file and try it on mac, A sh: webpack-dev-server: command not found
error comes up. Not sure why the same file doesn't work on mac and linux but I would like to fix it.
Top comments (0)