-
Notifications
You must be signed in to change notification settings - Fork 78
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
[Bug]: SyntaxError: Unexpected identifier 'assert' #492
Labels
bug
Something isn't working
Comments
Hi @ShivamB25
|
Looks related to the latest changes in Node.js 22: nodejs/node#52104 |
royra
pushed a commit
that referenced
this issue
May 18, 2024
- replace import `assert` keyword with `with`, see #492 - upgrade azure package to support node v22
royra
added a commit
that referenced
this issue
May 28, 2024
- remove import `with` keyword, see #492. tried replacing with newer `assert` syntax but it was [breaking](nodejs/node#52104 (comment)) older node 18 versions. - upgrade azure package to support node v22 - bump packaged oclif node version to latest LTS (20.13.1) - bump node version for CI workflows to 20.x - keep supported version in package.json to >=18.0.0 --------- Co-authored-by: Roy Razon <[email protected]>
thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
When running the command npx preevy init, I encountered the following error:
SyntaxError: Unexpected identifier 'assert'
Add screenshots
Steps to reproduce the behavior
npx preevy init
.SyntaxError: Unexpected identifier 'assert'
is displayed.preevy init
.SyntaxError: Unexpected identifier 'assert'
is displayed.Expected behavior
expected the Preevy project initialization process to start without any errors. However, instead of the expected behavior, I encountered the
SyntaxError: Unexpected identifier 'assert'
error.[1]What OS are you seeing the problem on?
MacOS
Additional context
while installing i received this:
The text was updated successfully, but these errors were encountered: