Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cannot add SASS using ojet CLI - postInstall Fails

DaveArchOct 28 2019 — edited Nov 1 2019

Hi community

Jet newbie I'm afraid.

Node version: 12.13.0

NPM version: 6.12.0

OJet version: 7.2.0

Trying to add SASS to my application using 'ojet add sass' which is failing with the following:

Error: node-sass@4.11.0 postinstall: `node scripts/build.js`

Exit status 1

    at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)

    at EventEmitter.emit (events.js:210:5)

    at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)

    at ChildProcess.emit (events.js:210:5)

    at maybeClose (internal/child_process.js:1021:16)

    at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

errno 1

node-sass@4.11.0 postinstall: `node scripts/build.js`

Exit status 1

Failed at the node-sass@4.11.0 postinstall script.

Similar issue here but I am already using Jet 7.x and this thread relates to Jet 6.x

https://community.oracle.com/message/15368265#15368265

Any ideas gratefully received.

This post has been answered by DaveArch on Nov 1 2019
Jump to Answer
Comments
Post Details
Added on Oct 28 2019
2 comments
941 views