Skip to main content

Questions tagged [npm]

npm is the package manager shipped with Node.js. It can be used to install and publish CommonJS and ECMAScript modules, jQuery plugins, reusable JavaScript code (libraries), JavaScript-based CLI programs, and more.

0 votes
0 answers
7 views

get error in installing next@canary npm error peer react@"19.0.0-rc.0" from [email protected]

I have problem with enable ppr in nextjs 14 i got some error in installing next@canary i try to install next@canary npm i next@canary npm error code ERESOLVE npm error ERESOLVE unable to resolve ...
mostafa's user avatar
0 votes
0 answers
9 views

Can't startup expo project from terminal on my Mac

Command prompt npx create expo-app returns this error: npm ERR! could not determine executable to run npm ERR! A complete log of this run can be found in: /Users/baguma/.npm/_logs/2024-07-...
BeardlessDev's user avatar
-1 votes
0 answers
12 views

Getting net::ERR_ABORTED 404 (Not Found) at http://localhost:5173/@vite/client in vite project

I have set up a Vite project for vuejs, following the quick start guide to learn the workflow of application development. However, upon launching the app on chrome (or any other browser for that ...
Amittras Pal's user avatar
0 votes
0 answers
23 views

running npm in jenkins gives different output

I made a pipeline where the script would clone a git repo and build the application in server where jenkins was hosted . I verified the node and npm versions with respect to server and jenkins ...
changembidar's user avatar
1 vote
0 answers
9 views

Make frontend maven plugin install node_modules in the same directory as the package.json, NOT in a /node directory

How it works currently: during the generate-resource phase of maven build the frontend maven plugin installs all the dependencies in /node directory created in the working directory specified in the ...
Zdrzalik Przemyslaw's user avatar
0 votes
1 answer
18 views

node.js v18 using babel - how to import module with extension and how to run from build folder (commonJS) while type:module is in package.json

I am using Node.JS v18.20.4 with Babel. Here is my babel.config.json { "presets": [ [ "@babel/preset-env", { "targets": { "node&...
Developer's user avatar
  • 25.8k
0 votes
0 answers
15 views

I'm getting an error installing node-speaker on Mac

I'm getting the following error log when trying to install speaker. $ npm install speaker npm ERR! code 1 npm ERR! path /Users/username/code/play/node_modules/speaker npm ERR! command failed npm ERR! ...
stratospher's user avatar
0 votes
0 answers
54 views

Exit handler never called! This is an error with npm itself

I am trying to run tests in the pipeline for a react application. Script looks as below: Earlier the first three lines weren't there. I have tried running the command npm install with --force/--legacy-...
Deepak Negi's user avatar
0 votes
0 answers
32 views

Having trouble running a project locally/ npm install, dependency issues

I am trying to run an example project locally. Its a full stack project so it needs to access a mongodb database. I downloaded the project files, and ran npm install so I could get everything set up, ...
tb444's user avatar
  • 1
0 votes
0 answers
19 views

npm install fails in Azure Pipeline

I am confused... We have build pipelines for several projects running on self-hosted build agents on a single server. All pipelines are setup the same: checkout from GIT install Node npm authenticate ...
MiGro's user avatar
  • 471
0 votes
0 answers
16 views

Getting "TypeError: Cannot read properties of null" while trying to install NextJS

I'm following this official tutorial: https://nextjs.org/learn/react-foundations/installation When I run this command: npm install react@latest react-dom@latest next@latest I got this error: npm ...
Bruno Carneiro's user avatar
1 vote
1 answer
36 views

ng not found error when building Angular project using dockerfile

I came into a very strange issue yesterday. I have been working on an Angular project and deploying using docker. Everything works fine till yesterday, all of sudden I cannot build the docker image. ...
AoLiGei's user avatar
  • 51
0 votes
2 answers
58 views

Why does creating a React/Vite app take so much time?

I'm trying to make a simple app with React but I'm stuck at the first step. It doesn't seem to do anything at all. Tried with both npx create-react-app and npm create vite@latest: It's stuck on the ...
J. Doe's user avatar
  • 93
0 votes
1 answer
20 views

Install peer dependencies in lib automatically on the client side

I am developing a React package/library and have compiled it using Rollup. The package includes several components that need to be used in an Angular app. I've specified a few packages as ...
Salz khan's user avatar
-2 votes
0 answers
46 views

what is this "ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time"

I have created an npm package and when we run it using npx it outputs the result but also give this error before printing output: ExperimentalWarning: Importing JSON modules is an experimental ...
xkeshav's user avatar
  • 53.5k

15 30 50 per page
1
2 3 4 5
3348