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
After starting webpack, it throws errors in several places, saying TS2307: Cannot find module '@nodegui/nodegui' or its corresponding type declarations. I noticed that @nodegui/nodegui is not declared anywhere in package.json despite being used in multiple places across the source code.
My guess is that you're relying on @nodegui/nodegui being included as a dependency from the @nodegui/react-nodegui package, making it a phantom dependency, which should be avoided. This isn't a problem when using regular npm and yarn, but it breaks (at least for me it did) when using pnpm.
Please consider adding @nodegui/nodegui as a dependency in this project or specify it as a peer dependency in the react-nodegui package to make it work effortlessly with pnpm.
The text was updated successfully, but these errors were encountered:
After starting webpack, it throws errors in several places, saying
TS2307: Cannot find module '@nodegui/nodegui' or its corresponding type declarations
. I noticed that@nodegui/nodegui
is not declared anywhere in package.json despite being used in multiple places across the source code.My guess is that you're relying on
@nodegui/nodegui
being included as a dependency from the@nodegui/react-nodegui
package, making it a phantom dependency, which should be avoided. This isn't a problem when using regular npm and yarn, but it breaks (at least for me it did) when using pnpm.Please consider adding
@nodegui/nodegui
as a dependency in this project or specify it as a peer dependency in the react-nodegui package to make it work effortlessly with pnpm.The text was updated successfully, but these errors were encountered: