Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

NPM package is broken #16

Closed
Epictek opened this issue Jul 5, 2014 · 4 comments
Closed

NPM package is broken #16

Epictek opened this issue Jul 5, 2014 · 4 comments
Labels

Comments

@Epictek
Copy link

Epictek commented Jul 5, 2014

animemusic@ns3300024:~$ npm install plugapi --production
npm ERR! Error: Invalid Package: expected sockjs-client-node but found sockjs-cl ient
npm ERR! at /home/animemusic/local/lib/node_modules/npm/lib/cache/add-local- tarball.js:161:14
npm ERR! at process._tickCallback (node.js:419:13)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 3.10.23-xxxx-std-ipv6-64
npm ERR! command "node" "/home/animemusic/local/bin/npm" "install" "plugapi" "-- production"
npm ERR! cwd /home/animemusic
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.20
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/animemusic/npm-debug.log
npm ERR! not ok code 0

@TATDK
Copy link
Contributor

TATDK commented Jul 7, 2014

I'm sadly not available to work on plugapi much in this week, but it seems to be something that started with a newer version of npm.

@TATDK TATDK added the bug label Jul 7, 2014
@tcr
Copy link

tcr commented Jul 7, 2014

This patch would fix it, without even needing a republish on npm: TATDK/sockjs-client-node#1

I would also suggest adding sockjs-client-node to your "bundledDependencies" list rather than linking to a github link. If you're interested.

@tcr
Copy link

tcr commented Jul 7, 2014

EDIT: Just kidding. Looks like you need to change client.js in this repo to point to "sockjs-client-node" also, then republish.

@TATDK
Copy link
Contributor

TATDK commented Jul 7, 2014

2.2.6 is now published and should fix this issue

@TATDK TATDK closed this as completed Jul 7, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants