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

Vue 2 examples won't run #328

Open
5 tasks done
bmulholland opened this issue Nov 20, 2023 · 0 comments
Open
5 tasks done

Vue 2 examples won't run #328

bmulholland opened this issue Nov 20, 2023 · 0 comments

Comments

@bmulholland
Copy link

bmulholland commented Nov 20, 2023

Describe the bug

I'm trying to create a minimal repro for another bug, as requested. I'm trying to start with one of the examples from this repo and they won't work.

To repro:

  1. Clone this repro
  2. Build repo
  3. cd to examples for vue2 vite of vue cli
  4. pnpm install
  5. pnpm dev

This errors out:
Vue packages version mismatch:

This may cause things to work incorrectly. Make sure to use the same version for both.
If you are using vue-loader@>=10.0, simply update vue-template-compiler.
If you are using vue-loader@<10.0 or vueify, re-installing vue-loader/vueify should bump vue-template-compiler to the latest.

  at Object.<anonymous> (/Users/bmulholland/dev/recital/repros/vue2-icon-events/node_modules/.pnpm/[email protected]/node_modules/vue-template-compiler/index.js:10:9)
  at Module._compile (node:internal/modules/cjs/loader:1241:14)
  at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
  at Module.load (node:internal/modules/cjs/loader:1091:32)
  at Module._load (node:internal/modules/cjs/loader:938:12)
  at cjsLoader (node:internal/modules/esm/translators:284:17)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:234:7)
  at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
  at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
  at async importModule (file:///Users/bmulholland/dev/recital/repros/vue2-icon-events/node_modules/.pnpm/[email protected]/node_modules/local-pkg/dist/index.mjs:303:13)

Reproduction

this repo

System Info

System:
    OS: macOS 14.1.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 255.94 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.9.0 - ~/.asdf/installs/nodejs/20.9.0/bin/node
    npm: 10.2.4 - ~/.asdf/plugins/nodejs/shims/npm
    Watchman: 2023.11.13.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 119.0.6045.159
    Edge: 119.0.2151.72
    Firefox: 119.0.1
    Safari: 17.1

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
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

1 participant