-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Bug Report
Error: SyntaxError: Unexpected token 'catch' at line 208 in index.js
Environment:
- Node.js v24.3.0
- Package: hello-simone@0.5.1
Error Details:
file:///Users/ar4mirez/.npm/_npx/87ebae3c618ab614/node_modules/hello-simone/index.js:208
} catch (error) {
^^^^^
SyntaxError: Unexpected token 'catch'
at compileSourceTextModule (node:internal/modules/esm/utils:351:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:107:18)
Root Cause:
There appears to be a malformed try-catch block where the catch statement is not properly paired with a try statement.
Expected Behavior:
The package should install and run without syntax errors.
Actual Behavior:
Package fails to load due to syntax error in try-catch block.
Metadata
Metadata
Assignees
Labels
No labels