tagged [npm]
npm install with error: `gyp` failed with exit code: 1
npm install with error: `gyp` failed with exit code: 1 I'm try to install modules on Windows 10 using npm 5.6.0. When I enter npm install I get: ``` gyp ERR! configure error gyp ERR! stack Error: `gyp...
- Modified
- 6 May at 15:33
sh: 1: node: Permission denied
sh: 1: node: Permission denied Tried to run this command on ubuntu 18.04 but I got this error, ``` [..................] | fetchMetadata: sill resolveWithNewModule npm-conf@1.1.3 checking installable s...
How can I add a .npmrc file?
How can I add a .npmrc file? I installed node on my Mac OS Sierra. I use Windows at my work so there I have a .npmrc file in the node folder but I don't seem to find that in mac. The problem is I want...
How can I clean (reset cache) of React Native using Expo. Not sure if it is cache issue
How can I clean (reset cache) of React Native using Expo. Not sure if it is cache issue I am building a simple React Native app with create-react-native-app using only react-navigation and base-64(bas...
- Modified
- 24 Aug at 06:24
npm's less library - how to define a subdirectory for imports
npm's less library - how to define a subdirectory for imports I'm trying to configure the ServiceStack bundler which uses npm's less library. I have a number of subdirectories where I store less files...
- Modified
- 13 Feb at 13:32
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X) My version of node is always v0.6.1-pre even after I install brew node and NVM install v0.6.19. My node version is: NVM s...
- Modified
- 14 May at 10:49
npm can't find package.json
npm can't find package.json I'm trying to install the dependencies of some example: npm's `express 2.5.8` that I've downloaded, but all of the apps throw the same error: ``` c:\node\stylus>npm install...
"A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received", What does that mean?
"A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received", What does that mean? I'm working on a React application and I use some...
- Modified
- 26 Jun at 03:46
npm not working - "read ECONNRESET"
npm not working - "read ECONNRESET" I'm having a problem with npm, I cant install anything. Here is the error messages: ``` C:\Windows\system32>npm install -g yo npm http GET https://registry.npmjs.or...
Node - was compiled against a different Node.js version using NODE_MODULE_VERSION 51
Node - was compiled against a different Node.js version using NODE_MODULE_VERSION 51 I am running a node application on terminal. Have recently upgraded to node v8.5.0, but am getting this error: ``` ...
- Modified
- 12 Nov at 12:53
NPM global install "cannot find module"
NPM global install "cannot find module" I wrote a module which I published to npm a moment ago (https://npmjs.org/package/wisp) So it installs fine from the command line: `$ npm i -g wisp` However, wh...
Webpack - webpack-dev-server: command not found
Webpack - webpack-dev-server: command not found I am working on a React webapp using webpack, loosely alongside [this tutorial](http://fredguest.com/2015/03/06/building-a-stateless-rails-api-with-reac...
nodemon not found in npm
nodemon not found in npm I have a problem: nodemon does not run off the npm script (e.g. `npm start`), but if nodemon is called on the command line outside the npm script, nodemon runs as normal. ``` ...
how to update npm on macOS
how to update npm on macOS For reasons unknown to me, I haven't been able to update to the latest version of npm on macOS (it works fine on Windows). Using Node.js 8.11.1 What version of npm do I have...
Start script missing error when running npm start
Start script missing error when running npm start I'm receiving this error when trying to debug my node application using the `npm start` command. Error: ``` npm ERR! Windows_NT 6.3.9600 npm ERR! argv...
- Modified
- 17 Dec at 02:2
How to use npm with ASP.NET Core
How to use npm with ASP.NET Core I'm using npm to manage the jQuery, Bootstrap, Font Awesome and similar client libraries I need for my ASP.NET Core application. The approach that worked for me starte...
- Modified
- 22 Jun at 02:22
SyntaxError: Cannot use import statement outside a module
SyntaxError: Cannot use import statement outside a module I've got an project that's giving me trouble, so I thought I might update it and ran into issues when using the latest Babel. My "index.js" is...
- Modified
- 10 Sep at 05:1
Webpack 4 "size exceeds the recommended limit (244 KiB)"
Webpack 4 "size exceeds the recommended limit (244 KiB)" I have two files which are combined under 600 bytes (.6kb) as below. So how is it that my app.bundle.js is so large (987kb) and more importantl...
receiving error: 'Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN' while using npm
receiving error: 'Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN' while using npm I am using npm v1.0.104/node 0.6.12 on ubuntu - I am receiving the error copied below while attempting to install any new...
- Modified
- 15 Dec at 11:24
`node-pre-gyp install --fallback-to-build` failed during MeanJS installation on OSX
`node-pre-gyp install --fallback-to-build` failed during MeanJS installation on OSX I just bought myself a mac book after using Windows for a long time. I was trying to work on a MeanJS project that I...
"message failed to fetch from registry" while trying to install any module
"message failed to fetch from registry" while trying to install any module I can't install any node module from the npm. The above command resulted to below output, it is not able to install socket.io...
VSC PowerShell. After npm updating packages .ps1 cannot be loaded because running scripts is disabled on this system
VSC PowerShell. After npm updating packages .ps1 cannot be loaded because running scripts is disabled on this system I design websites in VSC and PowerShell is my default terminal. After updating and ...
- Modified
- 27 Aug at 11:41
Module not found: Error: Can't resolve 'crypto'
Module not found: Error: Can't resolve 'crypto' I am getting the following list of errors when I run `ng serve`. My package JSON is as follows: ``` { "name": "ProName", "version": "0.0.0", "scripts...
- Modified
- 12 Jan at 17:47
How to solve npm install error “npm ERR! code 1”
How to solve npm install error “npm ERR! code 1” I'm trying to install [Gulp.js](https://en.wikipedia.org/wiki/Gulp.js) and when I write `npm install` I get this issue: ``` npm ERR! code 1 npm ERR! pa...
- Modified
- 8 Aug at 22:10
"You may need an additional loader to handle the result of these loaders."
"You may need an additional loader to handle the result of these loaders." I am currently trying to build a State Management Library for ReactJs. But as soon as I implement it into my React project (c...
- Modified
- 13 Dec at 17:37