npm Questions

4

Solved

When I deploy my project to Vercel, the build fails with this error: ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up-to-date with packag...
Baklava asked 9/8, 2023 at 16:22

2

I'm encountering random occurrences of the .next/BUILD_ID file not being generated on a successful build. The issues started 3 days ago and I've been rebuilding the same commit multiple times to tr...
Rootstock asked 26/6, 2023 at 4:21

5

Solved

I'm in a research to find a way to take a screenshot of a window using Node.js, and I'm trying to do this with node-ffi, but I don't know how... at a time I'm stuck here: var ffi = require('ffi');...
Asphyxiant asked 27/3, 2017 at 0:47

2

Solved

It's my first time using webpack to compile my scss. I'm trying to start it but I get an error. It says: Field 'browser' doesn't contain a valid alias configuration And also: Module not Found: Err...
Haystack asked 22/9, 2021 at 21:48

3

Solved

I've the following index.ts: import { User } from "./datatypes" import express from 'express'; console.log("hello world") This is my package.json: { "name": "...
Floppy asked 28/3, 2022 at 7:21

2

Solved

Question updated I currently add plugins to my cordova project using the command cordova plugin add x. I believe this uses npm in the background. Does anyone have any idea how I can switch npm o...
Lectureship asked 13/12, 2016 at 16:2

9

Solved

I'm trying to install sequelize-cli in my Mac OS 10.12.6. In Terminal, I did npm install -g sequelize-cli I got npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or...
Vanish asked 30/8, 2017 at 23:54

6

Solved

I am trying to download mongoose into my node.js project via npm. The command is npm install mongoose. However, this leads to the below output, and eventually leads to an error. The only things i...
Lalitta asked 3/10, 2013 at 4:43

3

Solved

I have tried to install ionic by doing npm install ionic ionic start myapp blank does not work and since then any npm commands tells me : $ npm config node:internal/modules/cjs/loader:927 throw er...
Regina asked 16/5, 2021 at 17:23

5

I don't know what's going on I am making a frontend using vite + react for my mern project and suddenly starts encountering this error. Error: Module "events" has been externalized for br...
Catchings asked 1/8, 2022 at 9:29

2

Before I configure renovate to work with my Azure pipeline, how can I run npx renovate locally to check does it work as I expect and does my config file is well configured. I'm trying with npx reno...
Thrashing asked 25/12, 2023 at 16:53

11

I'm running Pop!_OS (Ubuntu) 20.04. When I try to add sqlite3 to my dependencies on my nodejs project, I get this wall of warnings: npm WARN deprecated [email protected]: request has been depr...
Nahshun asked 17/1, 2021 at 6:45

6

I am getting this error while starting my node js app in my cpanel. RangeError: WebAssembly.instantiate(): Out of memory: wasm memory at internal/deps/cjs-module-lexer/dist/lexer.js:1:33573 but wh...
Schwa asked 31/8, 2021 at 1:0

8

Solved

everytime when I run any npx command it gives me the same error. Except when I run: npx -v then it gives me the version: 9.2.0 here is the error: npm ERR! code ENOENT npm ERR! syscall lstat npm ERR...
Teishateixeira asked 5/1, 2023 at 12:46

9

I just downloaded node but npm is not working. whenever I use a npm comman I get Error: cannot find module 'strip-ansi'.
Argon asked 30/8, 2016 at 16:12

2

Can't figure this out for quite a piece of time. Can't find answer on the web either. My CI tool is Jenkins. Source of code is Git. A build trigger is another build stability. Plugin manager says ...
Complemental asked 6/10, 2016 at 13:7

2

I use a lot of private node packages (stored on my personal github repositories) in my projects: "devDependencies": { ... "my-package": "github:username/my-package#master...
Botsford asked 13/3, 2021 at 8:33

7

I'm developing app using JS and Vue.js and get error on line: import Vue from 'vue' I'm getting this: Uncaught SyntaxError: The requested module '/node_modules/.vite/vue.js?v=6dba2ea6' does not p...
Coenocyte asked 24/12, 2021 at 18:19

4

Solved

I usually write Dockerfiles for Java / Go applications and it's the first time I have encountered a situation where I have to write a Dockerfile for an already existing (and production running) Nod...
Creaky asked 11/1, 2020 at 11:33

7

When I run npm run dev in my nextjs project I get the following error: .../node_modules/next/dist/server/web/spec-extension/request.js:28 class NextRequest extends Request { ^ ReferenceError: Req...
Extenuate asked 29/10, 2023 at 15:21

8

Solved

Whenever I start Expo Go with the expo start command, this error appears : Error: Cannot find module 'metro-core' Require stack: - /usr/local/lib/node_modules/expo/node_modules/@expo/cli/build/src/...
Rickettsia asked 27/8, 2022 at 9:32

8

I'm using windows 8.1 x64 with all updates. I was using nodejs 8.9.1 - I took an error on command "npm -v". So I uninstalled this version and install 8.9.3. It gave me same error on the command. A...
Prut asked 24/12, 2017 at 16:14

5

Solved

It halts when using npm to install dependencies for node.js applications. But works without any problem outside China. Who know ways to make it works beside VPN/SSH channel. $ npm install npm htt...
Moersch asked 31/3, 2014 at 14:33

3

Solved

I have a typescript project that uses paths for imports. For example: "paths": { "@example/*": ["./src/*"], } Thus the project can import files directly from using statement like: import { fo...
Surat asked 16/7, 2018 at 2:13

27

Solved

When running sudo npm i sharp --save I get the following errors: > [email protected] install /home/server/node_modules/sharp > (node install/libvips && node install/dll-copy &am...
Litch asked 28/1, 2019 at 20:38

© 2022 - 2024 — McMap. All rights reserved.