stefan7
162
3
Vue

Node modules are installed but are not found

Posted 7 months ago by stefan7

Hi, I am running node.js on windows and am struggling now for hours with this error. I did install with npm install ... all this modules that seem to be missing. The module folders exist in Laravel project and I installed globally as well. What am I missing?

ERROR in ./node_modules/require-directory/index.js Module not found: Error: Can't resolve 'fs' in 'D:\Xampp\htdocs\project\node_modules require-directory'

ERROR in ./node_modules/spdx-expression-parse/scan.js Module not found: Error: Can't resolve 'spdx-license-ids/deprecated' in 'D:\Xampp \htdocs\project\node_modules\spdx-expression-parse' @ ./node_modules/spdx-expression-parse/scan.js 5:10-48

Please sign in or create an account to participate in this conversation.