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.
50,253
questions
0
votes
0
answers
14
views
npm install angular/cli isnt working - seems stuck midway, no log, no error regarding why it is stuck
Can anyone help me with an issue I have during npm install @angular/cli
Below are the details
Command I am running: npm install -g @angular/cli
What I am seeing: the install starts pulls some ...
0
votes
0
answers
11
views
'UserInput\01-starting-project\node_modules\.bin\' is not recognized as an internal or external command
'UserInput\01-starting-project\node_modules.bin' is not recognized as an internal or external command, operable program or batch file.
node:internal/modules/cjs/loader:1222
throw err;
Error: Cannot ...
-1
votes
0
answers
17
views
'npm run build' failed in Github actions and frontend-maven-plugin for Java spring-boot app
I am building a monolithic app using Java spring-boot and Reacjs for UI. My repository is hosted on Github and I am using Github Actions for to build the repo on every commit.
I am using the frontend-...
0
votes
0
answers
6
views
Natural date parser for chat bot
I need a date parser in Node.js to parse or find dates from the user entered queries.
To design a chat bot - in chatbot user will be asking for a data for a particular date,
so the queries can be in ...
-2
votes
0
answers
23
views
TypeError: Cannot read properties of undefined (reading 'paramType') [closed]
I was upgrading my nodejs api application
from
node: v16.17.0
npm: v8.15.0
to
node: v20.15.1
npm: v10.7.0
start the server by ---> npm run serve
I was facing the issue on PlatformHandlerMetadata.js
...
-1
votes
0
answers
15
views
NPM EACCES Error when installing LoopBack
npm error code EACCES
npm error syscall mkdir
npm error path /usr/local/lib/node_modules/@loopback
npm error errno -13
npm error Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@...
0
votes
0
answers
18
views
Installing Angular npm error code ECONNRESET npm error syscall read npm error errno -4077 npm error network read ECONNRESET
I am trying to install angular using npm. I installed Angular with no errors but when I do ng new test it creates the files but does not get past the installing stage. I am under a corporate network ...
1
vote
1
answer
19
views
How to bundle standalone component and directive when building an Angular library
I have built an Angular library that contains a component and a directive which are intrinsically linked. That is the component uses the directive. Everything works fine other than to successfully use ...
0
votes
0
answers
7
views
React native app crashes when using React-Native-Razorpay Library
Uncaught Error
React native is crashing instantly when this library is called using below code:
import RazorpayCheckout from "react-native-razorpay";
and instantly resolves when removed
...
-1
votes
1
answer
16
views
trying to install using npm install or npx creat bugges my terminal
if i tried to creat a new nextjs app or install xata it bugges my terminal
npm i not working !!
❯ npm cache clean --force
npm warn using --force Recommended protections disabled.
❯ rm -rf node_modules ...
0
votes
0
answers
13
views
chrono-node month parsing issue
0
I've encountered a problem in which I am looking for a good solution.
I uses chrono-node for understanding which date the user is referring to , But chrono doesn't follows a strict rule in parsing ...
0
votes
0
answers
11
views
How can I create a extension from the interface inside of a external npm package in typescript?
in react-native typescript, I use a npm called react-native-sqlite-storage, that npm has a interface like this inside its node_modules
export interface SQLiteDatabase {
dbname: string;
...
-1
votes
2
answers
27
views
Is it possible to include @types/pkg in your own library, so it comes with types?
Let's say I am abstracting a library whose type comes from Definitely Typed repository (e.g. @types/pkg).
When someone installs my package, it should already come with the types. Consumer should no ...
0
votes
0
answers
15
views
Got an error by using pdf-dist library in NextJS
I got an error when I was trying to use a library called pdf-dist. Actually, it works fine, but it's kinda annoying cause it makes the website reloads every time I save any files even though I just ...
-3
votes
1
answer
24
views
Why does npm run build keep getting stuck with no error? Workaround? [closed]
Why does npm run build keep getting stuck with no error? Workaround?
MyMacComputer project% npm run build
> build
> webpack --mode=development
...stops here forever...
The project previously ...