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.

npm
2 votes
0 answers
45 views

npx hanging during initialization of react, expo, and next app

I am currently experiencing an issue where the following commands (and potentially more) hang indefinitely when trying to initialize a project: npx create-react-app npx create-expo-app npx create-...
James's user avatar
  • 21
0 votes
1 answer
33 views

I am not able to create my first react app. Can anyone help me?

PS C:\Users\rkmgr\OneDrive\Desktop\react course> npx create-react-app my-app npm error code ENOENT npm error syscall lstat npm error path C:\Users\rkmgr\OneDrive\Desktop\react course\%APPDATA%\npm ...
Riya Kumari's user avatar
0 votes
0 answers
15 views

Webpack complied with 1 error when i try to npm run dev [closed]

I am doing a course on javaScript in udemy. It is first time i am using things like webpack and babel , in my final step of project setting when i try to do npm run dev . I get this error C:\Users\...
Rehm Ali Baloch's user avatar
1 vote
2 answers
28 views

Angular local library component rendering error (reading 'bindingStartIndex')

I've got a thing to discuss on Angular 12/13. I'm not a huge frontend hero, and have never dealed with own angular libraries, so may be I'm asking stupid questions, so sorry, but.. Here (github) a ...
Andrew Ku's user avatar
0 votes
1 answer
23 views

Can't install Cordova plugin from GitHub

I'm new to Cordova and I tried to add some packages to my project. I needed to install one specific package from GitHub, so I tried using following: cordova plugin add https://github.com/acipher/pos ...
pepa z depa's user avatar
-1 votes
0 answers
13 views

missing script run in the terminal

PS C:\Users\U> npm run hello npm error Missing script: "hello" npm error npm error To see a list of scripts, run: npm error npm run npm error A complete log of this run can be found in: ...
parthasarathys6226's user avatar
-1 votes
1 answer
34 views

Deploying a React application on GitHub Pages

I'm triyng to dpeloy my react application on Github Pages, but my 'npm run deploy' is not executing. This project file is just a test application that is a brand new React App. screen shot of vscode: ...
Nick Ackley's user avatar
0 votes
1 answer
15 views

Unexpected permissions errors when running dev script on vite based project

Everytime I try to run project based on Vite and running dev script, this happens. I'm only able to solve this by running VsCode with as administrator. Setting the folder to R&W permissions for ...
Atsukoro's user avatar
1 vote
0 answers
25 views

primevue components not available in custom npm package [Vue warn]: Failed to resolve component

I want to create an npm package that will render a textbox and a button. In this npm package, I want to use primevue Button component. This is the published package link: vue-main-package I use this ...
Jaydev's user avatar
  • 437
0 votes
1 answer
86 views

Manage Dependencies in Sub-Project To Avoid Duplicate React Versions

I am attempting to create a React library template. I have the main project that exports some basic React hooks and then an example project enclosed within it that imports the library via "@local/...
Ptolemy2002's user avatar
-1 votes
0 answers
46 views

Error: Cannot find module 'node:path', while using any npm command

my nodejs app was working fine, then i tried to install mongoose, i dont know what happened, now my npm commands are not working, throwing an error as below PS D:\NodeJS\sample> npm i internal/...
dhiraj's user avatar
  • 1
0 votes
1 answer
14 views

Imported package is undefined eventhough it is in the node modules

I am working on react-native application. Like all JS frameworks, I have installed the packages such as formik, react-native-calendars here also. And it is visible in package.json. And also I have ...
Rooban's user avatar
  • 167
0 votes
0 answers
10 views

NPM Run fails with unexpected server response

i need help o solve the problem: error: FATAL Failed to initialize the connection: Unexpected server response 502. received this error after i have executed: npm run MYAPP --verbose transfer -- --to ...
NCNCNC's user avatar
  • 1
1 vote
1 answer
23 views

NPM Version Range Grammar not regular?

When specifying required versions of a dependency in npm, we can specify ranges of versions. For example: 1.2.7 || >=1.2.9 <2.0.0 Specification: https://github.com/npm/node-semver?tab=readme-ov-...
carl's user avatar
  • 13
-1 votes
2 answers
39 views

Getting error when doing npx create-react-app my-react-app

PS C:\Users\ARPIT\Desktop> npx create-react-app my-react-app npm error code ENOENT npm error syscall spawn C:\WINDOWS\system32\cmd.exe npm error path C:\Users\ARPIT\Desktop npm error errno -4058 ...
Arpit Dhuriya's user avatar

15 30 50 per page