Skip to content
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

ts-node peerDependancy not found #652

Closed
Hammster opened this issue Jan 25, 2020 · 3 comments · Fixed by #854
Closed

ts-node peerDependancy not found #652

Hammster opened this issue Jan 25, 2020 · 3 comments · Fixed by #854

Comments

@Hammster
Copy link

Hammster commented Jan 25, 2020

Hi,

I was in the process of transferring from nvm to volta (Windows & Linux) when I hit a missing feature (?). Apparently even though I installed typescript via volta ts-node was not able to resolve it.

I also tried to work around by installing a global npm package, which volta rightfully prevented 😅

I think this is the case because typescript is not a dependency but a peerDependancy of ts-node

WindowsTerminal_2020-01-25_02-29-21

@chriskrycho
Copy link
Contributor

A related earlier discussion: #350. (That was opened for other reasons, but we discussed this same dynamic there.)

@chriskrycho
Copy link
Contributor

Thank you for opening this, @Hammster! It's something we've known about for a while but haven't gotten around to designing a good solution for.

@charlespierce
Copy link
Contributor

This should be resolved as of Volta 0.9.0 (In fact, it was one of the cases I used for testing this part of the behavior)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants