Questions tagged as 'npm'

1
answer

What is the best way to use Node dependencies?

Introduction: Let's take a practical example so that it's simple to understand ... I want to use the Bulma framework in my project, so run the following command: $ npm install --save-dev bulma Tchanram! Now I can find both the bulm...
asked by 23.10.2016 / 07:21
1
answer

What is the difference of putting -g in the package installations by npm, webpack, etc ...?

For some time now I've installed packages via prompt with npm, bower among other package managers, but I never quite understood what the -g . I know it means global , installing the packages globally on the computer and not just locally...
asked by 08.09.2018 / 01:07
1
answer

@Angular in the global and non-local repository for all projects

I installed angular / cli like this: npm install -g @ angular / cli I created a project like this: ng new project-name So far so good, but is it possible that when you create a project with the ng new eating it does not copy th...
asked by 02.05.2018 / 16:22
0
answers

NPM x NPM Orgs x NPM Enterprise

What's the difference between npm, npm orgs , and npm enterprise ?     
asked by 19.06.2018 / 23:18
0
answers

How to make a Docker image of a Node app that uses private repo that requires ssh

Following this guide from the Node.js site to create a Docker image for a Node application, everything succeeds except when you have a private repository for a certain npm package, like the following package.json snippet: "dependencies": {...
asked by 01.12.2017 / 02:12
0
answers

How to install npm on Heroku server?

Greeting for all, Recently I sent a Laravel project with VueJs to the Heroku server, and I noticed that it did not recognize my App.js file where the VueJs methods are located, that file is in the public folder, so there was no reason not to...
asked by 29.10.2017 / 12:12
1
answer

Create component to be used via npm

I started working a lot with vue and started using it on all the projects in the company where I work. And with that, I ended up creating some componentes , in general autocomplete , I know that there are many, I have already...
asked by 11.12.2017 / 14:35
2
answers

How to install Grunt offline?

I already have Node.js and Npm installed and wanted to know if there is a way to install Grunt and use it offline?     
asked by 04.03.2016 / 01:55
2
answers

What does the npm build command do?

I do not know much about Node, but I understand that npm is a package manager for node. As far as my view goes with npm I can download the project packages in a more practical way, I can host my project in a simpler way, not nee...
asked by 03.01.2019 / 18:30
2
answers

How to make NPM always update the last comite in the master?

I have a local repository (gitlab) with several components, I am pointing in package.json each component directly to this repository. Here is an example: "dependencies": { "XX-alert": "git+http://git.domain.com/XX-platform/XX-alert....
asked by 12.04.2016 / 19:17