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)

Most upvoted comments

@sudhir600 Your issue is due to lack of dependencies eslint, babel-eslint, eslint-loader and eslint-plugin-vue when using eslint-loader, you can use npm or yarn to install them.

yarn add eslint babel-eslint eslint-loader eslint-plugin-vue

// or

npm i eslint babel-eslint eslint-loader eslint-plugin-vue

I will check the starter-template and I recommend you to use create-nuxt-app to generate the project 😄

Fix will be included in next release

the same issue +1