Skip to content

Module not found: Error #319

Closed
Closed
@mydnicq

Description

@mydnicq

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions