-
Notifications
You must be signed in to change notification settings - Fork 6
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
Syntax error: Unexpected token 'export' #133
Comments
Seeing the same. Imho modules like |
+1 |
For anyone here, you can manually pin this dependency when you install, which will get this working, but it's not a very permanent fix. @SB-rohitdesai @prafullaAtSB can this be rolled back or fixed easily #132 ? |
This change is also impacting |
We're seeing the same when installing the spectral-cli like this: npm install -g @stoplight/spectral-cli |
We are currently working on fixing this! |
🎉 This issue has been resolved in version 3.21.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
We're getting some issues in our CI using prism. Looks like it's related to this release ( https://github.com/stoplightio/json/releases/tag/v3.21.1) ?
Context
It's preventing us from running integration tests atm.
Current Behavior
On running prism we see:
Expected Behavior
It should run :-)
Steps to Reproduce
We're using the
cimg/python:3.12.3-node
docker image, installing prism with:npm install --prefix=$HOME/.local -g @stoplight/prism-cli
The error raises when we run prism mock.
## Workarounds
You can manually pin the json version to a working version on install as a temporary workaround:
npm install --prefix=$HOME/.local -g @stoplight/json@3.21.0 @stoplight/prism-cli
Environment
The text was updated successfully, but these errors were encountered: