Can't install latest version due to Topojson being deprecated
See original GitHub issueNo 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:
- Created 2 years ago
- Reactions:14
- Comments:18 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue. Downgrading node to v12 temporarily solves it.
@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.