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
As shown in the picture above, using TypeScript, I can't import a module.
Therefore, I added the node linker: node-modules to the .yarnc.yml file and it was imported normally.
But this wasn't the way I wanted it to be.
So I downgrade the TypeScript version to 4.3.5, and this also solved the problem.
But this wasn't the way I wanted it either.
Is there any way to solve this?
Self-service
Describe the bug
As shown in the picture above, using TypeScript, I can't import a module.
Therefore, I added the node linker: node-modules to the .yarnc.yml file and it was imported normally.
But this wasn't the way I wanted it to be.
So I downgrade the TypeScript version to 4.3.5, and this also solved the problem.
But this wasn't the way I wanted it either.
Is there any way to solve this?
To reproduce
package.json
tsconfig.json
.yarnrc.yml
Environment
System:
OS: macOS 11.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 16.2.0 - /private/var/folders/0l/txz4jsg559s1681bszrjjxkr0000gn/T/xfs-4975a7ce/node
Yarn: 3.0.1 - /private/var/folders/0l/txz4jsg559s1681bszrjjxkr0000gn/T/xfs-4975a7ce/yarn
npm: 7.20.3 - /usr/local/bin/npm
Additional context
No response
The text was updated successfully, but these errors were encountered: