When running the command npx preevy init, I encountered the following error:
SyntaxError: Unexpected identifier 'assert'
Add screenshots
Steps to reproduce the behavior
Open a terminal or command prompt.
Run the command npx preevy init.
The error SyntaxError: Unexpected identifier 'assert' is displayed.
Run the command preevy init.
The same error 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:
npm install -g preevy
⠼
⠦
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm warn deprecated @aws-sdk/util-waiter@3.374.0: This package has moved to @smithy/util-waiter
added 766 packages in 2m```
nodejs version:
node -v
v22.1.0
### Record
- [X] I agree to follow this project's Code of Conduct
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: