npm Questions

1

Here are some related questions: When using yarn workspaces, how to force a package to be installed in the relative node_modules? NPM 7 Workspaces - Multiple node_modules? Should I have to use no-h...
Oubre asked 14/2, 2023 at 10:13

6

Solved

I am following this tutorial to create a nest project. I have installed Nest CLI using this command: npm i -g @nestjs/cli I have checked the list of packages installed locally using the follow...
Libb asked 30/7, 2019 at 7:40

7

Solved

I have an existing project which I lately installed on a new equipment. It is a Laravel + vue project. When I run npm run watch I get the following error: > development > cross-env NODE_ENV=d...
Volny asked 4/1, 2022 at 16:35

4

I'm trying to run the build of my Angular project using NX in the CI with GitHub Actions, but it fails with errors such as: npm ERR! code 1 npm ERR! path /runner/_work/myapp/node_modules/nx npm ERR...
Saliferous asked 13/2 at 15:18

10

Solved

I try to publish public package on npm but I have this error npm ERR! code E403 npm ERR! 403 403 Forbidden - PUT https://registry.npmjs.org/@clem_b%2fweather - Forbidden npm ERR! 403 In most cases,...
Ret asked 6/11, 2020 at 16:29

7

I would like to switch to using PNPM over NPM for the usual reasons. Unfortunately cut and paste, or muscle memory takes over sometimes and I will accidentally use NPM to install a package in a pro...
Sponge asked 13/3, 2022 at 17:11

7

Solved

I use parcel to deploy my web projects and on one occasion I got this error below while trying to deploy the page. I tried several solutions I saw online but none worked for me, I didn't even under...
Weise asked 19/7, 2022 at 9:37

8

Solved

I'm using the npm module punycode in my Angular project. VsCode tells me it's deprecated and https://nodejs.org/api/punycode.html#punycode_punycode confirms: The version of the punycode module bun...
Tohubohu asked 13/8, 2021 at 14:58

23

Solved

I'm trying to install Gulp.js and when I write npm install I get this issue: npm ERR! code 1 npm ERR! path D:\www\wegrow\node_modules\node-sass npm ERR! command failed npm ERR! command C:\Windows\s...
Lab asked 5/5, 2021 at 10:45

5

Solved

I recently update npm and now, when I run npm start, This message shows up: Some of your project's dependencies are not compatible with currently installed expo package version: - @react-native-c...
Retinoscopy asked 13/5, 2020 at 22:9

3

my npm -g works perfectly but i really dont know why my local npm doesn't work npm ERR! code EACCES npm ERR! syscall open npm ERR! path /home/user/express/todoapp-api/package-lock.json npm ERR! err...
Superimposed asked 16/4, 2022 at 9:56

4

Solved

Related: single node_modules folder for multiple projects If npm install -g everything is not recommended, and I do not want to link individual modules, can I possibly symlink <some project>...
Valorize asked 27/3, 2016 at 1:7

7

I am running Node 16.13.2 LTS with Visual Studio 2022. During the installation of a package, node-gyp is triggered and fails. npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node build.js || ...
Prejudice asked 21/1, 2022 at 11:57

3

Is there a way to check if a package-lock.json file is compatible with package.json without running npm install? Compatible means the versions specified package.json can be fulfilled by package-loc...
Medford asked 18/9, 2019 at 18:21

8

Solved

I kind of rushed into creating a React app based on a tutorial that used yarn. Now I'm going to re-create the app from scratch because I'm not satisfied with the reactstrap library, and I'd like to...
Expendable asked 21/5, 2020 at 15:53

15

when I try to run npm install it stop at this error [..................] | idealTree:regal: sill idealTree buildDeps I have tried for fix it for a long time and I tried several ways but it was n...
Zobkiw asked 12/1, 2022 at 8:47

9

I recently ran an npm update that broke my Vue app. As a result, I am trying to revert my server to the previous version of Node/npm that it was using. However, when I run nvm ls I get the followin...
Achromatism asked 25/5, 2022 at 10:32

3

Solved

I've been using fontawesome with no issues for months. Today, I started seeing this error whenever I tried to push my app to production. error An unexpected error occurred: "https://npm.fontaw...
Born asked 4/5, 2022 at 1:47

3

Solved

The pnpm package manager offers three commands that are alternatives for npm's npx command. These are pnpm create, pnpx and pnpm dlx. All three seem to do the same thing. But what are the differenc...
Willey asked 20/8, 2022 at 14:55

7

Solved

I have an AWS EC2 that is just for keeping my Next.js client side running (there is no backend for it right now). Currently if I go into the terminal and enter npm run develop, the site runs perfec...
Crayon asked 14/12, 2021 at 17:5

3

I use vite on react, and when i use yarn to "live server" my project two new files are created, .pnp.loader.mjs and .pnp.cjs. What is the purpose of this files? I never see those files, a...
Ventriloquism asked 30/12, 2022 at 4:12

7

Solved

I am trying to create a simple SSR powered project using express + react. To do this, I need to simultaneously watch frontend and backend scripts during development. The goal here is to use express...
Peters asked 13/7, 2022 at 19:33

7

Solved

I created an index.js, index.html and package.json file and I wanted to add express. When I write 'npm install express' in the terminal, I'm getting the error below. So far, I tried 'sudo npm insta...
Nervous asked 1/2, 2020 at 19:3

13

Solved

I'm experiencing an issue where Visual Studio Code in Windows 10 is not able to detect globally installed NPM packages within the Integrated Terminal. For example, if the windows command prompt I ...
Starve asked 27/7, 2017 at 15:14

10

Solved

I just installed node v9.11.1 when I try to use npm I keep getting the following error: npm WARN npm npm does not support Node.js v9.11.1 npm WARN npm You should probably upgrade to a newer versi...
Montagu asked 10/4, 2018 at 7:57

© 2022 - 2024 — McMap. All rights reserved.