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
yarn prepack
results in error "Cannot find name 'queueMicrotask'"
#1038
Comments
This issue has been linked to a new work item: W-9368257 |
@fransflippo Thank for bring this issue to our attention. We are working on a permanent fix for this issue. In the mean time try this workaround.
|
Thanks @peternhale, I had the same issue with a newly-generated plugin and your suggested workaround fixed it for me :-) |
Thank you @peternhale , that works! |
This worked for me, thanks! |
This problem still appears. After much finagling, I came across this error: Judging by that, I upgrade my Node version from 14.5 to 14.13.1, and was able to run |
Summary
Generating a new plugin and running
yarn prepack
results in an error from the Typescript compiler.Steps To Reproduce:
sfdx plugins:generate
cd
into the directory that is createdyarn prepack
Expected result
Compilation is successful.
Actual result
Error is displayed:
Additional information
SFDX CLI Version: sfdx-cli/7.103.0 darwin-x64 node-v14.17.0
OS and version: MacOS 10.14.6
Node version: v13.2.0
The text was updated successfully, but these errors were encountered: