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

install fails #1

Open
andrewharvey opened this issue May 10, 2017 · 3 comments
Open

install fails #1

andrewharvey opened this issue May 10, 2017 · 3 comments

Comments

@andrewharvey
Copy link
Owner

It's a know issue that you can't install this module due to topojson/topojson#304

@andrewharvey
Copy link
Owner Author

workaround is:

npm install -g topojson
npm install -g topojson-client

then in the git cloned repo

npm install

this will fail

cd node_modules
cp -r /usr/local/lib/node_modules/topojson .
cp -r /usr/local/lib/node_modules/topojson-client .

@connornishijima
Copy link

Still an issue.

@Jean-Baptiste-Lasselle
Copy link

workaround is:

npm install -g topojson
npm install -g topojson-client

then in the git cloned repo

npm install

this will fail

cd node_modules
cp -r /usr/local/lib/node_modules/topojson .
cp -r /usr/local/lib/node_modules/topojson-client .

hi @andrewharvey :

  • Thank you so much for sharing that fix !! (that helped me a lot in fixing a very important app build from source).
  • I here add a new info, in case it's useful to others :
    • In a project, I npm installed [email protected], without any version of topojson-clientinmy package.json
    • And the problem was still there, even though I did not explicitly installed any version of topojson-client. At least as far as package.json can tell : I mention that, because I think possible that the topojson-client is brought with [email protected]
    • Furthermore, I did not execute cp -r /usr/local/lib/node_modules/topojson-client ., but did cp -r /usr/local/lib/node_modules/topojson .
    • So I :
      • know that the problem you mention has nothing to do with trying to install both topojson and topojson-client
      • think that your problem is explained by the fact that your trying to install topojson-client using npm install topojson-client : npm install [email protected] does more (or less?) than npm install [email protected].

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

3 participants