镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

ts-node peerDependancy not found #652

Closed

Description

@Hammster

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

Activity

  1. chriskrycho commented on Jan 25, 2020

    @chriskrycho
    Contributor

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

  2. chriskrycho commented on Jan 25, 2020

    @chriskrycho
    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.

  3. charlespierce commented on Oct 22, 2020

    @charlespierce
    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions