Most voted "npm" questions
nmp is the official package manager for Nodejs. Use the tag for questions about its use.
Learn more…218 questions
Sort by count of
-
0
votes1
answer49
viewsHow to install pull request package?
I’m looking to install an npm package ng2-table, but with a pull request that is not yet merged into master. Is there any way I can add this pull request to my package.json, so that it installs this…
-
0
votes0
answers57
views"bash: apidoc comand not found" error
hello installed apidoc by npm using npm install apidoc -g npm install next: -bash: apidoc -i . -o doc/ -bash: apidoc: comand not found someone knows the reason?…
npmasked 6 years, 12 months ago Rudda Beltrao 149 -
0
votes0
answers26
viewsGrunt build error
I do not understand very well the reason for this error and how to solve it npm ERR! Linux 3.13.0-116-generic npm ERR! argv "/home/fmessias/.nvm/versions/node/v7.9.0/bin/node"…
-
0
votes0
answers292
viewsError doing npm install on my Ionic project
When I give the npm install command in the project it shows me this error, which can be ? bash-3.2$ npm install npm ERR! code ETARGET npm ERR! notarget No compatible version found:…
-
0
votes1
answer454
viewsAngular CLI installation stops
When I use the command install -g @ angular/cli Nodejs starts loading all Angular dependencies, but when it starts downloading the file [email protected] It stands still and does not load anymore and…
-
0
votes0
answers529
viewsnpm | Installation dependency failure
My system: - Windows 10 - Bash on Ubuntu on Windows I’m new to bash usage. I installed nodejs, followed by npm and finally grunt. Everything worked well. I used the grunt no problem, but I started…
-
0
votes0
answers31
viewsUnknown error in Gulp
I added the file mixins.sass to my project and when I went to look at the terminal, presented the following error: Events.js:160 er; // Unhandled 'error' Event Error: Sass Molecules mixins.Sass…
-
0
votes1
answer135
viewsI can’t use Firebase Hosting
When I try to host using "firebase init" and then choose the project and the host, I apply the "firebase deploy" but when I open the link appears this screen: what should I do?…
-
0
votes1
answer84
viewsElectron - Typeerror var.on is not a Function
Following standard primary structure models offered by Electron documentation (https://electronjs.org/docs/tutorial/quick-start), found errors according to the development of an application. Showing…
-
0
votes0
answers110
viewsInstallation of Material Design
I’m trying to make a project using the Material Design I have NPM installed but, I’m not able to install. I enter the project folder and the terminal type: npm install --save material-components-web…
-
0
votes1
answer563
viewsGulp command does not work
Hello, I created a home.Ass file @import molecules/mixins @import ../bower_components/bootstrap-sass/assets/stylesheets/bootstrap /variables @import…
-
0
votes0
answers81
viewsLaravel puts argument in source? Is there any way to take?
<pre>fonts/vendor/materialize-css/dist/roboto/Roboto-Medium.woff2?1561b424aaef2f704bbd89155b3ce514 65.4 kB [emitted]…
-
0
votes0
answers128
viewsHelp with installing Ionic Cordova via Terminal - Mac!
I’m trying to install Ionic to develop a mobile app and am following a step-by-step site:Tableless, but in the part where it is requested to perform the command npm install -g ionic cordova,…
-
0
votes0
answers632
viewsNPM Package Installation Problems
I was installing the dependency Electron-Builder, but I cannot complete the installation. Whenever I try to run the command to install this dependency, nodejs returns me this error: I am running the…
-
0
votes2
answers1363
viewsHow to change the version of Cordova in Ionic?
I need to change the Cordova version of an Ionic project I’m testing, is that possible? If so, how can I do that? I currently have this version: But I would like to switch to version 7.0 . Which npm…
-
0
votes2
answers100
viewsHow to search for a particular package by npm?
I started a project in React and want to know how I search for a certain package installed directly by npm ?
-
0
votes1
answer104
viewsrequesting all main node_modules files
I have installed some dependencies with the NPM, these dependencies are basic, like bootstrap, animatecss and others... Anyway, I would like to know how I do to call these dependencies in a simple…
-
0
votes1
answer128
viewsIonic 3, error while installing app-script 1.3.0
Complementing the previous question, I am in an Ionic 3 environment, give an npm install but it is missing this app-script 1.3.0, msm installing the Ionic 2, npm install again msm error I believe it…
-
0
votes1
answer78
viewsNPM - save x save-Exact x shrinkwrap
I am in doubt between the commands below, when to use them and what is the difference between them? What is the importance of --save-Exact, exactly? When and how to use each? npm i my-pack --save…
-
0
votes1
answer101
views"npm install" of a . tgz without internet connection
I downloaded using "npm pack" and got the Ionic-4.0.6.tgz, now on PC without internet connection I ran the command "npm install Ionic-4.0.6.tgz" and it asks for internet connection. Is there any way…
npmasked 6 years, 3 months ago MayconWSoler 26 -
0
votes1
answer482
viewsDoes Npm run without Node installed?
Use here in the company a Linux Ubuntu, and installed the Vue-cli for npm version 3.5.2, installing the folder Node-modules usually with all the dependencies inside, but when I ran a node -v it…
-
0
votes0
answers31
viewsGraphql installation with error
I am getting this error while trying to install Graphql npm ERR! Error while executing: npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t git://github.com/graphql/graphql-js.git npm ERR! npm…
-
0
votes1
answer518
viewsError running "npm run Prod" command in Git Bash to build an Ionic 2 project
I have a publication ready project, which was created with Ionic 2 using Google’s Firebase API, but when I try to build the project for production, with the following command in Git Bash: "npm run…
-
0
votes1
answer72
viewsnpm enterprise proxy error does not leave low packets
npm enterprise proxy error does not leave low packets npm ERR! code ETIMEDOUT npm ERR! errno ETIMEDOUT npm ERR! network request to https://registry.npmjs.org/@angular%2fcli failed, reason: connect…
-
0
votes0
answers110
viewsnpm ERR! - When executing some command in the application
It was with the application in Nodejs working normally, but now it starts the application. But when I execute any command it presents this error. I’m using the Sqlite3. npm ERR! Windows_nt…
-
0
votes1
answer74
viewsRefusing to install Gulp as a dependency of itself
When I run: npm install --save-dev Gulp The mistake happens: npm ERR! Windows_NT 10.0.15063 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program…
-
0
votes1
answer22
viewsTAB autocomplete does not work with NPM
It’s quite simple, the autocomplete always works less when it starts with npm. Can someone explain to me what this is and how to fix it?
-
0
votes1
answer58
viewsHow to work with flat and minified files?
When writing a file .html, .css or .js we use its flat form, but when playing in production we use preferably minified files, usually named .min css., .min js.... The question that brings me here…
-
0
votes1
answer119
viewsAngular - npm: how to give up the webpack?
I am trying problems with the webpack, I would like to know how to remove it, tried the ways below which are indicated as examples on the NPM website, but without success.…
-
0
votes1
answer33
viewsNpm remove test folders for production
npm Prune --Production removes the devDependencies packages. Is there any way that it also deletes project folders that I don’t want in production, like my "spec" test folder?…
-
0
votes0
answers44
viewsProblem using npm install on Ubuntu for Windows
When trying to install a dependency by npm install express I have the following error: By Powershell is running without errors, but as I prefer to use the linux terminal and want to keep windows on…
-
0
votes0
answers332
viewsHow to resolve MSBUILD : Node.js error MSB3428
I’m trying to install a package located in the directory I’m with the command npm install Node.js, but after installing some of the packages I get the error: npm install error - MSB3428: Could not…
-
0
votes1
answer1363
viewsError while trying to run nodemon
Good afternoon, I am having trouble trying to run nodemon on my terminal. It is presenting the following error message: C:\Users\juare\Desktop\Curso OmniStack\aulas\backend> yarn dev yarn run…
-
0
votes1
answer197
viewsError executing React-Native init command
I’m trying to create a project React Native in the MacOs for Terminal. I type the following commands in Terminal: > cd Desktop > mkdir curso-react > cd curso-react/ > react-native init…
-
0
votes1
answer73
viewsHow to use open cv with nodejs in production environment
I have an application developed in nodejs in which I use the opencv4nodejs which allows you to use the opencv library in nodejs. The application is ready on local server, but I have no idea how to…
-
0
votes0
answers37
viewsNpm install problem when deploying to the server
I developed a site using Vue and Node, both fully functional on my machine, when hosting the backend on the web server (I used Kings host) and trying to run npm install to install the dependencies…
-
0
votes0
answers36
viewsConvert my JSON to Excel
Preci*so from a library that receives the query and when I press a certain button export the result in excel file, detail is that I am using Google’s Chart (graphic) and also intend to put in the…
-
0
votes1
answer45
viewsWhy does "git checkout ." not change the node_module packages I entered by npm?
I did a little "caca" in my test environment, and my system just bugged out, because npm is giving some bugs: Git Bash: Console do Google Chrome: By Filezilla I have the old packages, the old…
-
0
votes0
answers132
viewsError running "npm run dv"
npm run dev @ dev /var/www/Upevent node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules…
-
0
votes1
answer4391
viewsAngular5 - Error: Local Workspace file ('angular.json') could not be found
This error happens when I start the application: Local Workspace file ('angular.json') could not be found. Error: Local Workspace file ('angular.json') could not be found. At Workspaceloader.…
-
0
votes1
answer161
viewsHow to install a package manually in an React Native project?
I need to install a package in my React Native project, but when using the npm command for installation: npm install react-native-threatmetrix --save I get the following error in response: npm ERR!…
-
0
votes1
answer24
viewsRe-use method
I made a query to search a user. It worked! But I tried to make another appointment, he gave this message Error: Cannot use a pool after calling end on the pool 'Cause every time I make a…
-
0
votes1
answer187
viewsHow do I update my package dependencies without publishing a new version of my package?
I am developing a package that is dependent on other packages. What I wanted to know is if there is a form of the package I am developing already download the latest version of the packages without…
npmasked 4 years, 4 months ago Felipe Avelar 9,507 -
0
votes1
answer124
viewsCopy js from "Dependencies" from node_modules to a folder of my Gulp project
I have some doubts regarding this "new" tool of node/npm. As far as I know/learned, I have great benefits of managing scripts js for npm. But I don’t think it’s very healthy to go through the…
-
0
votes1
answer452
viewsError running npm install
I just installed linux Deepin on my pc, installed Node.js 10.0.6 along with npm 6.0.4. When running npm install , he of the error, so I executed the following command: npm audit fix --force and I…
-
0
votes0
answers23
viewsHow to identify whether an npm package is thread blocking or not?
I’m using the package Adm-zip on a project in node.js. I wonder if this package blocks Event loop and how I could identify packages that are thread-bloking or not.…
-
0
votes0
answers35
viewsNPM INSTALL SQLITE3 (Python) error
Good night, you guys! I’ve exhausted my attempts. I installed python 3.9 added in the environment variables, uninstalled the project’s node_modules and package.json installed node_modules again and…
-
0
votes1
answer176
viewsHow to run http-server Node?
Guys I’m trying to install http-server npm install http-server -g however is giving this error, I already set the proxy, what can be? log: 0 info it worked if it ends with ok 1 verbose cli […
-
0
votes0
answers13
viewshow to install an internal package of requeriment.txt in python?
For example, I have a python code that uses the library import geocoder. In my machine I’ve used the pip install geocoder, but when a colleague made a git-clone it didn’t run for lack of this…
-
0
votes0
answers12
viewsWhat happens when I use the "npm install npm@6" command using npm 7
I have npm 7.5 installing and need to use version 6.0 to use the @angular/cli module. I wanted to know what happens when I use the "npm install npm@6" command and how to use both versions of npm…