Category "npm"

jhipster is not recognized as an internal or external command, operable program or batch file

I've followed here https://jhipster.github.io/installation/ and JHipster Quick Start,but on my Windows 10, I've got "jhipster is not recognized as an internal

How to install a list of many global packages with Yarn

yarn install -h suggests that the -g (global) option is DEPRECATED. How am I supposed to indicate that I want a bunch of packages (from package.json / yarn.lock

Installing Angular on Mac OS 10.13

I'm trying to follow the quickstart on running Angular locally (on MacOS 10.13.6). With the first command, I already get some errors: npm install -g @angular/c

`npm` busted - how to get past module-not-found, unexpected-token errors

I've installed Node and NPM using nvm-windows. When I tried to run npm install, I got an error Unexpected token '.', then a path to a complete log of the run. I

Do you need a web server to run a production build of a react app on a VPS?

I have built a react app using a truffle box that uses create-react app. I can get the app running on my local host but I can't see it on my VPS when I go to th

Why Jenkins failed with Cordova multi configuration project with build as failure?

I installed Jenkins and started and configured my sample Cordova project with it. I created a multi - configuration project, where my Configure page contains fo

Truffle Installation Error in "nodejs version 8.10.0" npm version "3.5.2"

I have been trying to install truffle in my Ubuntu 18.04 machine with nodejs version 8.10.0 and npm version 3.5.2, but it shows the error as below. loadDep:orig

NPM install package from private repository using access token from environment

I want to install an npm package from a private repository from a specific branch. I know it's possible if you explicitly specify the token in the package path,

-bash: sequelize: command not found

I just ran npm install --save sequelize pg pg-hstore in my project root directory and now I am unable to invoke sequelize init. I get the error: -bash: sequeliz

Every time I run npm I get this message - Class extends value undefined is not a constructor or null

"Class extends value undefined is not a constructor or null" comes up every time I run npm here's the screenshot

sh: 1: node-gyp-build: Permission denied and npm ERR! code ELIFECYCLE npm ERR! errno 126

Tried to run this on Ubuntu 18.04 x64. It used to work properly a day ago but it stopped out of nowhere. npm i simple-youtube-api I used to be able to install

sh: 1: node-gyp-build: Permission denied and npm ERR! code ELIFECYCLE npm ERR! errno 126

Tried to run this on Ubuntu 18.04 x64. It used to work properly a day ago but it stopped out of nowhere. npm i simple-youtube-api I used to be able to install

Appending .js extension on relative import statements during Typescript compilation (ES6 modules)

This seems to be a trivial problem, but it is not very obvious what settings/configurations need to be used to solve this issue. Here are the Hello World progra

NPM readme file showing up broken

I have this readme file. https://pastebin.com/ihH0SKF3 It is written in markdown, and there are code blocks in it Is there something wrong with my readme file

What is the "module" package.json field for?

I've seen some npm packages (vue for example) have a module field in their package.json. But module is not included in the package.json documentation - is this

React: Module not found: Can't resolve 'xmlhttprequest'

I'm getting an error when trying to build my React project: ./node_modules/ethers/utils/web.js Module not found: Can't resolve 'xmlhttprequest' in '/mnt/c/User

npm run cannot find module 'sass' after repeated reinstall attempts

Any call to npm run produces this error: $ npm run dev > @ dev /project > npm run development > @ development /project > cross-env NODE_ENV=deve

Angular - An unhandled exception occurred: spawn UNKNOWN

In Angular-13 project I have a project that has been working very fine. But suddenly, when I did ng serve I got this error: An unhandled exception occurred: spa

How I can skip installing optional dependencies by 'npm ci'?

How I can skip installing optional dependencies from package-lock.json by npm ci?

Solidity - Solidity code to Input JSON Description

I want to compile my ethereum HelloWorld.sol smart contract. In all the tutorials is that you do it like this: var solc = require('solc'); var compiledContract