intuit / intuit/auto

yarn install-mac fails with "No available node version satisfies 'node15'"

Open
#1,973 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.5k
Forks
221
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

It might be a problem with my environment, but I can't run `yarn install-mac` or `yarn lerna run bundle`.

**To Reproduce**

```shell
► yarn install-mac
yarn run v1.22.10
$ yarn lerna run bundle --scope=auto && gunzip -c ./packages/cli/binary/auto-macos.gz > /usr/local/bin/auto
$ /Users/alexey.alekhin/github/laughedelic/auto/node_modules/.bin/lerna run bundle --scope=auto
lerna notice cli v3.22.1
lerna notice filter including "auto"
lerna info filter [ 'auto' ]
lerna info Executing command in 1 package: "yarn run bundle"
lerna ERR! yarn run bundle exited 2 in 'auto'
lerna ERR! yarn run bundle stdout:
$ yarn inject-version && yarn package && yarn gzip
$ node scripts/inject-version.js
$ rimraf binary && pkg . --out-path binary
> pkg@4.4.9
> Targets not specified. Assuming:
node15-linux-x64, node15-macos-x64, node15-win-x64
> Error! No available node version satisfies 'node15'
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

lerna ERR! yarn run bundle stderr:
error Command failed with exit code 2.
error Command failed with exit code 2.

lerna ERR! yarn run bundle exited 2 in 'auto'
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
```

It complains about the node version, but I have node 15 installed (see below)

**Expected behavior**

I just want to be able to build a bundled version of Auto for local testing.

**Environment information:**

```shell
► yarn --version
1.22.10
► node --version
v15.12.0
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.