Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run dev get error: Failed to compile. #11

Open
JadeVane opened this issue Sep 30, 2020 · 1 comment
Open

npm run dev get error: Failed to compile. #11

JadeVane opened this issue Sep 30, 2020 · 1 comment

Comments

@JadeVane
Copy link

Details

After running npm run dev, some error are displayed on the browser

Failed to compile.

./src/main.js
Module not found: Error: Can't resolve './components/dashboard.vue' in '/home/wenjinyu/downloads/test/vue-kanban/src'

On the console

image

At the same time, more information is displayed on the command line

ERROR in ./src/main.js
Module not found: Error: Can't resolve './components/dashboard.vue' in '/home/wenjinyu/downloads/test/vue-kanban/src'
 @ ./src/main.js 6:0-51
 @ multi babel-polyfill ./src/main.js

Information

some useful information

  • Release: Ubuntu 20.04
  • Kernel: 5.4.0-47-generic
  • npm: v6.14.8
  • node: v12.18.4

Can anyone help?

@jojoharry16
Copy link

jojoharry16 commented Sep 30, 2021

I "fixed" this by copying Dashboard.vue and renaming it to dashboard.vue

So your folder should have these 2 files:
Screenshot from 2021-09-30 16-10-00

I'm sure it's an easy fix for the developers, but until then I think this is the best workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants