Category "npm"

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

yarn command not found after installing via npm

As per the yarn installation for yarn v2, they want you to install using npm install -g yarn. So I ran sudo npm install -g yarn on Ubuntu 20.04. But after I d

Need help on a react.js error that I keep on getting

Every time I try running npm start on a new project I keep on getting this error. Does anyone know or have any idea how to fix this?? There might be a problem

How can I avoid "No test specified" errors in npm?

I'm using [email protected] on Mac High Sierra. I want to run tests that were setup in this Stratum client project. I have run npm install successfully. But when I try

'cross-env' is not recognized as an internal or external command,

Guys can you please help me on this I have trouble run npm run dev for my Laravel Mix. I followed links below but still error exist. Do i have a problem on my O

wasm code commit Allocation failed - process out of memory

I have a nodejs script which was working fine on nodejs 12. I got a new macbook air on which I installed nodejs LTS 14. The scripts was not working as intended

How to install Next.js Tailwind explicitly with .js?

I created a Next.js project and I only have .tsx (TypeScript) as the extension everywhere. I know TypeScript is just extended like Java but I just want .js as t

React app stuck on "Starting the development server"

I have a react app created by create-react-app. After running npm start (the start script is present in package.json as "start": "react-scripts start") the cons

How to set env var for .npmrc use

I need a module in my project to download a private npm package. To accomplish this, I am using a .npmrc file to supply a read-only token needed to download the