Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
50 views

pnpm call fails being the default build task in VS code

I've got recently stuck with a sudden problem I don't understand. Context: I do have a monorepo with a bunch of TS projects developed via VS Code. Using pnpm as the package manager. I've tried to set ...
2 votes
0 answers
593 views

pnpm CLI is missing for VSCode inegrated terminal but not for MacOS default terminal

I recently changed my pnpm and node versions. After changing, my VSCode integrated terminal is refusing to recognise any pnpm CLI files. I get the following error when I try to run any command ...
crevulus's user avatar
  • 2,518
10 votes
2 answers
2k views

package-lock.json keeps getting generated automatically despite using pnpm

I'm using pnpm for package management in my project and VS code editor. However, every time I save changes to package.json, a package-lock.json file gets automatically generated, even though I'm not ...
zain ul din's user avatar
1 vote
1 answer
584 views

pnpm in a Visual Studio Code devcontainer - how to deal with different container OS versions?

After years in Python development, I am diving back into JS/TS for Shopify app development. Their starter template is a TypeScript/JavaScript app with Remix, with npm, yarn or pnpm as build tools. I ...
andreas's user avatar
  • 1,606
0 votes
1 answer
691 views

Vs code autocomplete not recognizing tsconfig paths for node_modules with custom export rules

I am working in a pnpm workspace setup. The folder structure looks like the following PNPM-WORKSPACE lib/package.json lib/generated/a.js app/tsconfig.json app/src/b.js The package.json in the library ...
Abhirup Pal's user avatar
0 votes
1 answer
191 views

VS Code missing docs/intellisense for version 6.5.0 of @mui/x-date-pickers

With "@mui/x-date-pickers": "^5.0.20": Shows this panel with useful info, and other typescript types and stuff. With "@mui/x-date-pickers": "^6.5.0": Shows ...
Nathan Tew's user avatar
0 votes
0 answers
1k views

How do I set up pnpm on linux to allow typescript upgrade?

I have a vite/vue/typescript project. VSCode is telling me to upgrade Typescript because of a bug. I've been trying to do that, but it's not working, and seems to have revealed a problem in my pnpm ...
jrefior's user avatar
  • 4,431
0 votes
2 answers
2k views

On Windows, how to make VSCode play nicely with pnpm through WSL

I have a project that uses pnpm for dependency management. Some of the code requires the code be run on a Unix like system. Using WSL allows all scripts to work perfectly. However, VSCode will not be ...
Milk's user avatar
  • 2,657
1 vote
1 answer
2k views

VSCode typescript autosuggestion broken after migration to pnpm

Setup We have a monorepo and recently we decided to migrate from yarn to pnpm. Node version: 14.20.0 pnpm version: 7.9.5 Typescript version: 4.4.2 After migrating to pnpm I updated the package manager ...
pkyriazo's user avatar
  • 111
50 votes
3 answers
80k views

How to specify "packageManager" in package.json

As per https://nodejs.org/dist/latest-v16.x/docs/api/all.html#all_packages_packagemanager We can specify package manager from the list of supported package managers. However, the VS code complains ...
Adarsh Madrecha's user avatar