question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm instead of pnpm

See original GitHub issue

I tried using npm install instead of pnpm i

I’m getting some weird errors. Is there something that specifically requires pnpm?

Using node@17.0.1

npm install 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: undefined@undefined
npm ERR! Found: @vueuse/head@0.6.0
npm ERR! node_modules/@vueuse/head
npm ERR!   @vueuse/head@"^0.6.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @vueuse/head@"^0.5.1" from vite-ssg@0.15.5
npm ERR! node_modules/vite-ssg
npm ERR!   dev vite-ssg@"^0.15.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.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
TechAkayycommented, Nov 22, 2021

Please support npm too as it comes default with node… would be great to keep this template agnostic of package managers, especially when it has so much following and amazing…

0reactions
MrSunshynecommented, Oct 25, 2021

@userquin i tried latest node version = 17 as specified in the description. Same error with node@12.x.x

Read more comments on GitHub >

github_iconTop Results From Across the Web

pnpm vs npm
On the other hand, pnpm manages node_modules by using hard linking and symbolic linking to a global on-disk content-addressable store. This nets you...
Read more >
Why you should prefer using pnpm over npm and yarn? | refine
pnpm is a drop-in replacement for npm. It is built on top of npm and is much faster and more efficient than its...
Read more >
JavaScript Package Managers: NPM Vs YARN Vs PNPM
PNPM: PNPM is 3 times faster and more efficient than NPM. With both cold and hot cache, PNPM is faster than Yarn. Pnpm...
Read more >
Stop Using NPM/Yarn. Use PNPM Instead - Bits and Pieces
pnpm gets its name from performance npm, and it really does. It performs well and solves some of the current issues with Node.js...
Read more >
JavaScript package managers compared: npm, Yarn, or pnpm?
pnpm looks like npm at first because their CLI usage is similar, but managing dependencies is much different; pnpm's method leads to better ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found