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.

turf-helpers@6.1.0 package is missing lib/ files

See original GitHub issue

Published recently, @turf/helpers@6.1.0 doesn’t include lib/geojson.d.ts, resulting in the following error when using it:

node_modules/@turf/helpers/index.d.ts(1,259): error TS2307: Cannot find module './lib/geojson'.

The lib entry was (accidentally?) dropped in 091eee9b04193be46a543b2fdfe2e2b87d51a104, from the looks of it.

The last three versions, for reference:

$ tar tf helpers-6.1.0.tgz 
package/package.json
package/index.d.ts
package/index.js
package/index.ts
package/LICENSE
package/README.md
$ tar tf helpers-6.0.1.tgz 
package/package.json
package/index.d.ts
package/index.js
package/index.mjs
package/LICENSE
package/README.md
package/lib/geojson.d.ts
$ tar tf helpers-6.0.0.tgz 
package/package.json
package/index.d.ts
package/index.js
package/index.mjs
package/LICENSE
package/README.md
package/lib/geojson.d.ts

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
whymarrhcommented, Mar 24, 2018

I can confirm that 6.1.1 works, thanks!

0reactions
DenisCarrierecommented, Apr 4, 2018

@shonderdos Perfect, glad to hear it works with Angular, feel free to provide feedback like this if it breaks again.

I’ve updated https://github.com/Turfjs/turf/pull/1349/files all the current Typescript libraries (not published yet).

We currently don’t have tests for Angular, I believe once we have a “strict” Typescript configuration we should be good for Angular support.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Typescript lib files seem to be missing from the in-memory ...
Typescript lib files seem to be missing from the in-memory file system, this causes the typechecker to infer as any some types that...
Read more >
Package is missing dependencies for libraries - OpenWRT
N.B: the important change here was using the correct library name. It should be libopenssl not libssl and libcrypto . Putting the dependency...
Read more >
Installing Missing Library Files - Teradata Tools and Utilities
If you install Teradata Tools and Utilities and an error message about one or more missing OS library files appears, use the package...
Read more >
Missing librairies in /usr/lib on Big Sur? - Apple Developer
So my question is: where are all the libs gone, and it is possible to bring them back to the surface? Files and...
Read more >
Linuxtrack . Missing libraries - Ask Ubuntu
Following installation instructions for LinuxTrack (head tracker for TrackIR hardware), found some missing libraries. libcrypto.so.1.0.0 ...
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