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!

ojet build --release error

4165478Apr 1 2020 — edited Apr 3 2020

Hello,

I am new to oracle jet build process and need to minify application, so that I run command ojet build release but got below error. Any help would be appreciate.

C:\devadmin\ft-pwa-app>ojet build --release

Warning: Command is missing platform. Default to web.

Cleaning staging path.

Running before_build hook.

Copy files to staging directory.

Copy finished.

Copy library files to staging directory.

Copy finished.

Copy reference components to staging directory.

Copy finished.

Copy local web components

Copy local web components finished

Optimizing svg into SVG sprites.

Svg optimization task finished.

Compiling sass...

Sass compile finished.

Task index.html cdn bundle injection finished.

Running theme injection task.

Task index.html theme path injection finished.

Running theme copy task.

Theme copy task finished.

Running injection tasks.

Task main.js paths injection finished.

Running injection tasks for es5.

Running before_release_build hook.

Task main.js paths injection finished.

Running component requirejs task.

Hook before_component_optimize not defined..

Component task requirejs finished.

Running terser task.

Task terser finished.

Running requirejs task.

Hook before_optimize not defined..

Task requirejs finished *.

Running requirejs tasks for ES5.

Hook before_optimize not defined..

Error: Error: ENOENT: no such file or directory, open 'C:/devadmin/ft-pwa-app/web/js/corejs.js'

at Object.openSync (fs.js:440:3)

Attached project structure

pastedImage_0.png

Comments
Post Details
Added on Apr 1 2020
6 comments
642 views