Questions tagged as 'npm'

0
answers

How to run script npm in heroku in production?

I need to use the Sequelize migrations in a NodeJS application that is already in production in Heroku, but I do not know how to add the scripts in the package.json so that Database migrations always run, via npm script, by Heroku....
asked by 07.07.2017 / 23:07
0
answers

npm does not install dependencies and is apparently caught

When trying to install any dependency is not working, when searching about this some people said that the reason is npm not find folder for installation, but I changed the prefix in .npmrc to another folder and nothing. / p> Not...
asked by 15.07.2017 / 16:41
0
answers

Error in the NodeJs config module

I have a mysql.js file that accesses the database as follows: 'use strict'; var mysql = require('mysql'), config = require('config'); var connection = mysql.createConnection({ host: config.get('mysql.server'), user: config.get('m...
asked by 19.04.2017 / 19:41
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
0
answers

Configuration electron js on windows

I'm studying electron js and following this tutorial link however in windows there are some errors. First of all I gave the bug because of the enviroment in windows, I managed to solve this but then started another problem to run the npm run d...
asked by 10.11.2016 / 15:55
1
answer

Gulp Watch, SASS does not change you

My GULP: var gulp = require('gulp'), sass = require('gulp-ruby-sass'), imagemin = require('gulp-imagemin'), changed = require('gulp-changed'), browserSync = require('browser-sync'), livereload = require('gul...
asked by 11.07.2016 / 21:34
0
answers

Problem with NPM NodeJS Compass

I have a problem here with NodeJS. First slash the command: npm i Then run the command: grunt Here's the error: Warning: Couldn't find the 'compass.bat' binary. Make sure it's installed and in your $PATH Use --force to...
asked by 01.05.2016 / 01:12
1
answer

Sub Gruntfile.js Inheriting node_modules from the root

I'm in a project (in laravel 4.2) where they made a mega Gruntfile.js, so I decided to organize and create a Gruntfile.js for each set of project assets. The problem: I do not want to have to give a 'npm install' for each subproject (because f...
asked by 12.02.2016 / 22:30
1
answer

Bower in Visual Studio 2015

I downloaded Visual Studio 2015 Community and went to test to see if everything was OK. But it is not, when I create an ASP.NET MVC 5 web project, the bower.json file does not 'offer' Intellisense as it shows in some tutorials. Anyone have any i...
asked by 09.10.2015 / 06:33
2
answers

Error installing Ionic + Cordova

error messages when I try to install Ionic (npm install -g ionic cordova) can anybody help me? I'm using node 6.9. Thanks     
asked by 25.01.2017 / 23:12