We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying out theming for the fusion auth hosted pages, in which the workflow looks amazing
https://fusionauth.io/docs/customize/look-and-feel/tailwind#installation
But, I'm having a problem on node v22 when I attempt to download the theme via the API as described in the docs:
file:///Users/theo/projects/monarch/developer-portal/fusion-auth-pages/node_modules/@fusionauth/cli/dist/index.js:7 import pkg from '../package.json' assert { type: 'json' };
This is because the assert syntax was changed in node v22:
https://stackoverflow.com/questions/78876691/syntaxerror-unexpected-identifier-assert-on-json-import-in-node-v22
they changed assert to with:
assert
with
import config from "./some-config-file.json" with { type: "json" };
So basically @fusionauth/cli is incompatible with node v22 which is the current LTS.
@fusionauth/cli
The text was updated successfully, but these errors were encountered:
Note in v20 and v22, you can use with, but not with v18:
v20
v22
v18
nodejs/node#51622
Sorry, something went wrong.
No branches or pull requests
I'm trying out theming for the fusion auth hosted pages, in which the workflow looks amazing
https://fusionauth.io/docs/customize/look-and-feel/tailwind#installation
But, I'm having a problem on node v22 when I attempt to download the theme via the API as described in the docs:
file:///Users/theo/projects/monarch/developer-portal/fusion-auth-pages/node_modules/@fusionauth/cli/dist/index.js:7 import pkg from '../package.json' assert { type: 'json' };
This is because the assert syntax was changed in node v22:
https://stackoverflow.com/questions/78876691/syntaxerror-unexpected-identifier-assert-on-json-import-in-node-v22
they changed
assert
towith
:import config from "./some-config-file.json" with { type: "json" };
So basically
@fusionauth/cli
is incompatible with node v22 which is the current LTS.The text was updated successfully, but these errors were encountered: