Closed stijnlw closed 1 week ago
No response
Since 'assert' has been removed from the spec in favor of 'with' ( see https://nodejs.org/api/esm.html#import-specifiers ) building on NodeJS 22 will throw the following error:
SyntaxError: Unexpected identifier 'assert'
All you have to do to fix is change 'assert' to 'with'
Always on NodeJS 22
"adminjs": "^7.8.1", "@adminjs/bundler": "^3.0.0", "@adminjs/design-system": "^4.1.1", "@adminjs/express": "^6.1.0", "@adminjs/import-export": "^3.0.0", "@adminjs/themes": "^1.0.1", "@adminjs/typeorm": "^5.0.1",
:tada: This issue has been resolved in version 7.8.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Contact Details
No response
What happened?
Since 'assert' has been removed from the spec in favor of 'with' ( see https://nodejs.org/api/esm.html#import-specifiers ) building on NodeJS 22 will throw the following error:
SyntaxError: Unexpected identifier 'assert'
All you have to do to fix is change 'assert' to 'with'
Bug prevalence
Always on NodeJS 22
AdminJS dependencies version
"adminjs": "^7.8.1", "@adminjs/bundler": "^3.0.0", "@adminjs/design-system": "^4.1.1", "@adminjs/express": "^6.1.0", "@adminjs/import-export": "^3.0.0", "@adminjs/themes": "^1.0.1", "@adminjs/typeorm": "^5.0.1",
What browsers do you see the problem on?
No response
Relevant log output
No response
Relevant code that's giving you issues
No response