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,206
questions
0
votes
0
answers
12
views
Uncaught runtime errors: ERROR process is not defined
My npm start has about 58 errors, almost all of them in webpack.config.js. Now, when I stop Ctrl-C and restart (npm start), my browser shows the pictures below. I've stopped and restarted my back end ...
-1
votes
0
answers
11
views
How can I get my Npm module to work properly
It is giving me an issue with the node modules. This error keeps coming up
ERROR in ./node_modules/@configura/web-core/dist/cm/format/dex/DexReader.js 108:31-44
Can't import the named export 'memory'.'...
0
votes
0
answers
18
views
new to react native not able to get rid of these errors:
ERROR Error: You attempted to use a firebase module that's not installed on your Android project by calling firebase.app().
Ensure you have:
imported the 'io.invertase.firebase.app....
-2
votes
0
answers
18
views
Invariant Violation: "APPNAME" has not been registered
I have been facing this problem for the last week and have tried all possible approaches, but the issue still isn't resolved. Can anyone help me out?
This project is around 5 years old. Here are the ...
0
votes
0
answers
25
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
21
views
node-pty installation on server is showing npm error code -1
Whenever I am doing
npm i node-pty
it is giving me this error
0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\DELL\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
...
0
votes
0
answers
24
views
Changing the "main" in package.json for one specific (expo) script
I have a simple react-native library and I am trying to make it so that I can easily test the code locally.
I am using expo for local tests, and the input file for testing with expo is index.js.
...
0
votes
0
answers
27
views
NPM always picks old version of Node-Gyp
I am working on building on Ionic project and I am newbie to Ionic too!
I would like to run npm install but it got failed with following error
Based on my observation and understanding, the node-gyp ...
-2
votes
1
answer
36
views
Mastering resolving dependency issues
I'm trying to set up project from my working computer on my home one. But due to fixed dependency versions something going wrong.
Here is my dependencies:
"dependencies": {
"@...
0
votes
0
answers
9
views
TomSelect with laravel and npm vite
my app.js file:
import './bootstrap';
import jQuery from 'jquery';
window.$ = jQuery;
import './tom-select.complete';
app.css:
@import 'tom-select.bootstrap4.css';
@tailwind base;
@tailwind ...
0
votes
1
answer
20
views
Using jquery-editable-select in a Django App
This is my very first Django app so please don't be too harsh :-)
I'm trying to use jquery-editable-select in my Django web App but I'm lost.
https://github.com/indrimuska/jquery-editable-select
...
0
votes
0
answers
15
views
DigitalOcean not installing devDependencies in build phase
I'm working on an API with Typescript and expressjs. It was running fine on DigitalOcean till now with the following configs.
{
"name": "i_h",
"version": "1.0.0&...
0
votes
0
answers
6
views
How to solve this as in cmd its working but on vs code terminal its not working
C:\react>npx create-react-app GGPTL
npm error code ENOENT
npm error syscall spawn C:\Program Files\nodejs
npm error path C:\react
npm error errno -4058
npm error enoent spawn C:\Program Files\...
-2
votes
1
answer
36
views
How to uninstall unwanted/extra npm packages [closed]
I had mysql installed through mySQL workbench, but i wasn't sure so i ran the command "npm install mysql" and it added 11 packages and audited 12. Now I don't want the extra added packages, ...
-1
votes
0
answers
12
views
Programmatically generating files and pushing to user's GitHub - backend architecture [closed]
So right now, I have a NextJS/Typescript app set up with GitHub Auth. The user fills out a form that which then gives me a long command line string to generate some files (using yarn/npm) -- I have up ...