-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to install previously published versions of my package #26
Comments
It may be a bug, what do the meta files in artifactory look like? There should be one at root level of the project and another inside the version |
Ah, I have one meta file at the root, in the _meta folder. But there are no meta files in any of the versions, only the tgz file...
The sanitised metadata file looks something like... {
"_id": "my-module",
"name": "my-module",
"description": "This folder contains the javascript files for the application.",
"dist-tags": {
"latest": "0.1.23"
},
"versions": {
"0.1.23": {
"name": "my-module",
"version": "0.1.23",
"scripts": {
"install": "node install.js"
},
"dependencies": {
"shelljs": "^0.3.0"
},
"devDependencies": {
"reallycoolmodule": "^1.3.12"
},
"gitHead": "b1f346f24c9475d32d1a5c9217045e7d0ae16980",
"readme": "Blah, blah",
"readmeFilename": "Readme.md",
"description": "This folder contains the javascript files for the application.",
"_id": "[email protected]",
"_shasum": "89f8439587970de6f1aae122a1ec98967ac172f5",
"_from": ".",
"_npmVersion": "1.4.28",
"_npmUser": {
"name": "me",
"email": "[email protected]"
},
"maintainers": [
{
"name": "me",
"email": "[email protected]"
}
],
"dist": {
"shasum": "89f8439587970de6f1aae122a1ec98967ac172f5",
"tarball": "http://ourserver/my-module/-/my-module-0.1.23.tgz"
}
}
},
"readme": "blah, blah",
"maintainers": [
{
"name": "me",
"email": "[email protected]"
}
],
"_attachments": {},
"_rev": "1-4eb3ab9228f73422b51f2b2e8fb5e277",
"time": {}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been publishing packages to the registry, but noticed that I'm unable to install pervious versions, as they don;t seem to exist. I can view them in Artifactory but doing something like npm install [email protected] does not work? where as npm install [email protected] works just fine as it is the latest.
I am simply using 'npm publish', sorry but am I missing something, do I need to add some sort of additional tag etc?
The text was updated successfully, but these errors were encountered: