You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I'm trying to use it on some project React+Webpack+TypeScript, I'm getting an error:
Error: Cannot find module 'node_modules\@swc\core\index.js'. Please verify that the package.json has a valid "main" entry
at tryPackage (internal/modules/cjs/loader.js:303:19)
at Function.Module._findPath (internal/modules/cjs/loader.js:516:18)
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the bug
When I'm trying to use it on some project React+Webpack+TypeScript, I'm getting an error:
Input code
webpack config:
Config
Expected behavior
no error happens
Version
The version of @swc/core: v1.2.52 (master branch)
The text was updated successfully, but these errors were encountered: