intuit / intuit/auto

auto canary fails after upgrading to Node 16 NPM 8

Open
#2,247 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**

Unable to run canary build after upgrading to npm version 8.x node version 16.x on github CI. Getting `npm ERR! code ENEEDAUTH`

**To Reproduce**

1. Changed node version to 16.x
``` uses: actions/setup-node@v3
with:
node-version: '16'
```
2. Run `npx auto canary --pr ${{ env.PR_NUMBER }} ` on github worklfow

**Expected behavior**

Should create a canary build in artifactory

**Screenshots**

image

image

**Environment information:**

```txt
node v16
npm v8
```

**Additional context**

* `npx auto canary --pr ${{ env.PR_NUMBER }} --dry-run` works fine
* Seeing below error running `npx auto canary --pr ${{ env.PR_NUMBER }} `
```
npm ERR! code ENEEDAUTH
npm ERR! need auth This command requires you to be logged in to https://artifactory.company.link.com
npm ERR! need auth You need to authorize this machine using `npm adduser`
```
* Probably same issue exists with `auto shipit`

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.