Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

^ version specifier is omitted in package.json when installing with explicit range (use pnpm 10.x)

command: pnpm i vue@^3.4 Expected: vue version should be recorded as ^3.4.38. Actual: vue version is saved as 3.4 (missing ^ and resolution-mode is lowest). Additional Info: Tried with --save-prefix=...
hellorayza's user avatar
-3 votes
0 answers
25 views

¿Node.Js not working? Access Denied and It work unexpectedly [closed]

Before yesterday everything was working perfectly, but today when I started to work, for some reason I got VSCODE Access Denied which is strange considering that everything worked fine and without ...
PonnyTheLight's user avatar
0 votes
0 answers
12 views

Preview channels and multiple rollouts in firebase apphosting

In the new firebase service called ‘Firebase Apphosting’ (not firebase hosting), i have two requirements regarding deploying my NextJS 15 app (pnpm based, with env variables and secrets defined): ...
Kombo's user avatar
  • 302
-2 votes
0 answers
38 views

Trying to install ANY JavaScript Module/Package with PNPM ended up Failing

So, recently, i just install NodeJS on my system, i switch to PNPM because NPM is too slow, so i install it using the command: npm i -g pnpm then, i run pnpm -v, it says: 10.5.2, but, problem arise ...
GWLT's user avatar
  • 1
0 votes
1 answer
23 views

Unable to setup supabase repository locally MacOS

I am currently using a MacOS M4 to setup the supabase repository locally. Unfortunately, after following the entire process to setup the repository, I keep encountering the error below using pnpm ...
Antx's user avatar
  • 115
0 votes
0 answers
35 views

Could not load the "sharp" module using the linux-x64 runtime [closed]

I can't manage to get the nodejs sharp library work in production environment. The package is installed in a backend package of my monorepo. The structure of the repo looks like this: my-monorepo/ ├── ...
Christian Rivera's user avatar
1 vote
0 answers
40 views

"Error: packages field is not an array when using pnpm-workspace.yaml in a monorepo setup"

I'm working with a PNPM monorepo setup, and everything was working fine when I was using pnpm.yaml, but after switching to pnpm-workspace.yaml, I’m encountering the following error: ERROR  packages ...
Naga mani kanta manam's user avatar
1 vote
1 answer
61 views

With Syncpack on a turborepo how to set app version dependencies through a package?

In a turborepo with Syncpack setup if I have 10 apps that all use the same 30 dependencies how can I properly build that out in the .syncpackrc file? within the app package.json apps/foo package.json: ...
GʀᴜᴍᴘʏCᴀᴛ's user avatar
-1 votes
0 answers
56 views

Building applications: Monorepo + Turborepo + Dockerfile + Next.js + pnpm

I am having trouble to deploy my applications inside my mono repo. The goal is to build a docker image for each app. The docker building process fails over the step where next is building the ...
Sam's user avatar
  • 21
-4 votes
1 answer
33 views

How to find unused and deprecated packages for an Angular application? [closed]

Is there any way to take the exact list of unused and deprecated packages for an Angular application without using outdated or npm-check or depcheck?
VKD's user avatar
  • 847
0 votes
0 answers
26 views

Why `virtual-store-dir` needs to be unique for each project in `pnpm`

virtual-store-dir The documentation https://pnpm.io/npmrc#virtual-store-dir says: NOTE: the virtual store cannot be shared between several projects. Every project should have its own virtual store (...
TSR's user avatar
  • 20.6k
0 votes
0 answers
27 views

Cannot find module '[email protected]' by pnpm

I tried to migrate an old project from NPM to PNPM, but after running pnpm install, when I try to start the project, I encounter a MODULE_NOT_FOUND error. How can I fix this issue? node:internal/...
J. Hu's user avatar
  • 53
0 votes
1 answer
27 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 ...
0 votes
0 answers
76 views

How to configure Jest properly in a pnpm monorepo with TypeScript, React, and Vite?

In Hello.spec.tsx, Jest is unable to recognize the Test component. This component is located in the ui library within the /libs directory of the monorepo. I’ve tried importing it using the standard ...
Diego Salas's user avatar
-3 votes
0 answers
51 views

I can't run pnpm install

When I tried to run pnpm install, I encountered the following error: $ pnpm install WARN  deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript ...
user28085805's user avatar
2 votes
0 answers
400 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,468
0 votes
0 answers
224 views

Cannot find module '@repo/example' in Turborepo monorepo project

I am working on a turborepo project and I built myself a simple package like in a video but as soon as I type import {} from '@repo/example'; the '@repo/example' part gets highlighted by vscode and it ...
TheWuschelGang 's user avatar
6 votes
3 answers
7k views

After Heroku restart: pnpm: Error: Cannot find matching keyid [closed]

My Heroku-hosted node app stopped working this morning at 6am. In the Heroku console I found a message "Dyno restart" at that time. At the same time, memory usage dropped to 0. Apparently ...
de.'s user avatar
  • 8,527
0 votes
0 answers
38 views

How to keep monorepo deps in sync in JS/TS project?

Is there some smart or "industry standard" way to keep dependencies in sync inside workspaces/modules in a monorepo? Let's say we have following structure in the repository AwesomeProject/ ├─...
zaplec's user avatar
  • 1,819
0 votes
1 answer
43 views

GitHub Actions Upload Artifact "No File Path" from pnpm run build

I am having trouble uploading build artifacts in my GitHub Actions pipeline. The Build Next.js steps work fine, but when I try to upload the .next/ folder as an artifact, I get an error stating that ...
milkbottle0305's user avatar
1 vote
0 answers
64 views

NestJS + Webpack + pnpm workspace Error: Cannot find module

I have pnpm workspace and I want to import it to my nestjs app Webpack compiled successfully, ide don`t show error and I got strange path for module in error Import import { deviceController } from '...
Flip0 's user avatar
  • 11
1 vote
0 answers
149 views

Error pnpm: Symlink path is the same as the target path (Windows)

I've been searching for days how to fix this issue but havent managed to find a solution. The problem: I have to repos: Main Repo and side Repo. I need to use a package from side repo locally inside ...
Luis Guareschi's user avatar
0 votes
3 answers
75 views

Issues with <Image /> and <Link /> from Next.js in a monorepo package (peerDependencies set)

I'm working on a monorepo project where I have multiple packages published to Azure Artifacts. For example: my-organization/ui my-organization/utils The monorepo is structured and works well overall. ...
Zaraki's user avatar
  • 21
0 votes
0 answers
51 views

i am facing problem while building a project using pnpm and prisma...and when i am running the backend then it is giving the error

Server is running on port 3000 C:\Users\rahul\OneDrive\Desktop\MetaVerse-GattherTown\metaverse\apps\http\dist\index.js:26209 throw a && l ? p = Za(c) : l ? p = Ya(c) : u ? p = za(c) : p = Xa(c)...
Rahul Roy's user avatar
0 votes
0 answers
76 views

pnpm monorepo not finding a workspace package

I have a pnpm monorepo I created with two apps and two packages. The apps cannot find a specific package in the workspace even thru it exists. my pnpm-workspace.yaml file packages: - 'apps/staff-...
MappingDataNerdom's user avatar
0 votes
0 answers
84 views

Why is my util package not recognized in my Turborepo?

When I call a function from my utils directory: import {cn} from '@repo/utils' I continue to get the error: Cannot find module '@repo/utils' or its corresponding type declarations.ts(2307) from ...
GʀᴜᴍᴘʏCᴀᴛ's user avatar
1 vote
0 answers
170 views

How to Exclude node_modules and _virtual from dist/ When Building a vite Package for NPM?

I'm working on a monorepo project using pnpm, Turborepo, and Vite to manage multiple packages. One of my packages (@myorg/ui) generates a dist/ folder during the build process, but the build includes ...
Zaraki's user avatar
  • 21
1 vote
1 answer
367 views

ELIFECYCLE Command failed with exit code 1

When I run pnpm run build, the build fails and ends with the error: ' ELIFECYCLE  Command failed with exit code 1.' "info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/...
lodmf ahhdn's user avatar
0 votes
0 answers
34 views

Node package manager (npm) but saves all dependencies in one global node_module

Why is there no alternative to node package manager (npm) which instead of saving the dependences in a local node_modules, it saves the dependences in a global node_modules folder and in the local ...
Space.yg's user avatar
0 votes
0 answers
43 views

pnpm install is failing due to glib-object.h: No such file or directory

We are using Node version 20.14.0 pnpm version 9 "sharp": "^0.31.2" Also added these lines into the pipeline script: name: 📗 Setup Node.js uses: actions/setup-node@v4 with: node-...
Pratim Singha's user avatar
0 votes
0 answers
97 views

Installing multiple versions of PNPM in GitHub Codespaces

Installing multiple versions of PNPM in GitHub Codespaces using Docker container. But by default taking latest PNPM version. In our GitHub Codespaces, we currently invoke a script in the ...
Aruna Godiswaran 's user avatar
1 vote
1 answer
98 views

how to replace npm with pnpm for docker compose for VS Code Dev Containers

Hello there I have this dockerfile with some scripts that will install a nextjs app i want to replce npm with pnpm with no luck Dockerfile FROM node:lts-bullseye # Declare build arguments and set ...
Taste of Leaving's user avatar
0 votes
1 answer
69 views

Nuxt Page Stuck in Infinite Loading with Subsequent 404 Errors and sock errors

Environment OS: macOS 14.4 (Apple M3 Pro) Node.js: v20.18.1 Package Manager: pnpm 9.15.1 Nuxt Version: 3.16.0 Memory: 18 GB Devbox Version: 0.13.7 Description In a monorepo setup using devbox, the ...
2-D Godoy's user avatar
2 votes
0 answers
25 views

Bundling external types when publishing an NPM package

Two scenarios: A. A monorepo such as a PNPM workspace with a backend and a client. The backend will never be published as a package, being internal. The client, that will be published, uses types from ...
jjh's user avatar
  • 21
0 votes
0 answers
47 views

Eclipse Scout - pnpm install failure in Eclipse IDE

I'm experiencing some difficulty with getting the helloscout demo application to work. I'm using the Eclipse IDE and I was following the steps outlined in the Hello Scout Classic guide on https://...
JDaniel's user avatar
  • 102
0 votes
0 answers
36 views

What lifecycle scripts should be defined in package.json to enable using my package as a `git:` dependency for all package managers?

Currently using my package as a git: dependency doesn't work because we use TypeScript and generated JS files aren't in the Git repo. https://docs.npmjs.com/cli/v11/using-npm/scripts says prepare ...
Alexey Romanov's user avatar
0 votes
0 answers
36 views

"pnpm install" failing with ERR_PNPM_FETCH_304 on AWS CodeBuild, works fine locally

I’m facing an issue where pnpm install keeps failing on AWS CodeBuild with errors like: [Container] 2024/12/17 14:35:11.133098 Running command pnpm install --no-frozen-lockfile --no-cache --loglevel ...
Sanskar Dahiya's user avatar
1 vote
0 answers
94 views

How can I get pm2 to report memory usage on the actual process?

When I run something like pm2 start app.js, I get the correct memory consumption. The PID in pm2 ls corresponds to the actual app's PID when using btop (a flavor of top/htop). But when I run pm2 start ...
Baran Elitez's user avatar
0 votes
1 answer
196 views

Pnpm turbo repo command failed with exit code 3221225781.Error while loading shared libraries

I can't run my turbo repo in development mode due to this error. I tried changing node and pnpm version according to my project package.json file and ensured they are compatible with each other but no ...
Muhammed Jamal Mustafa's user avatar
0 votes
3 answers
743 views

"EPERM: operation not permitted, unlink ''<path-to-pnpm>\pnpm.EXE" when trying to update pnpm

I'm using pnpm 9.12.3 and trying to update to the newest version by running the command: pnpm self-update, but I get the following error: WARN  The target bin directory already contains an exe called ...
FluffyBike's user avatar
  • 2,422
1 vote
0 answers
60 views

Why does my private GitLab package return "404 Not Found" when trying to install it in a monorepo using pnpm?

I am working on a monorepo project using nx and pnpm. The project contains multiple packages, including @my-org/package1 and @my-org/package2. I have set up a private GitLab package registry to ...
Aqeel Raiee's user avatar
0 votes
1 answer
79 views

`pnpm audit` shows a vulnerability; `pnpm why` doesn't list it

I'm trying to resolve a security vulnerability Node packages. The vulnerability is reported by both pnpm and Dependabot. The package manager is pnpm on this repo. pnpm audit shows: ┌─────────────────...
sennett's user avatar
  • 8,444
2 votes
0 answers
62 views

Pass argument to npm scripts with pnpm

I have this setup with npm and webpack "start:env": "npm-run-all copy lint \"webpack:dev -- --config webpack/{1}.config.js\" --", I'm calling this like so ╰─ npm run ...
Alex Ironside's user avatar
0 votes
1 answer
207 views

How to use next/image inside react-vite application efficiently

Can i use next/image outside of next js app for example in vite-react application. when I install pnpm install next inside vite-react application, installtion is successful, but its Image component (...
Abdullah Mufti's user avatar
0 votes
1 answer
296 views

How to pnpm install package from deno jsr?

I have pnpm-managed monorepo workspace. I want to install package which was published on deno repo using jsr. How would I do that? NOTE: previously I've been using npm and jsr has workaround for that ...
Dmitry Kaigorodov's user avatar
0 votes
1 answer
251 views

Failed to import WASM using ?url in Vite Project

Background: I am new to Vite and recently I am trying to build a Markdown render project which receives Markdown format string from outside and renders GFM HTML. I choosed md4w as the converter and ...
Isaiah Chan's user avatar
0 votes
1 answer
204 views

pnpm locally referenced modules contain more than just dist folder contents

I have a very simple monorepo using a pnpm workspace with an api folder and a packages folder. My packages folder contains a "common" package, which has been added to the api project. The ...
Tim Hardy's user avatar
  • 1,737
2 votes
2 answers
2k views

Why I am getting Slow File System detected error in my Next Js 15 project?

I was developing a website in Next Js 15 using pnpm on my old PC running Linux Mint. While starting the development server using pnpm dev, I get this warning: Slow filesystem detected. If /home/user/...
bose's user avatar
  • 57
1 vote
1 answer
167 views

Dockerfile "failed to solve: cannot copy to non-directory"

I have a Dockerfile in my frontend folder with the following code: FROM node:20-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable WORKDIR /app ...
Julia Langford's user avatar
0 votes
1 answer
271 views

Why is the node_modules link for my pnpm workspace sometimes the local package's root and sometime its dist folder?

I'm having a frustrating problem that I'd like to better understand. I've just switched from yarn classic to pnpm. Sometimes my build fails because one of my local package's node_modules link points ...
Novaterata's user avatar
  • 4,805

1
2 3 4 5
12