# Common issues with Ad Server Providers

# Package not found

You are getting a 404 error when:

  • installing the Ad server Providers CLI,
  • adding an ad server provider to a Media Group,
  • or installing the dependencies of a tenant that uses a provider.
$ npm install -g @marfeel/adserver-providers-cli@1.0.2-snapshot.99.0
npm ERR! code E404
npm ERR! 404 Not Found: @marfeel/adserver-providers-cli@1.0.2-snapshot.99.0

# How to fix it

Make sure your .npmrc file is configured as expected and Marfeel Nexus URL is in the .npmrc file of your home folder:

code ~/.npmrc

@marfeel:registry=https://repositories-proxy.mrf.io/nexus/repository/npm-all #Marfeel package registry

# Ad Server Provider build fails

If your Pull Request build is always failing, no matter what changes you make, try locating the following in the build output:

Verifying that current version has not been published already.

ERR Version 1.0.11 already exists. Remember to bump the version:
ERR npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]

If you find this output, you have forgotten to bump the package.json version!

Ad Server Providers follow the semver framwork (opens new window).

Given a version number MAJOR.MINOR.PATCH increment the:

  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backward-compatible manner, and
  3. PATCH version when you make backward-compatible bug fixes.

Depending on your change, bump the patch, minor or major version, and commit.

TIP

Read more about semver on the official website (opens new window).