Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
darshanputtaswamy opened this issue Jul 9, 2021 · 4 comments

Comments

@darshanputtaswamy
Copy link

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
Copy link
Author

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

@peppertech
Copy link
Member

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
Copy link
Author

Thanks, @peppertech . will wait for the latest release

@peppertech
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants