create-nuxt-app: Weird missing dependency
Hi guys,
I created a project with create-nuxt-app and tried to start with npm run dev but I got error messages:
ERROR Failed to compile with 1 errors 19:52:33
This dependency was not found:
* d:\Work\tmp\nuxt-demo\.nuxt\client.js in multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/__webpack_hmr ./.nuxt/client.js
To install it, you can run: npm install --save d:\Work\tmp\nuxt-demo\.nuxt\client.js
What is the problem? The mentioned “install …js” message is not valid, I can’t install a JS file with npm install.
Win7, Node 8.9.4
Thanks in advance!
<div align="right">This question is available on Nuxt.js community (#c9)</div>About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 17 (7 by maintainers)
@sudhir600 Your issue is due to lack of dependencies
eslint,babel-eslint,eslint-loaderandeslint-plugin-vuewhen usingeslint-loader, you can usenpmoryarnto install them.I will check the starter-template and I recommend you to use
create-nuxt-appto generate the project 😄Fix will be included in next release
the same issue +1