558 questions
0
votes
1
answer
33
views
How to share packages between apps in pnpm monorepo
I'm extremley confused with how monorepos work, I want to build an app with next.js and sanity studio so i have 2 folders
next
studio
both uses some similar packages like
react
react-dom
@types/react
@...
1
vote
0
answers
45
views
How to properly manage pnpm link overrides
I recently switched to pnpm because of its superior support for linking packages from a local dependency, using (for example):
// package.json
{
"pnpm": {
"overrides": {
...
1
vote
0
answers
40
views
NestJS UnknownDependenciesException in some services in monorepo after NestJS update
I'm experiencing a problem within my pnpm+nx based monorepo. I updated nestJS from Version 7 to 11. Since there are quiet a few versions between those two I made sure to update the dependencies like ...
-1
votes
0
answers
36
views
Expo GitHub Actions build fails with "Use pnpm install for installation in this project" — how to use pnpm instead of npm?
I'm trying to build a React Native app using Expo via GitHub Actions, but I'm running into an issue where the Expo build process tries to use npm install by default.
However, my project uses pnpm as ...
1
vote
0
answers
33
views
Configuring a pnpm workspace package to work both locally and exported
I'm trying to get a pnpm workspace package to work how I assumed they would and I've been unable to find examples.
I have a package that exists within a pnpm monorepo that I want to be able to use ...
0
votes
1
answer
59
views
Deploying and running Next.JS static site on Azure Linux Web App
I have provisioned a Linux P1V3 app service plan and created an app service. It is running NodeJS 20. All this is via Terraform.
A developer has given me their NextJS website repo which uses pnpm, ...
-1
votes
0
answers
37
views
How to run ESLint on Expo with pnpm?
How do I get this to run? I'm coding a React Native TS app with Expo and pnpm, but I don't seem to be able to run ESLint.
I'm trying to run pnpx expo lint, it installs ESLint but doesn't run. I get ...
0
votes
1
answer
42
views
trigger.dev init with pnpm -- used npm for installing trigger instead
I try to use trigger.dev's CLI to init my project but for some reason, it keeps using npm for installation (npm install -D @trigger.dev/build@latest) and running into dependency problems.
When I just ...
1
vote
0
answers
41
views
What scripts will be executed when running pnpm build-site from TypeScript-Website
I don't understand the build-site logic defined in the TypeScript-Website` project.
When running "pnpm build-site" in the TypeScript-Website project, it will run: "build-site": &...
0
votes
1
answer
113
views
The requested module '@sveltejs/kit/vite' does not provide an export named 'vitePreprocess'
I am getting an error when starting the dev server/building the application:
import { vitePreprocess } from '@sveltejs/kit/vite'
^^^^^^^^^^^^^^
SyntaxError: The requested module '@sveltejs/...
0
votes
1
answer
42
views
React-Admin Dependency Issue in Turborepo Monorepo: MUI, emotion and etc... Not Resolved
I’m using a monorepo managed by Turborepo, and I recently moved my React-Admin project into it. In my standalone React-Admin setup, I didn’t need to manually install MUI (@mui/material) because it’s a ...
0
votes
1
answer
58
views
NixOS: Installing a package which uses `prebuild-install` in `mkDerivation` with PNPM
I want to install a javascript application on nixos that uses better-sqlite3 as a dependency, using pnpm as a package manager. better-sqlite3 uses prebuild-install, which downloads pre-compiled ...
0
votes
1
answer
102
views
TypeScript errors when using shared package from pnpm workspace in Google Cloud Functions
Problem
I have a pnpm workspace monorepo with the following structure:
A shared tsconfig package
A shared database package
A NextJS app
A new google cloud function app
While the shared database ...
0
votes
0
answers
40
views
Facing issue using PNPM workspace with turborepo
when running pnpm install it stucks or fails at installing script specifically sharp
and pnpm dev or any other similar commmand is also not working simply just show what that command is about in ...
0
votes
1
answer
154
views
Prettier plugin not resolved when using GitHub package with pnpm, but works with npm
I’ve got a GitHub package for my Prettier config that I use across a bunch of my projects. The config uses a plugin, and when I install the package using pnpm, it puts the plugin inside the .pnpm ...