apollo-server: Unable to install apollo-server

At the moment users are unable to install apollo-sever since the release of 3.8.0 about an hour ago. I’m not sure if a broken build was published or if the order of publishing needs to be adjusted so as not to cause ‘downtime’ during a new version rollout.

Looking at the package.json file inside of apollo-server-express seems to indicate that 3.8.0 was intended to be published, however it’s not yet available in NPM - https://www.npmjs.com/package/apollo-server-express.

Running npm install apollo-server graphql in a blank project returns the message

npm ERR! code ETARGET
npm ERR! notarget No matching version found for apollo-server-express@^3.8.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'apollo-server'
npm ERR! notarget

node version: 14.19.3 npm version: 6.14.17

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 16 (7 by maintainers)

Most upvoted comments

I have still issues with installing apollo-server-express@^3.8.1

npm ERR! notarget No matching version found for apollo-server-express@^3.8.1.

Following up:

I’ve sent a message to npm. I’ve also discovered this affects apollo-server-lambda. For now please install version 3.8.0 of the following packages if you use them: apollo-server (dependent on apollo-server-express) apollo-server-express apollo-server-lambda

You can install a specific version using the following notation as mentioned above: npm i apollo-server@3.8.0

Due to a recent npm issue, 3.8.1 was published over 3.8.0 as a hotfix. Codewise, they are the same, so you’re not missing any important fixes in that patch. Thanks for your patience!

Going to reopen until this is resolved.

Still haven’t heard from npm but the version issue seems to have cleared up. Repromoting apollo-server@3.8.1 to latest. Please let me know if you see any other issues.

Still haven’t heard from npm. I’ve updated the latest tag of apollo-server to 3.8.0 for now, since that’s probably the most common and confusing path to error until apollo-server-express@3.8.1 exists.

This was working before, something is up with npm again. I’ll take a look when I start my day and open a ticket with them if it hasn’t resolved itself by then.

In the meantime please use the workaround proposed and install the most recent version that’s available.

Hi, i am facing the same issue while installing apollo-server-express@^3.8.1, does anyone has a solution why is npm acting like this.