Breaking Change v3.8.0 => v3.9.0
See original GitHub issueSystem information
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow.js): No
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows
- TensorFlow.js installed from (npm or script link): npm
- TensorFlow.js version (use command below): 3.9.0
Describe the current behavior
Upgraded from 3.8.0 to 3.9.0, and typescript throws an error:
Error: node_modules/@tensorflow/tfjs-core/dist/hash_util.d.ts:2:49 - error TS2304: Cannot find name ‘Long’.
Using typescript
4.3.5.
Perhaps missing import Long from 'long';
in
Describe the expected behavior
No breaking change
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Breaking changes in the C# compiler - Microsoft Learn
Find any breaking changes in the C# compiler that you're using. ... Breaking changes in Roslyn 3.0 (VS2019) from Roslyn 2.
Read more >Breaking Changes | Electron
Breaking changes will be documented here, and deprecation warnings added to JS ... The following list includes the breaking API changes in Electron...
Read more >Release notes v3.9.0 - Alfresco Builder Network
These release notes provide information about the 3.9.0 release of the Alfresco Application Development Framework. This is the latest General Available ...
Read more >Upgrade from version 8 to the modular Web SDK - Firebase
Version 9 introduces a breaking change in getRedirectResult . When no redirect operation is called, Version 9 returns null as opposed to Version...
Read more >Jekyll v3.9.0 just released
v3.9.0 was released as a special case to allow users on the v3.x series (primarily since GitHub Pages can't upgrade to v4 right...
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 am also having the same issue on a fresh Angular 12 install… Version is 3.11.0
When I manually add
/// <reference types="long" />
to thehash_util.d.ts
it works as expected.Before
After
v3.12.0
Added
@types/long
to mycompilerOptions.types
worked.