Closed arx-8 closed 1 year ago
I made the following changes and had success with pnpm. https://github.com/arx-8/try-frourio-ts/commit/605f5a9c69357265e38671945309438c6b8055fa
It appears that the problem is a combination of the following:
The tsc does not seem to be able to read the type info of grandchildren and their great-grandchildren of dependencies installed by pnpm.🤔
I was able to avoid that by setting up node-linker="hoisted"
.
I don't understand the side effects of the node-linker="hoisted"
setting, but at least it doesn't seem to be a frourio problem.
I apologize if I have caused you to do any unnecessary research, but I hope this issue will be of use to someone. 🙏
Description
After replacing
npm
withpnpm
, I am getting an error intypecheck
. Is there any way to work around this?Minimum project for repro. https://github.com/arx-8/try-frourio-ts
Please see each of the commits below; after replacing to
pnpm
, a type error occurs. https://github.com/arx-8/try-frourio-ts/commits/mainThe actual error messages are described below.
Environment
v0.31.0
v18.13.0
8.19.3
7.25.0
Additional context
I created the project with the following settings. (In practice, this command may not work because I used the create-frourio-app GUI.)
pnpm run typecheck
result