-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
- 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 [email protected]: this library is no longer supported
npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated [email protected]: 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/[email protected]: 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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working