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

Error when trying to use vue example #533

Open
dioubernardo opened this issue Dec 13, 2024 · 3 comments
Open

Error when trying to use vue example #533

dioubernardo opened this issue Dec 13, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@dioubernardo
Copy link

git clone https://github.com/twbs/examples.git
cd examples/vue/
npm install

npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vitejs/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR! vue@"file:" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"^3.2.25" from @vitejs/[email protected]
npm ERR! node_modules/@vitejs/plugin-vue
npm ERR! dev @vitejs/plugin-vue@"^5.1.4" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/vue
npm ERR! peer vue@"^3.2.25" from @vitejs/[email protected]
npm ERR! node_modules/@vitejs/plugin-vue
npm ERR! dev @vitejs/plugin-vue@"^5.1.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

@julien-deramond
Copy link
Member

Hello @dioubernardo
Just tried the same manipulation and it works on my side. It also works directly in StackBlitz: https://stackblitz.com/github/twbs/examples/tree/main/vue?file=index.html.
Maybe you're using an old version of Node/npm?

@dioubernardo
Copy link
Author

In Windows 10

node --version
v22.12.0

npm --version
10.2.5

@julien-deramond
Copy link
Member

I don't have a Windows environment set up, but perhaps @louismaximepiton or another user could help by trying to reproduce the issue.

@julien-deramond julien-deramond added the help wanted Extra attention is needed label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants