question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't install latest version due to Topojson being deprecated

See original GitHub issue

No need for a GIST with this error, I’m simply just doing npm i --save @turf/turf so it installs the latest version and I get the following error:

npm WARN deprecated topojson@3.0.2: Use topojson-client, topojson-server or topojson-simplify directly.
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /Users/jose/Sites/myproject/node_modules/topojson/node_modules/topojson-server/bin/geo2topo
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/jose/Sites/myproject/node_modules/topojson/node_modules/topojson-server/bin/geo2topo'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jose/.npm/_logs/2021-05-05T14_14_00_388Z-debug.log

The version I’m trying to install is the latest v6.3.0 Node.js version v14.16.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:14
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
levitabriscommented, May 5, 2021

I had the same issue. Downgrading node to v12 temporarily solves it.

2reactions
stebogitcommented, Jun 8, 2021

@LuckyCoders have you tried requiring specifically the topojson packages like suggested above? It does look like that, for some reason, fixes the issue. In my case I did not need to downgrade the Node version.

npm i topojson-client topojson-server topojson-simplify
Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install latest version due to Topojson being deprecated
Can't install latest version due to Topojson being deprecated. ... npm i --save @turf/turf so it installs the latest version and I get...
Read more >
topojson - npm
An extension to GeoJSON that encodes topology.. Latest version: 3.0.2, last published: 5 years ago. Start using topojson in your project by ...
Read more >
npm install runs correctly, but cannot run topojson
The answer to this issue turned out not to be related to npm - npm install topojson no longer installs a command-line tool...
Read more >
Problems installing webbppl-viz - Google Groups
After trying to install, I get many errors related to deprecation. ... Please upgrade to the latest version to get the best features,...
Read more >
geojsonio: Convert Data from and to 'GeoJSON' or 'TopoJSON'
'geojsonio' does not aim to replace packages like. 'sp', 'rgdal', 'rgeos', but rather aims to be a high level client to.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found