Giter VIP home page Giter VIP logo

oraclejet-tooling's Introduction

@oracle/oraclejet-tooling 16.1.0

About the tooling API

This tooling API contains methods to build and serve Oracle JET web apps. It is intended to be used with task running tools such as grunt or gulp. The APIs can also be invoked directly.

This is an open source project maintained by Oracle Corp.

Installation

This module will be automatically installed when you scaffold a web app following the Oracle JET Developers Guide.

Contributing

This project is not accepting external contributions at this time. For bugs or enhancement requests, please file a GitHub issue unless it’s security related. When filing a bug remember that the better written the bug is, the more likely it is to be fixed. If you think you’ve found a security vulnerability, do not raise a GitHub issue and follow the instructions in our security policy.

Security

Please consult the security guide for our responsible security vulnerability disclosure process

License

Copyright (c) 2024 Oracle and/or its affiliates and released under the Universal Permissive License (UPL), Version 1.0

oraclejet-tooling's People

Contributors

benm071 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oraclejet-tooling's Issues

Missing qunit dependency after update to v4.1 -- ojet build crashes

I recently migrated from JET v3.0.0 to v4.1 and running ojet build crashes because it cannot find qunit-reporter-junit. Same goes for qunit after i manually installed the former. Seems that the npmCopyConfig.js file declares these files to be copeid to the libs folder, but they are not listed as a dependency in the package.json.

Manually installing both dependencies solved the issue, but I think they should at least be included in the package.json, or not mandatory at all because some people (like me) do not use QUnit for testing.

Thanks and keep up the good work! :)

Here's the error log upon running ojet build:

→ ojet build
 Oracle JET CLI
Warning: Missing platform. Default to web.
 Oracle JET Tooling
cleaning staging path.....
copy files to staging directory.....
copy finished...
copy library files to staging directory.....
{ Error: ENOENT: no such file or directory, stat 'node_modules/qunit-reporter-junit/qunit-reporter-junit.js'
    at Object.fs.statSync (fs.js:954:18)
    at Object.statSync (/Users/jk/dev/workspace/enpit/js/enpit.jet.travelcost/node_modules/graceful-fs/polyfills.js:297:22)
    at Object.copySync (/Users/jk/dev/workspace/enpit/js/enpit.jet.travelcost/node_modules/@oracle/oraclejet-tooling/node_modules/fs-extra/lib/copy-sync/copy-sync.js:31:86)
    at Promise (/Users/jk/dev/workspace/enpit/js/enpit.jet.travelcost/node_modules/@oracle/oraclejet-tooling/lib/buildCommon.js:51:14)
    at _copyFileToStaging (/Users/jk/dev/workspace/enpit/js/enpit.jet.travelcost/node_modules/@oracle/oraclejet-tooling/lib/buildCommon.js:43:10)
    at _copyLibsToStaging (/Users/jk/dev/workspace/enpit/js/enpit.jet.travelcost/node_modules/@oracle/oraclejet-tooling/lib/buildCommon.js:249:12)
  errno: -2,
  code: 'ENOENT',
  syscall: 'stat',
  path: 'node_modules/qunit-reporter-junit/qunit-reporter-junit.js' }

Error: Error: ENOENT: no such file or directory, open 'MySampleApp\hybrid\platforms\platforms.json'

When I save a change to dashboard.html in an application, I get a error Error: Error: ENOENT: no such file or directory, open 'C:\Users\papcai\Desktop\MySampleApp\hybrid\platforms\platforms.json'.

My command line:

C:\Users\papcai\Desktop\MySampleApp> ojet serve android --browser
Build: true
BuildType: dev
Destination: browser
Destination target: chrome
Livereload: true
Livereload port: 35729
Platform: android
Theme: alta
Theme platform: android
Theme version: 5.0.0
Building app.
Cleaning staging path.
Running before_build hook.
(node:3772) ExperimentalWarning: The fs.promises API is experimental
Cleaning staging path.
Copy files to staging directory.
Copy finished.
Copy library files to staging directory.
Copy finished.
Optimizing svg into SVG sprites.
Svg optimisation task finished.
Compiling sass.
Sass compile finished.
Task index.html cdn bundle injection finished.
Running theme copy task.
Theme copy task finished.
Running theme injection task.
Task index.html theme path injection finished.
Injecting index.html with cordova script.
Running injection tasks.
Task main.js paths injection finished.
Running after_build hook.
Running before_serve hook.
Executing: cmd.exe /s /c cordova serve
Android Studio project detected

Error:Error: ENOENT: no such file or directory, open 'C:\Users\papcai\Desktop\MySampleApp\hybrid\platforms\android\res\xml\config.xml'

Static file server running on: http://localhost:8006 (CTRL + C to shut down)
Executing: cmd.exe /s /c cordova run browser -- --target="chrome"

startPage = index.html

Static file server running @ http://localhost:8007/index.html
CTRL + C to shut down

Starting watcher.
Running after_serve hook.
Listening on port 35729.
Watching files.
Watcher: sass is ready.
Watcher: sourceFiles is ready.
200 /index.html (gzip)
200 /js/cordovaMocks.js
200 /css/app.css
200 /cordova.js (gzip)
200 /js/main.js (gzip)
200 /js/libs/require/require.js (gzip)
200 /css/demo-alta-site-min.css (gzip)
200 /css/alta/5.0.0/android/alta.css (gzip)
200 /cordova_plugins.js
200 /js/appController.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojcore.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojmodule.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojrouter.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojknockout.js (gzip)
200 /js/libs/knockout/knockout-3.4.2.debug.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojmodule-element-utils.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojmodule-element.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojnavigationlist.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojmoduleanimations.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojarraytabledatasource.js (gzip)
200 /js/libs/oj/v5.0.0/ojL10n.js (gzip)
200 /js/libs/es6-promise/es6-promise.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojkoshared.js (gzip)
200 /js/libs/jquery/jqueryui-amd-1.12.1/widget.js (gzip)
200 /js/libs/js-signals/signals.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojcomposite.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojanimation.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojdatasource-common.js (gzip)
200 /js/libs/jquery/jqueryui-amd-1.12.1/version.js
200 /js/libs/oj/v5.0.0/resources/nls/ojtranslations.js (gzip)
200 /js/libs/jquery/jquery-3.3.1.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojcomposite-knockout.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojcustomelement.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojbutton.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojmenu.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojcomponentcore.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojlistview.js (gzip)
200 /js/libs/webcomponents/custom-elements.min.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojjquery-hammer.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojoption.js (gzip)
200 /js/libs/hammer/hammer-2.0.8.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojpopupcore.js (gzip)
200 /js/libs/jquery/jqueryui-amd-1.12.1/unique-id.js
200 /js/libs/jquery/jqueryui-amd-1.12.1/keycode.js
200 /js/libs/jquery/jqueryui-amd-1.12.1/tabbable.js
200 /js/libs/jquery/jqueryui-amd-1.12.1/focusable.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojmessaging.js (gzip)

200 /js/libs/oj/v5.0.0/debug/ojdomscroller.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojkeyset.js (gzip)
200 /js/libs/oj/v5.0.0/debug/ojdataprovideradapter.js (gzip)
200 /js/libs/jquery/jqueryui-amd-1.12.1/position.js (gzip)

200 /js/libs/oj/v5.0.0/debug/ojeventtarget.js (gzip)

200 /js/libs/oj/v5.0.0/debug/ojdataprovider.js (gzip)

Watcher: themes is ready.
200 /css/fonts/App_iconfont.woff

200 /js/libs/require/text.js (gzip)

200 /js/viewModels/dashboard.js (gzip)

200 /js/views/dashboard.html

200 /js/views/header.html

Changed: C:\Users\papcai\Desktop\MySampleApp\src\js\views\dashboard.html
Error: Error: ENOENT: no such file or directory, open 'C:\Users\papcai\Desktop\MySampleApp\hybrid\platforms\platforms.json'

PS C:\Users\papcai\Desktop\MySampleApp>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.