Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

How can I prevent my node production deployment from installed devDependencies?

I'm running into an issue with the production deployment of my Node app. When I deploy to dev it's fine. When I deploy to production, the build errors on the node-sass package. Based on this SO thread ...
kdub1312's user avatar
  • 905
-2 votes
0 answers
24 views

Can't npm install about anything on my VPS [closed]

This issue just popped up recently, like 20 minutes ago and I have no idea what's causing it. Prior to those 20 minutes, npm install was working just fine. I'm involved currently in web development ...
phoenix56'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
10 views

Esbuild Architecture Mismatch: x64 vs. arm64 Causing Vite Build Failure After Transition from Rosetta 2

Summary of the Problem: Error Message: During the build (triggered via dfx build), Vite (which uses esbuild internally) fails because it detects that the installed esbuild binary is for a different ...
LDK's user avatar
  • 51
0 votes
0 answers
28 views

Why is my npm install resulting in modules not found in npm start?

When I run npm start in my package repository root directory, I'm getting an error that a module is not found. I've confirmed that street_images.js and /@streetmix/export-image/build/index.js are ...
Hugh_Kelley's user avatar
  • 1,040
-4 votes
0 answers
36 views

Unable to get the correct version of npm for node.js [closed]

I downloaded the latest stable version of node.js V.22.14.0 and npm version 5.5.1 was automatically installed. I believe this version of npm is to old. I have uninstalled node.js and reinstalled ...
Richard's user avatar
-4 votes
1 answer
76 views

Cypress on headless mode not able to resolve promises through await calls

I am developing an API testing backend using Cypress with cy.request. I am aware that cy.request natively uses built-in promises (Cypress.Chainable), so there is no need to handle it with JavaScript ...
rangana dilhara's user avatar
-2 votes
0 answers
38 views

I am partaking in a node.js course when I try to install a Node Package I receive the response shown in the image attached below

image showing response The image shows what I have tried and I was expecting to install underscore. Help with this matter would be greatly appreciated. I believe the image shows all the information ...
Richard's user avatar
1 vote
0 answers
45 views

running NPM install command fails on nasm and libcurl errors

I went through all posts i could, installed packages 1 by 1 and even did a clean install of everything starting from nodeJS. The error im getting is: npm warn cleanup Failed to remove some directories ...
MarkedOne's user avatar
-2 votes
0 answers
42 views

npm not recognizing node? despite path being correct

I just installed node (LTS) and let chocolatey install, just rebooted my PC, and tried making a project but npm wont run node?, i checked everything, the paths, reinstalled node several times, ...
Alberto Huarastaca's user avatar
0 votes
1 answer
43 views

npm install - npm Warning of Damaged Lockfile

I am trying to run npm install and am receiving an error of a damaged lockfile: npm warn reify invalid or damaged lockfile detected npm warn reify please re-try this operation once it completes npm ...
sweeney's user avatar
  • 15
-1 votes
1 answer
27 views

The best solution for installing npm modules offline

For describing the situation: we have a Linux server that has access to npm registry and can install all of the dependencies from it. But the network traffic filter doesn't allow access to some files (...
Андрей Дьячков's user avatar
-2 votes
0 answers
39 views

NPM 403 Err Permission permission_denied: read_package [closed]

I am currently facing an issue with the installation of a package from a private registry. I already followed the steps to solve the issue: npm config set, npm login and also generating PAT with a ...
Lemuel Lacanlale's user avatar
0 votes
0 answers
49 views

my node.js is not installed, although in the laravel herd application my node.js status is installed

I am currently learning to use laravel, when I want to install tailwind using the terminal in vs code with the command “npm install tailwindcss @tailwindcss/vite” an error appears “npm : The term 'npm'...
jack Jhonson's user avatar
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
-2 votes
2 answers
128 views

How to make a background bash script pause while an npm build runs?

I'm setting up a new method of deploying my personal react website, which is using vite for bundling. My idea is: I push un-bundled changes from local to remote repo a web hook informs my server (...
Mike Willis's user avatar
  • 1,512
-1 votes
0 answers
67 views

C:\Program Files\nodejs\node.exe: --r= is not allowed in NODE_OPTIONS

I installed Node.js on a new laptop. I cloned my Next.js project from Github and ran npm install for installing node modules, which ran properly. To run my local development server, I am running npm ...
mukunda's user avatar
  • 685
2 votes
1 answer
96 views

Error when build NestJS project: util_1.isObject is not a function

I am rebuilding a NestJS project that I could run in 8 months ago, with base on the Dockerfile below FROM node:alpine as base WORKDIR /usr/src/app RUN apk add --no-cache ffmpeg COPY package*.json ....
bao.le's user avatar
  • 174
-4 votes
0 answers
43 views

Error on GitHub workflow while the command "npm run build" is executed

I'm trying to create the auto-deploy of my React - Node app on a server, but I don't know why the npm run build command for the frontend "compilation" works if I do it with my own SSH ...
Davide Chirichella's user avatar
0 votes
0 answers
42 views

npm on Windows keeps requiring WSL

I am trying to run my NPM projects on Windows, but when I run npm run dev, it keeps asking me to install WSL, even though I don't want to use it. Here’s what happens: C:\{Path}\GitHub\project> npm ...
Saad_Elkarak's user avatar
0 votes
0 answers
149 views

npm Error: Cannot find module './cli/validate-engines.js'

I already have Node.js installed on my device, today in the morning I started a new project with Typescript but found an error when trying to run app.ts, ran the command npm cache clean --force npm ...
Elmer Urbina Meneses's user avatar
0 votes
0 answers
24 views

Gitlab runner kills command

My gitlab runner is supposed to log into my server and trigger a rebuild there: ssh [email protected] -o StrictHostKeyChecking=accept-new "cd /var/www/homepage && git pull origin main &&...
Michel H.'s user avatar
  • 300
-4 votes
0 answers
48 views

npm install results in E404 error with HTTPS - resolved by switching to HTTP registry

I'm new to Node.js and installed nodejs using asdf-vm on my WSL2 ArchLinux environment. When attempting to install the react-icons or any package using npm, I encountered the following error: ❯ npm ...
Cluyverth W.'s user avatar
1 vote
0 answers
55 views

stack Error: Could not find any Visual Studio installation to use even after upgrading node-gyp and installing vs code tool

I have already followed this link node-gyp upgrade and upgraded it to 11.0.0 . But still getting this error when trying to run npm install. stack Error: Could not find any Visual Studio installation ...
Saimuga's user avatar
  • 435
0 votes
0 answers
11 views

Why is my NX synth command failing with EBADF: bad file descriptor, write?

I’m running npx nx synth demo-tenant-workload-infra-assets inside a build container, but it's failing with the following error: npm ERR! code EBADF npm ERR! syscall write npm ERR! errno -9 npm ERR! ...
Yash30389's user avatar
-1 votes
0 answers
24 views

How do I resolve "ERESOLVE unable to resolve dependency tree" error when attempting to create React app using NodeJS? [duplicate]

I am taking a Codecademy full-stack dev course and am attempting to create my first full React application locally per the course's instruction. I have followed all the steps to install NodeJS and NPM ...
Zack Murphy's user avatar
-3 votes
0 answers
60 views

Unable to install the package in the child project

-root - node_modules - packages - migrator - src -index.js - package.json - package.json root(package.json) - { "script" : { "build": "npm run build -...
new coderrrr's user avatar
-1 votes
0 answers
59 views

Vite "spawn EPERM" Error When Running npm run dev on Windows

PS C:\Users\adilr\Desktop\Mega> npm run dev [email protected] dev vite failed to load config from C:\Users\adilr\Desktop\Mega\vite.config.js error when starting dev server: Error: spawn EPERM at ...
ADIL RADIDI's user avatar
0 votes
0 answers
18 views

the error is Cannot read properties of undefined (reading 'random') while trying to get random names of super heroes using the module superheroes

import superheroes from 'superheroes'; console.log(superheroes.default.random()); for this code I got this error (node:1512) ExperimentalWarning: Importing JSON modules is an experimental feature and ...
E-60-Nikhil C K's user avatar
-1 votes
1 answer
36 views

Unable to start React App. Error "Cannot find module 'npm-cli.js'"

I am newbie to react technology and I faced an error while running a react app: I have created demo react app without any additional addons and then I am trying to "npm start" - below error ...
Creative Learner's user avatar
2 votes
0 answers
70 views

How to Disable Terminal Title Change When Running Node or npm Commands

I am using Windows Terminal, and the shell I use doesn't matter. For example, this issue occurs with both PowerShell and Command Prompt. When I start the shell, the Windows Terminal title is set to ...
Fushihara's user avatar
  • 471
0 votes
0 answers
74 views

Can npm workspaces sequence the build of monorepo projects?

I'm trying to figure out how to build multiple typescript projects that have common dependencies. I need to build them so that common dependencies are built before the projects that depend on them are ...
Ole's user avatar
  • 47.2k
1 vote
1 answer
258 views

ENOENT: no such file or directory, open 'node:stream'

we are upgrading from Jest 23 to 26 seeing below error on running jest after the upgrade, even tried install stream package and no luck with that. any help understanding why jest-runtime is not ...
nari447's user avatar
  • 934
0 votes
0 answers
94 views

How do I read Conflicting Peer dependency? Asterisk (*) causing differences?

npm error Found: @types/[email protected] npm error node_modules/@types/react npm error peerOptional @types/react@"*" from @radix-ui/[email protected] npm error node_modules/@radix-ui/react-...
ejlu's user avatar
  • 91
0 votes
0 answers
17 views

Unexpected Application Error in Gitpod: Failed to execute 'removeChild' on 'Node'

I was working on setting up a Payload CMS project by running this command in the Gitpod terminal: npx create-payload-app@latest -t website Soon after executing this, the following error popped up, ...
zwanski's user avatar
  • 11
-1 votes
1 answer
46 views

Why do `npx node -v` and `node -v` return different versions?

I ran these commands and the output confused me: $ npx node -v Need to install the following packages: [email protected] $ node -v v22.13.0 $ npm list | grep node ├── @rollup/[email protected] ├─...
Daniel Kaplan's user avatar
1 vote
1 answer
356 views

Getting ReferenceError: ReadableStream is not defined, in node js v16.15.0

I am using nodejs version v16.15.0. I am trying to use expo CLI. I have installed using command npx create-expo-app@latest DoneWithIt --template blank Installation is successful, however when trying ...
Mishal Harish's user avatar
0 votes
0 answers
28 views

Error when running ./gradlew npm_run_build after upgrading Node.js to version 10.5.0 in gradle

I recently upgraded Node.js to version 10.5.0 in my build.gradle file. However, I am encountering the following errors when running ./gradlew npm_run_build: node_modules/@types/sinon/index.d.ts(1534,...
ravvi's user avatar
  • 137
0 votes
1 answer
44 views

Publish a npm package that contains a Cocoa Framework build

I wrote a node-addon-api module that binds a subset of Syphon-Framework with node. It can be integrated in an Electron app or in a nodejs server. The package in question: node-syphon For this to work, ...
Benoît Lahoz's user avatar
0 votes
0 answers
17 views

DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS DeprecationWarning

npm run dev cause warning in terminal (node:34120) [DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS] DeprecationWarning: The externals-function should be defined like ({context, request}, cb) => { ... } ...
NewBee's user avatar
  • 9
0 votes
0 answers
18 views

NVM downloaded node but does not download npm. Why?

First condition Found in NVM version 1.7 in GitHub node_modules folder is empty Solution: 1.Download and Unzip zip folder from https://nodejs.org/en/download. 2.Open C:\nvm4w\nodejs and Delete the ...
Douper Lim's user avatar
1 vote
1 answer
186 views

Building an APK from expo gives: While resolving: [email protected] npm ERR! Found: [email protected]

I am trying to build an APK from an expo app using eas for android. This is the package.json file: { "name": "sharebuy", "version": "1.0.0", "main&...
roflmoqkz's user avatar
0 votes
0 answers
30 views

How to Update Google OAuth2 Integration for Social Login After Google’s Policy Changes?

I was previously using passport-google-oauth20 in my Node.js application to handle Google social login. Here's a snippet of my implementation: const login_passport = require('passport'); const ...
khem K's user avatar
  • 9
1 vote
0 answers
47 views

npm-prefix.js is not recognized as an internal or external command in Windows 11

Question: I recently installed Node.js from the official Node.js website. However, when I try to check the version of npm or perform any npm-related operations, I encounter the following error: CALL &...
Jai Ganesh's user avatar
1 vote
2 answers
3k views

Trying to create react app with React v19.0.0 but getting error [duplicate]

I am trying to create a react app using React v19.0.0 (latest) but I am receiving an error when installing packages. I will explain step-by-step what I have done. Upgrade react version by running ...
Jason Susanto's user avatar
1 vote
1 answer
52 views

Nuxt ignoring latest version

I tried upgrading nuxt3 vom 3.10 to 3.15. This did not work and I tried to completely remove all npm packages as well as upgrading node using nvm. I tried to remove everything completely with. If ...
Pullover's user avatar
-3 votes
1 answer
46 views

'docker compose up' with NextJS app results in 'The npm ci command can only install with an existing package-lock.json'

Problem Statement: Doing a 'sudo docker compose -f compose/docker-compose.yaml up' on a new VM for a NextJs application docker container, results in: > [... builder 4/6] RUN npm ci: ...
Bryan Carty's user avatar
0 votes
1 answer
45 views

tsx (typescript-execute) imports index.js instead of index.d.ts

I'm trying to set up tsx (typescript-execute) in my project, my package.json is as follows: { "name": "bb-tcg-backend", "version": "1.0.0", "...
Fullaccess 's user avatar
-3 votes
1 answer
229 views

NPX React App unable to resolve dependency tree [duplicate]

when I try to create a react app using npx create-react-app my-app I get the following error: edit: hey, i get downvoted and question was closed because they said this Error in creating new React app ...
aaliyah's user avatar
  • 17
0 votes
0 answers
41 views

Error: Failed to resolve entry for package 'vue-movinglight' in Vite - Need Help Debugging NPM Package Configuration

I have about two years of experience developing with Vue.js, but this is my first time publishing an open-source npm package. Recently, I needed a moving light feature for a project but couldn't find ...
Mr. Dochis's user avatar

1
2 3 4 5
517