Closed thecoldstone closed 3 weeks ago
Thanks for reporting @thecoldstone
Looks like we missed a deprecation in V8: https://v8.dev/features/import-attributes
We'll prepare a fix. Until then, please downgrade to an older Node.js release.
Looks like I jumped the gun on this one.
I actually can't reproduce this issue using Node.js 22.7.0 and UI5 CLI v3.11.1 or the latest v4.0.5. I also couldn't find code that still makes use the import assert keyword. I think we removed affected code a while ago.
I disabled the configured custom middleware in your project one by one to test which one is causing the error. It looks like the "dwc" middleware is the culprit. Please contact the maintainers of that package directly as it is not in our responsibility.
Also please keep in mind that github.com is a public platform. Therefore you must not post any internal URLs. I have removed the URL from your post.
Expected Behavior
Project is running locally
Current Behavior
Fails with the following error when I run ui5 serve --port 3000 --config ui5-local.yaml --open index.html
Steps to Reproduce the Issue
Context
ui5 --version
when using the CLI): 3.11.110.8.2
MacOs
unknown
nothing
Log Output / Stack Trace