Category "npm"

Unable to resolve empty-module.js react-native and metro-cli

I've switched over from a windows dev environment to a linux environment and I'm having trouble getting react-native app going again. The application builds wit

create-react-app: How do I "npm start" with a specific browser?

npm start starts the react server on the default browser, which is Firefox for me. I like Firefox for browsing but prefer Chrome in web development for its

npm-check-updates (npm ncu): avoid breaking updates

The command npm-check-update displays mayor updates in red. This can be already seen in the first image of the documentaton. But is there a way to exclude these

Module build failed (from ./node_modules/html-loader/dist/cjs.js):

I'm trying to make a quick-start for ava electron webpack and three but something went wrong in that process. here is the repository of the project : https://

NPM prune after NPM ci

I have an innocent question :is there some interest to do a npm prune after a npm ci ? For me npm ci seems to be sufficient, no ? Thanks by advance

Why does "npm start" work without "run", but no other script does? [duplicate]

In my package.json file, there is the "scripts" section with my "start" script. When I type npm start it runs the "start" script. But for any

why i can't run command "npm update" in my ionic project?

I can't run command npm update or npm install in my ionic project. this is an error that I get. and here is my "ionic info"

Error when running npm start: nvm is not compatible with the "npm_config_prefix" environment variable

I am working on a project which I use nvm. Out of nowhere, I started to get this error when running "npm start": npm start > sh ./bin/start.sh nvm is no

Why I get this error when I try to use npm install -g ganache-cli truffle in vs code?

Why I get this error when I try to use npm install -g ganache-cli truffle in vs code?

npx create-react-app not working, file already exists

I have uninstalled create-react-app globally as recommended. Then I ran npx create-react-app test and the following error occured Error: EEXIST: file already e

frontend-maven-plugin fails npm install

I can use the command line to run npm install and npm run build on my project but when I try to use the frontend-maven-plugin it fails with the following error

Ionic 6: unknown option '--npm-client'

I have a project with ionic 6 and capacitor, when I run ionic serve it work like a charm and I can see the project in my browser, but then when I run ionic capa

npm run server throws error sh: 1: vue-cli-service: not found

I'm trying to setup an existing vue project and getting this error admin@kali:/media/veracrypt1/themeforest-LSerfC0M-skote-vuejs-admin-dashboard-template/Admin

You'll need to upgrade to a newer Node.js version in order to use this version of npm. But Node version is greater than v10

Here is my command line I already have node version higher than the specified 10.24.1 but still gives me this error. Not really sure what is the issue here. I a

Installing create-react-app gives npm ERR! shasum check failed and npm ERR! Unexpected end of JSON input while parsing near '...mojOzGIEI2rg0m24Yb5Oq'

Errors when i use sudo npm install create-react-app -g npm ERR! Linux 4.13.0-39-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "create-react-app" "-g"

'expo start' or 'npm start' command stuck at ''Starting metro bundler"

I am using react native expo for building mobile app. I followed below steps:- expo init myapp cd myapp expo start After running above 3 commands everything was

NPM attempts to publish twice

I am maintaining my first npm package so this might be an error on my part. Once build my package and commit it to git the next step is: $ npm version patch $ n

Best practice to publish src folder that contains esm modules

Consider this package.json: { "main": "./index.js", "name": "@myorg/foo", "scripts": { "build": "babel src -d dist --delete-dir-on-start --source-maps

Place image over an other image using Jimp

I'm trying to edit my images on my node.js application working on the server-side. At this moment, I've successfully added text over my image. I would like to p

Trying to import realm, but getting error: Missing Realm constructor. Did you run "pod install"? (I'm using windows)

I'm making a mobile application with react native. I want to use Realm (mongodb). So after running: npm install realm realm was correctly added in the "node_mo