npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm ERR! notarget No matching version found for @types/paho-mqtt@^1.1.0

I can see that this particular package exists when I go to the npm website, as well as running npm view paho-mqtt.

Whenever I try to run npm install or npm update I get this error.

Does anyone know what could be going on?


According to the error message you were trying to install @types/paho-mqtt, which doesn’t have a version 1.1.0 or higher. Did you mean to install paho-mqtt?


Thanks heaps! I just noticed that there were 2 entries in the package.json, one was paho-mqtt and the other was @types/paho-mqtt. Removing the later solved the issue.