Package not accessible from esbuild - What does this error mean?

Viewed 185

While updating dependencies, I'm getting the following error:

npm ERR! esbuild-android-64 not accessible from esbuild

I cannot find any reference to it, apart from a single issue on ESBuild that is apparently resolved by updating to Node 16, which I am already on.

I can't find what the error is trying to convey, let alone how to fix it. Has anyone ever seen a "not accessible from" error on NPM?

I'm not getting it on Mac, but our CI server is Windows and seems to encounter it regularly.

1 Answers

Changing the Node version on AWS to match the Node version I was using on my local machine helped me to overcome this issue.

AWS was using Node v14. The issue went away when I specified Node v16.

Checkout this thread if you're deploying on AWS: How To Change Node Version AWS

Related