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
I have an issue with TypeScript. I have a monorepo project with pnpm workspaces. When I open files in Helix, all my imports from npm packages or other workspaces fail to import with the error:
Cannot find module 'inversify'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
I checked in Nvim (daily driver) and VSCode (just for testing) and haven't found any errors there.
I attempted to solve it by adding roots to the typescript configuration, but it didn't help. Here is an example:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have an issue with TypeScript. I have a monorepo project with pnpm workspaces. When I open files in Helix, all my imports from npm packages or other workspaces fail to import with the error:
I checked in Nvim (daily driver) and VSCode (just for testing) and haven't found any errors there.
I attempted to solve it by adding roots to the typescript configuration, but it didn't help. Here is an example:
How can it be solved?
Beta Was this translation helpful? Give feedback.
All reactions