2 Replies Latest reply on Nov 1, 2019 2:21 PM by DaveArch

    Cannot add SASS using ojet CLI - postInstall Fails

    DaveArch

      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.