We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I build my node app as esm module, it unable to run with node, because of following error:
file:///Users/whalemare/ts-pipeline/dist/apps/node-example/main.js:12 throw new Error('Dynamic require of "' + x + '" is not supported');
My node-example app builded with success
node-example
https://github.com/whalemare/ts-pipeline
git clone https://github.com/whalemare/ts-pipeline cd ts-pipeline git checkout feature/esbuild yarn install
nx run node-example:build node dist/apps/node-example/main.js
λ ts-pipeline feature/esbuild ✓ yarn nx report yarn run v1.22.17 $ /Users/whalemare/ts-pipeline/node_modules/.bin/nx report > NX Falling back to ts-node for local typescript execution. This may be a little slower. - To fix this, ensure @swc-node/register and @swc/core have been installed > NX Report complete - copy this into the issue template Node : 18.15.0 OS : darwin arm64 yarn : 1.22.17 nx : 15.9.2 @nrwl/js : 15.9.2 @nrwl/jest : 15.9.2 @nrwl/linter : 15.9.2 @nrwl/workspace : 15.9.2 @nrwl/cli : 15.9.2 @nrwl/cypress : 15.9.2 @nrwl/devkit : 15.9.2 @nrwl/esbuild : 15.9.2 @nrwl/eslint-plugin-nx : 15.9.2 @nrwl/node : 15.9.2 @nrwl/react : 15.9.2 @nrwl/tao : 15.9.2 @nrwl/vite : 15.9.2 @nrwl/web : 15.9.2 @nrwl/webpack : 15.9.2 typescript : 4.9.4
No response
The text was updated successfully, but these errors were encountered:
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Current Behavior
When I build my node app as esm module, it unable to run with node, because of following error:
Expected Behavior
My
node-example
app builded with successGitHub Repo
https://github.com/whalemare/ts-pipeline
Steps to Reproduce
Nx Report
Failure Logs
Additional Information
No response
The text was updated successfully, but these errors were encountered: