Use pnpm instead of npm or yarn for JavaScript & TypeScript

  Рет қаралды 9,941

Zaiste Programming

Zaiste Programming

Күн бұрын

Пікірлер: 10
@Metruzanca
@Metruzanca 2 жыл бұрын
Great quick breakdown of features & differences!
@codernerd7076
@codernerd7076 2 жыл бұрын
Tried to use it but my VSCODE not found the packages and give me 100s of errors in TypeScript 😢
@zaisteprogramming
@zaisteprogramming 2 жыл бұрын
Hmm... you mean you used pnpm via the built-in VS Code terminal? what kind of errors you got?
@codernerd7076
@codernerd7076 2 жыл бұрын
@@zaisteprogramming nop just opened my project with VSCode and it did go crazy with not found errors maybe I forgot something need to try again 😞
@zkochan
@zkochan 2 жыл бұрын
@@codernerd7076 you can try "pnpm install --shamefully-hoist". Or ask for help in the pnpm discord chatroom
@AngelHdzMultimedia
@AngelHdzMultimedia 2 жыл бұрын
So odd. I installed it globally with npm i -g pnpm, and it has been a pleasure to work with it, so fast! When you get errors, delete the node_modules and the pnpm-lock.yaml, then run pnpm install --shamefully-hoist. The --shamefully-hoist flag is discussed in the docs (it uses sym links), and it will surely solve your "not found" issues. Some packages don't work well with it, like Nuxt 3, but just adding the flag solves everything. I've tried it with a vanilla TypeScript project, Node + Express + TypeScript project, NestJS + TypeScript project, Vue 3 + TypeScript project, Quasar CLI + Vite + Vue 3 + TypeScript project. Hope you had solved it, or if not, hope you can solve it now.
@count_of_pizza
@count_of_pizza 2 жыл бұрын
If other people in my project are using yarn, can start using pnpm by myself?
@suhailakhtar1093
@suhailakhtar1093 2 жыл бұрын
yes
@hodev632
@hodev632 2 жыл бұрын
Its really good idea .But i found npm fast enough. npm became much faster in recent version that i found it faster than yarn
@ticua07
@ticua07 2 жыл бұрын
You still install the same package every time, a lot of space is used, a small project with a big framework can use up to 300mb
How JavaScript package managers work: npm vs. yarn vs. pnpm vs. npx
11:40
Software Developer Diaries
Рет қаралды 7 М.
Why I Switched From NPM/Yarn to PNPM And Why You Should Too!
13:54
Это было очень близко...
00:10
Аришнев
Рет қаралды 5 МЛН
How to whistle ?? 😱😱
00:31
Tibo InShape
Рет қаралды 17 МЛН
哈哈大家为了进去也是想尽办法!#火影忍者 #佐助 #家庭
00:33
火影忍者一家
Рет қаралды 130 МЛН
You're (Probably) Using Prettier Wrong
6:04
Theo - t3․gg
Рет қаралды 111 М.
Yarn Package Manager Crash Course
22:43
Traversy Media
Рет қаралды 110 М.
Pnpm vs Npm vs Yarn - What to Choose?
8:23
Monsterlessons Academy
Рет қаралды 14 М.
I've Been Ignorant For Too Long: PNPM Is Really Great!
11:36
Frontend FYI – by Jeroen
Рет қаралды 2 М.
What Is pnpm?
8:46
Syntax
Рет қаралды 28 М.
Remix is a NEW JavaScript framework you MUST try
9:10
Fireship
Рет қаралды 514 М.
Это было очень близко...
00:10
Аришнев
Рет қаралды 5 МЛН