After running npm install installs with no errors, node_modules is empty
I am looking to move my react app over to a DO droplet and I came across this well written tutorial by scotch.io (https://scotch.io/tutorials/how-to-host-a-node-js-app-on-digital-ocean). After I clone my repo and run ‘sudo npm install’, all goes well with no errors. However when looking in the node_modules folder, nothing is there. This results in missing module errors when running express server and webpack build. Has anyone run across this issue?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×