oracle / oraclejet

Oracle JET is a modular JavaScript Extension Toolkit for developers working on client-side applications.
https://oracle.com/jet
Other
501 stars 115 forks source link

ojet create theme myTheme fails to create all sass file under theme directory #76

Open darshanputtaswamy opened 3 years ago

darshanputtaswamy commented 3 years ago

D:\Projects\MARC\test\JET-Theme-Builder-CSS-Vars>ojet create theme myTheme --basetheme=redwood

'Adding basetheme: redwood to D:\Projects\MARC\test\JET-Theme-Builder-CSS-Vars\src\themes\myTheme\theme.json'.
Success: myTheme theme added, with css variables support.
(node:19336) UnhandledPromiseRejectionWarning: undefined
(Use `node --trace-warnings ...` to show where the warning was created)
(node:19336) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside 
of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the 
node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:19336) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

dpp@DPP-IN MINGW64 /d/Projects/MARC/test/JET-Theme-Builder-CSS-Vars/src/themes/myTheme $ ls -ltR

.:
total 1
-rw-r--r-- 1 dpp 197121 83 Jul  9 22:22 theme.json
drwxr-xr-x 1 dpp 197121  0 Jul  9 22:22 web

./web:
total 5
-rw-r--r-- 1 dpp 197121 353 Oct 26  1985 _mytheme.optimize-components.scss
-rw-r--r-- 1 dpp 197121 905 Oct 26  1985 mytheme.scss

Based on documentation it should have created | myTheme.scss | _myTheme.cssvars.settings.scss | _myTheme.optimize-components.scss | _myTheme.sass.settings.scss

https://docs.oracle.com/en/middleware/developer-tools/jet/11/develop/work-custom-themes-and-component-styles.html#GUID-8334271E-07E2-4025-A30D-C0EB839120AB

darshanputtaswamy commented 3 years ago

Looks like JET-Theme-Builder-CSS-Vars is created with the older version of npm

peppertech commented 3 years ago

I provided an answer in your other issue, and I think the same answer is going to fit this. You have pulled down the latest release of JET (which was pushed to npm about 3 hours ago) but the website and official release of JET v11 will not happen until Monday the 12th.

Please hang on for a few more days and then try this again.

darshanputtaswamy commented 3 years ago

Thanks, @peppertech . will wait for the latest release

peppertech commented 3 years ago

This should be ready for you to try it again. Sorry for the troubles.