Questions tagged [npm-package]
464 questions
1
vote
0 answers
Invalid response body while trying to fetch https://registry.npmjs.org/scheduler: 3032:error:1408F119:SSL routines:ssl3_get_record:decryption
I'm receiving this error while trying to run npx create-react-app command in my powershell terminal.
I've already tried some of the commands available for similar errors on stack overflow. But nothing has worked so far.
like:- npm cache clean…

Vishwajeet Singh
- 11
- 3
1
vote
1 answer
npm ERR! 404 Unpublished by undefined on 2022-08-08T09:20:35.527Z
When I run by cmd, npm shows the following error:
npm ERR! code E404
npm ERR! 404 Unpublished by undefined on 2022-08-08T09:20:35.527Z
npm ERR! 404
npm ERR! 404 'e-biz-znnf' is not in the npm registry.
npm…

Chen
- 11
- 2
1
vote
1 answer
Updating npm outdated packages on a react project, may someone plrase help me on the situation
**Package Current Wanted Latest Location **
@testing-library/user-event 13.5.0 13.5.0 14.4.3 node_modules/@testing-library/user-event
web-vitals 2.1.4 2.1.4 3.1.1 node_modules/web-vitals
depended…

Ryannthegr8
- 21
- 2
1
vote
0 answers
Seeing high severity vulnerabilities when trying to install database npm packages in cypress
I was trying to connect cypress to database by installing
'npm i mysql -D'
and I got an error '3 high severity vulnerabilities'. So I ran
npm audit fix
then I received the following error messages.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could…

Rithu
- 31
- 2
1
vote
0 answers
"unable to resolve dependency tree" getting error in react while installing material-ui/core
I am using "react": "^18.2.0". In my project I use command to install material-ui
npm install @material-ui/core
But getting an following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While…

Malik Naveed
- 49
- 1
- 3
1
vote
0 answers
When I install third party library in react native project it throw me "Module does not exist in package.json"?
When I install third party library in react native project it throw me "Module does not exist in package.json" then
I have to delete Node modules
Delete package-lock.json
NPM install
then library start working
why is that?
I try above solution and…

Salman Hamza
- 21
- 1
- 6
1
vote
1 answer
Erro while installing dependencies from Botonic
I was installing a framework called Botonic and i installed perfectly but when I run the
command “botonic new my Bot blank” I get a huge NPM ERR! When it's time to install my dependencies.
~Jhenriqueax: botonic new myBot blank
✔ Downloading…
1
vote
1 answer
ESLint 8.31.0 "Error: Failed to load plugin 'import' declared in '.eslintrc.js » eslint-config-standard': Cannot find module 'array.prototype.flatmap"
Am new to Node and npm in general but I'm pretty sure I've gotten the hang at installing packages locally and whatnot. However, I've been trying to get eslint to work for awhile now and it always fails with the same error message despite trying…

Neel
- 11
- 2
1
vote
0 answers
rollup package splitting / code splitting
I am working on a components library (such as material-ui). I am using rollup for compiling.
For the moment I can generate a single package, and to import a component such as a button, I can do it like that :
import { Button } from…

Ramzi B.
- 31
- 2
1
vote
0 answers
Create npm package of my react native app
Right now I am working on npm package for my react native app,My app contain lots of things, like have a native modules, lots of dependencies,I am using this to create npm package for my app.
Question 1 - Above package (Mentioned as this) is good…

Nikunj Suthar
- 39
- 1
- 4
1
vote
0 answers
GOT package: RequestError: The body option must be a stream.Readable, string or Buffer
I am getting this error while trying to hit the POST and PUT APIs using GOT package in Node.Js (for external API calling).
I am using Got@11.8.6 with Node.js version 16.18.1 in Windows 10 OS.
Code Snippet
const gotObject = { method: 'POST', json:…

Ketav
- 760
- 1
- 8
- 27
1
vote
1 answer
NPM ERR while installing React
I was installing the React.js and i got this error.
I installed react app but i found this ERR.`
PS D:\Other\Youtube Channels\Design,tuts and motivational channels\Code with harry\Website course\Test folder> npx create-react-app my-react-app…
1
vote
1 answer
How to find compatible dependency version for a given nodeJS version
Suppose I am upgrading my node version from 14 LTS to 16.18.1 LTS version. After that I need to upgrade my react project node modules to latest & compatible versions.
Can anyone advice me how to find out compatible version of a node module for a…

P.N.Jayasinghe
- 47
- 1
- 7
1
vote
0 answers
Module not found: Error: Can't resolve 'url','zlip','fs','path' in '[TEST_LIB_PROJECT]\node_modules\[LIB_NAME]\dist\esm'
I am building a React component library in typescript. The library is supposed to use and build on top of the following:
"dependencies": {
"@hookform/resolvers": "^2.9.10",
"axios": "^1.1.3",
"chart.js": "^4.0.1",
…

Shangab
- 39
- 1
- 9
1
vote
1 answer
Snyk vulnerability scan not recognizing overriden nested package dependencies
I am running the snyk test command on my project to identify vulnerabilities with third party libraries and came across the following vulnerabilities in react-scripts@5.0.1 ->@svgr/webpack": "^5.5.0"
Regular Expression Denial of Service (ReDoS) -…

svs
- 23
- 5