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!

Error adding sass to a JET project

Ivan DikanevMay 16 2019 — edited May 22 2019

Hello,

I'm trying to use theming in my Jet 6.2.0 application.

When I issue ojet add sass  command, its execution fails with the following:

2119 warn qunit-reporter-junit@1.1.1 requires a peer of qunitjs@* but none is installed. You must install peer dependencies yourself.

2120 verbose stack Error: node-sass@4.7.2 postinstall: `node scripts/build.js`

2120 verbose stack Exit status 1

2120 verbose stack     at EventEmitter.<anonymous> (C:\Users\idikanev\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)

2120 verbose stack     at EventEmitter.emit (events.js:189:13)

2120 verbose stack     at ChildProcess.<anonymous> (C:\Users\idikanev\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)

2120 verbose stack     at ChildProcess.emit (events.js:189:13)

2120 verbose stack     at maybeClose (internal/child_process.js:970:16)

2120 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

2121 verbose pkgid node-sass@4.7.2

2122 verbose cwd C:\home\temp\MyApp

2123 verbose Windows_NT 10.0.17134

2124 verbose argv "C:\\soft\\nodejs\\node.exe" "C:\\Users\\idikanev\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "node-sass@4.7.2" "--save-dev"

2125 verbose node v10.15.2

2126 verbose npm  v6.9.0

2127 error code ELIFECYCLE

2128 error errno 1

2129 error node-sass@4.7.2 postinstall: `node scripts/build.js`

2129 error Exit status 1

2130 error Failed at the node-sass@4.7.2 postinstall script.

2130 error This is probably not a problem with npm. There is likely additional logging output above.

2131 verbose exit [ 1, true ]

To me it looks like an issue with SASS installation but in JET it's wrapped in ojet add sass command.

Could you please provide some guidance on how to resolve this?

Comments
Post Details
Added on May 16 2019
10 comments
1,230 views