Running `npm run serve:dev` throws an error
reilg opened this issue · comments
Describe the bug
Same error shows up on npm run build:dev
throws this error:
ERROR in ./src/main.js 3:0-28
Module not found: Error: Can't resolve 'css-loader' in '/path/to/project'
To Reproduce
Steps to reproduce the behavior:
- Clone repository
- Run
npm install
- Run
npm run serve:dev
Expected behavior
Expected the app to run without errors
Desktop (please complete the following information):
- OS: Ubuntu 20.04
- Browser: Chrome
- Version: 92.0.4515.107 (Official Build) (64-bit)
- Node Version: 14.17.0
- NPM Version: 6.14.13
I am not managing to reproduce this error, I am using:
- Node Version: 15.8.0
- NPM Version: 7.20.0
Would it be an option for you to update your node/npm versions and see if it works?
@Aridez - Apologies should've thought to try it on other versions. It was pretty late and my brain was being lazy.
Works with these versions:
Node: 15.6.0
NPM: 7.4.0
Thank you.
Glad to see that it worked! I didn't think about trying out the compatibility with older versions, I'll add a recommendation to the README to use at least version 15 of Node and 7 of NPM