running into problem with node sass, how to fix it? - node.js

Running into this issue,
while tried to install node sass many times
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass#4.14.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass#4.14.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:

I advise you to use the Visual Studio Code editor and install the live sass compiler extension.
https://marketplace.visualstudio.com/items?itemName=ritwickdey.live-sass

Related

Failed to start npm start

I am trying to run my React project, but I am not able to run it. The project contains typescript enabled with eslint. I tried to solve the issue with the help of previously asked questions Question, but that did not work for me.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! slipstream-frontend#0.3.0 lint: `eslint --ext js,ts,tsx src`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the slipstream-frontend#0.3.0 lint script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ROHIT AGGARWAL\AppData\Roaming\npm-cache\_logs\2020-10-12T06_02_13_786Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! slipstream-frontend#0.3.0 prestart: `npm run lint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the slipstream-frontend#0.3.0 prestart script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ROHIT AGGARWAL\AppData\Roaming\npm-cache\_logs\2020-10-12T06_02_15_471Z-debug.log
I have tried to delete package.json file and then
npm cache clean
npm install
That didn't worked for me.
Yes this might happen,
Start with commands in terminal
npm unit react-app app_name
cd app_name
npm start

ERROR npm install - node-sass#4.13.1 postinstall: `node scripts/build.js

Whenever I npm install, I get an
npm ERR! errno 1
npm ERR! node-sass#4.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass#4.13.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.```
I've tried deleting node_modules, but I am getting not luck.
You have to upgrade your node-sass 4.13.1 to node-sass#4.14
Install earlier version of Node. Version 12.16 should work.

How can I solve ELIFECYCLE npm Loopback error?

I've been trying to solve this error without success when running Loopback:
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! backend#1.0.0 start: `node -r source-map-support/register .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the backend#1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-03-30T22_35_05_684Z-debug.log
I have tried to solve it, by verifying the cache, and updating the npm version, but I couldn't.
Pd: I'm using Linux (Ubuntu 19.10).

npm install error after uninstalling Hyperledger-composer - Blockchain

Hello I'm currently learning hyperledger composer but I reinstalled it and i'm installing it again. Now when I npm install, I get the error below. If anyone can help me out that would be great.
➜ Dabbous-Innopay npm install
> fabric-dev-servers#0.0.14 prepare /Users/alydabbous/code/Dabbous-Innopay
> npm run build-archives
> fabric-dev-servers#0.0.14 build-archives /Users/alydabbous/code/Dabbous-Innopay
> gulp --gulpfile .travis/gulp.js
[16:45:08] No gulpfile found
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fabric-dev-servers#0.0.14 build-archives: `gulp --gulpfile .travis/gulp.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fabric-dev-servers#0.0.14 build-archives script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/alydabbous/.npm/_logs/2018-11-05T15_45_08_550Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fabric-dev-servers#0.0.14 prepare: `npm run build-archives`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fabric-dev-servers#0.0.14 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/alydabbous/.npm/_logs/2018-11-05T15_45_08_587Z-debug.log
Make sure You are Using Node 8.9 or bellow:
node -v
if output is more than 8.9 then uninstall node and re-install it with 8.9 version or use nvm(Node Version Manager). Google it you can find above process easily.

Npm start gives the error

everyone!
I am trying to run default task on npm run command on Windows 10.
That is an error that I have got while using it.
npm ERR! code ELIFECYCLE
npm ERR! errno 9
npm ERR! builderLight#0.0.15 start: `bower install && gulp --debug`
npm ERR! Exit status 9
npm ERR!
npm ERR! Failed at the builderLight#0.0.15 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache\_logs\2018-04-29T15_01_45_882Z-debug.log
How to fix this bug?
You simply have to run first: npm install or bower install

Resources