Skip to content

Issues with vue #831

@zkochan

Description

@zkochan

temporary workaround:

Create a .npmrc in the root of your project with the following content:

shamefully-flatten=true

reinstall your node_modules.


Posted by @birchb in #532 (comment)

Initializing a new vue project using vue-cli:
vue init webpack pnpm-test
and running with
pnpm run dev
results in the following error:

This dependency was not found:

* vue-hot-reload-api in ./src/App.vue, ./~/.registry.npmjs.org/vue-loader/11.3.4/~/vue-loader/lib/template-compiler?{"id":"data-v-59778c66"}!./~/.registry.npmjs.org/vue-loader/11.3.4/~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue and 2 others

To install it, you can run: npm install --save vue-hot-reload-api

After running:

pnpm install --save vue-hot-reload-api

the dev server complies and loads correct.

EDIT: Upon further review, vue-style-loader appears to also result in an error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions