这是indexloc提供的服务,不要输入任何密码
Skip to content

Cannot install the package using node v16 #766

@explorador

Description

@explorador

What version of Turborepo are you using?

1.1.2

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Linux

Describe the Bug

Can't install turbo repo using node v16
Bug was fixed already in esbuild

Comment that explains the fix

Turbo uses the node-install.ts script from esbuild, this is the commit that fixed it

This is what needs to be updated
https://github.com/vercel/turborepo/blob/main/cli/npm/turbo-install/install.js#L22-L35

Expected Behavior

Should be able to install package

To Reproduce

Ubuntu 20.04.3 LTS
node: v16.12.0
npm: 8.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions