All Questions
Tagged with npm node-modules
1,611
questions
0
votes
0
answers
41
views
Appropriate loader to handle this file type .mjs | webpack
I recently added @radix-ui/react-navigation-menu to my project. However, upon attempting to rebuild, I encountered the following error message: the error..
Interestingly, other components from the ...
1
vote
1
answer
38
views
Node_Module is trying to use require (mysql)
I'm trying to set up a basic full stack web project with a SQL database using node.
I generally prefer to use import, and I've been using it for the duration of the project, so I have my type set to ...
0
votes
0
answers
40
views
Registering automapper-ts in Global Context not working - Angular App Reference undefined
After updating to Angular 18 the node package automapper-ts is no longer working.
When trying to register Automapper in global context, app is undefined, thus the Reference to the Angular App cannot ...
0
votes
0
answers
40
views
Error: Cannot find module 'node:events' on mssql npm package
When we are importing the mssql line in server side, the app crashes.
Error: Cannot find module 'node:events'
Repeatedly tried installing and uninstalling node modules
checked mssql npm package ...
1
vote
1
answer
85
views
node: npm install takes forever and can't finish
I have problem after I tried npm install on docker. Now when I try npm install on my localhost PC even without docker my npm install never finished. In the log file is something about fsevents module ...
0
votes
0
answers
12
views
ERR_SSL_CIPHER_OPERATION_FAILED while installing any npm package
Getting this ERR_SSL_CIPHER_OPERATION_FAILED error, every time I try to install any npm package.
I also installed this tls but I am still getting the same error
npm install -g https://tls-test.npmjs....
0
votes
1
answer
29
views
OpenPlatform (Total.js): node index.js gives Error: Cannot find module ../openplatform-master/plugins/.DS_Store/index.js
My question is about OpenPlatform.
When I run the command: node index.js from the Manual Installation instructions, I get the following output and error below:
Note:
I'm running zsh shell from a ...
0
votes
1
answer
63
views
npx looking for modules in incorrect directory
I'm trying to run the following command in my bash terminal (all through VS Code):
$ npx tsc with-typescript.ts
When I run this command, however, I get the following error:
The system cannot find the ...
0
votes
2
answers
27
views
Why is TypeScript not finding my own package?
I created a fork of another package and published it under a unique, new name:
https://www.npmjs.com/package/feed-media-fork
I tagged a new version, created a release on github and yarn add feed-media-...
2
votes
1
answer
174
views
Creating an NPM package from a yarn workspace monorepo with internal dependency
I'm using yarn workspace to develop a library that will be published on NPM. The library is dependent on a private core package in the same workspace. My understanding is that the workspace should ...
0
votes
1
answer
2k
views
There is an error in code while installing react.js
node:internal/modules/cjs/loader:1148
throw err;
^
Error: Cannot find module 'C:\Users\hp\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js'
at Module._resolveFilename (node:internal/...
0
votes
0
answers
37
views
ngx-image-viewer : Image not getting dragged properly. Dragging the image makes the application unresponsive
I'm using ngx-image-viewer in an Angular 15 application, where I'm showing single image.
The ngx-image-viewer plugin has a default drag feature.
In my case the image is getting dragged but the drag ...
0
votes
0
answers
20
views
'object libz.so from LD_PRELOAD cannot be preloaded: ignored' error when running npm install
I added a strip in package.json after that when I tried the "npm install" command the napm install is not working this is error which I facing:-
ERROR: ld.so: object './node_modules/sharp/...
-1
votes
1
answer
52
views
Ignite Boilerplate Npx command : Something went wrong installing the "sharp" module
I was trying to init a repo with the ignite boilerplate but I am facing this issue
npx ignite-cli@latest new PizzaApp
/Users/matthys/.npm/_npx/bec2839915ba8fc3/node_modules/gluegun/build/index.js:15
...
1
vote
0
answers
1k
views
Can't resolve dependency in devDependency section after running npm install
I'm not sure if the steps I'm taking to fix my devDependency errors on upgrading my node modules are correct. I've listed the steps below and actions I took to try and correct it.
(edit) - should I ...