Questions tagged as 'npm'

2
answers

Error installing Cordova with npm in Windows 10

When executing in console (cmd) npm install -g cordova I get the following error: npm ERR! Unexpected end of JSON input while parsing near '...:"^4.3.x","shelljs":"' npm ERR! A complete log of this run can be found in: npm ERR! C:\...
asked by 06.06.2018 / 03:17
1
answer

problem generating css with node-sass

To add the conversion from sass to css on my node I followed the steps of this tutorial , after completing it my file package.json looks like this: { "name": "kimera", "version": "0.4.4", "description": "A Modern CSS and JS frame...
asked by 24.03.2018 / 09:33
1
answer

Uninstall Windows NPM

I have a problem, I want to uninstall NVM from windows because, it does not let me run angular applications, someone knows how to uninstall it     
asked by 21.09.2017 / 16:14
2
answers

Node -npm start npm ERR! missing script: start

Hello, I'm using Node to make a RESTFUL API. I just found out that now npm uses package-lock.json and I do not know if this changes the way you work with node ... this is my error and my code var express = require('express') var a...
asked by 02.02.2018 / 18:15
1
answer

Class constructors can not be invoked without 'new'

I was trying to make a package of npm , something simple: class Hello { constructor(world){ this._world = world | 'world'; } world(){ return this._world; } } module.exports = Hello; After doing tests...
asked by 02.02.2018 / 15:09
1
answer

Error starting npm start

When I run npm start in my terminal it gives me the following error: npm ERR! Linux 4.13.0-38-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" I do not know what the error is. Could someone help me out?     
asked by 19.04.2018 / 21:27
1
answer

Error in loaders in webpack

I want to set up a project in React from scratch. Launches the following error: ERROR in ./src/js/main.js Module build failed: SyntaxError: Unexpected token (5:4) 3 | 4 | ReactDOM.render( > 5 | <h1>Hello, world!</h1&...
asked by 28.03.2018 / 22:07
0
answers

How to start the npm server?

I try to start the npm server related with this tutorial . I understood that I had to download npm and try (or had?) To download npm and try npm start . However, he got errors when he started it. mike@mike-thinks:~/Documents/programming...
asked by 24.11.2018 / 10:49
0
answers

Errors installing the npm to use Vue.js in laravel 5.5.44

Good Friends this time I'm here xq I find a small problem that suddenly many could give me a hand ... the issue is as follows: when executing on the command line: npm run dev throws me the following errors; I've seen in this...
asked by 10.11.2018 / 03:08
1
answer

Problem when creating or starting an ionic project in macos

I'm trying to install ionic on my macbook, and I've had a lot of trouble trying to install NODE and npm, in the end I managed to install everything without any errors, but when I try to start the project, with this command: sudo ionic start io...
asked by 10.09.2018 / 10:04