Skip to content
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

wrong version published to npm #21

Closed
pathsny opened this issue Jun 6, 2013 · 4 comments
Closed

wrong version published to npm #21

pathsny opened this issue Jun 6, 2013 · 4 comments

Comments

@pathsny
Copy link
Contributor

pathsny commented Jun 6, 2013

I'm not sure how it's happened but the version that npm installs is now incorrect and does not produce the latest version that's on this github repo. It's possible that this is become some of my intermediate commits bumped the version up to 0.1.4 and 0.1.5 even. It's possible that to fix this it has to be bumped up to 0.1.6, though I'm not positive about this.

@wdavidw
Copy link
Member

wdavidw commented Jun 6, 2013

I dont see any pb (unless I misunderstood your situation), here's what I did:

mkdir test
cd test
echo '{"name":"test","version":"0.0.0","dependencies":{"connect-coffee-script":"latest"}}' > package.json
npm install

The version is ok (0.1.4) and the middleware file inside lib is the same as on GitHub.

@pathsny
Copy link
Contributor Author

pathsny commented Jun 6, 2013

ok this is quite interesting.

mkdir test
cd test
npm install connect-coffee-script
The version is ok (0.1.4) and but the middleware version is an intermediate version I worked on.

@wdavidw
Copy link
Member

wdavidw commented Jun 7, 2013

Maybe you messed up with the nom caches, could it be possible? try npm cache clean.

@pathsny
Copy link
Contributor Author

pathsny commented Jun 7, 2013

I did indeed mess it up. I did not know about the cache. Thanks, this has solved my issue.

@pathsny pathsny closed this as completed Jun 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants