Closed ocavue closed 1 week ago
This appears to be because https://github.com/import-js/eslint-import-resolver-typescript/commit/cecec359343a5b975e596dc11b9caae0455232aa#diff-e813096d69c49812e40e00be9ac8fa14d77f0ec1f97ab4c45cb096b3bedd35de deleted the .npmrc
.
.npmrc
to the repo).npmrc
during CI run)We do have NPM_TOKEN
in the env
, but we also need //registry.npmjs.org/:_authToken=${NPM_TOKEN}
in .npmrc
by the time changesets
runs.
I presume until version 3.6.3
is available eslint-plugin-import-x
is not supported meaning that ESLint 9
is also not supported? I'm getting all sort of npm errors right now when trying to upgrade.
I'm getting all sort of npm errors right now when trying to upgrade.
Just blame npm. In short, npm is bad. Yarn and pnpm both believe peerDeps conflicts should be warnings, not errors, and I believe that, too. Use --legacy-peer-deps
is a viable workaround.
We do have
NPM_TOKEN
in theenv
, but we also need//registry.npmjs.org/:_authToken=${NPM_TOKEN}
in.npmrc
by the timechangesets
runs.
actions/setup-node
should have done this automatically, this is not the root cause.
Thanks @SukkaW npm install --legacy-peer-deps
seems to have bypassed the problem. Having said this, I presume once 3.6.3
(or newer) is released, this should no longer be required?
@ljharb I believe I had admin
role previously on this repository, can you change that back? So that I can check the NPM_TOKEN
secret manually which I believe is not expired.
You can't ever check a secret, only replace it. If you have a new value, I'll be happy to replace it for you.
Hmm... I don't feel great to share a secret token.
@ljharb is it possible to grand @JounQin back access so he can try to replace the token himself? It's been over a month that this issue has been opened already
yeah, that makes the most sense. done.
released
Although the latest
package.json
in the Git repo has3.6.3
as the version number, the latest published version in NPM is still3.6.1
, which was published 10 months ago.https://github.com/import-js/eslint-import-resolver-typescript/blob/c9b5626ee69bd529c7e391e40928a4fb28dce179/package.json#L3