-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Spack: "not processed by tsc resolver because base module is in node_modules" #2574
Comments
I am running into a similar issue, can you suggest a workaround? |
I have a similar issue:
This is a package inside a yarn monorepo. Running |
+1 Same issue when I want to use spack packing nestjs |
Because of the Same error and issue. [Error: load_transformed failed
Caused by:
0: failed to analyze module
1: failed to resolve node:http from /Users/mohamedlamineallal/repos/tsconfig-interface/node_modules/.pnpm/node-fetch@3.2.10/node_modules/node-fetch/src/index.js
2: not processed by tsc resolver because base module is in node_modules
3: Impossible to get the node_modules path] {
code: 'GenericFailure'
} In my case, the module is in jest for example the Same thing with webpack and Esbuild by default transpile unless u set packages to external evanw/esbuild#619 |
Having the same issue. No response to this issue in nearly a year. 😞 |
Describe the bug
spack
cannot finish compiling with the following error:Input code
reproduce repo: https://github.com/nartc/nest-swc-reproduce
yarn
spack
with--config
pointing tospack.config.js
Config
Expected behavior
Spack should finish successfully
Version
The version of @swc/core: 1.2.105
Additional Context
Running
swc src -d dist
works. So I'm not sure what's going on here. I expectspack
to behave somewhat similar toswc
given similar configurationsThe text was updated successfully, but these errors were encountered: