-
-
Notifications
You must be signed in to change notification settings - Fork 797
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
Getting ERR_PACKAGE_PATH_NOT_EXPORTED error in monorepo when updating to Node 16 #1550
Comments
One other note, just went back down a version (to |
Seeing the same issue on Node16. Was trying to switch to top level awaits but can't seem to go serverless-offline-9.x to start using this feature. Everything worked fine on serverless-offline-8.8, but that doesn't support top level await yet. |
that's really weird. you might want to try some equivalent of if that doesn't help try to see if you have multiple versions of if none of this helps I would like to ask you to create a really simple repro repository, but I don't think it will be needed. |
Figured it out, it's actually an issue in the |
thanks for linking the issue @joshdura in addition: rubenkaiser/serverless-offline-eventBridge#60 |
I am running a serverless application in a yarn workspaces monorepo. When trying to run the
serverless offline
command after updating to Node 16 (from Node 12), I get the following error:The start script in my
package.json
file is as follows:Serverless versions here:
Any idea what might be causing this (or any possible workarounds)? I have tried a complete reinstall via yarn as has been suggested in other articles I have read on this issue, but it doesn't work.
The text was updated successfully, but these errors were encountered: