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

Module not found: Error #319

Closed
mydnicq opened this issue Jan 31, 2017 · 2 comments
Closed

Module not found: Error #319

mydnicq opened this issue Jan 31, 2017 · 2 comments

Comments

@mydnicq
Copy link

mydnicq commented Jan 31, 2017

My project has the following folder/files structure:


src/
|_ app.vue

If I run

vue build ./src/app.vue --prod

I get this error:

ERROR in /Users/tadej/.nvm/versions/node/v7.2.0/lib/~/vue-cli/lib/default-entry.es6
Module not found: Error: Can't resolve 'your-tasteful-component' in '/Users/tadej/.nvm/versions/node/v7.2.0/lib/node_modules/vue-cli/lib'

The error doesn't exist if app.vue is at the root of the project.

@egoist
Copy link
Collaborator

egoist commented Jan 31, 2017

temp fix: vue build src/app.vue --prod

@mydnicq
Copy link
Author

mydnicq commented Jan 31, 2017

Thx. It works!

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