RangeError: Invalid string length
See original GitHub issueI’m having this bug in version 0.7.2:
[path/to/package-30:build:ts] Internal error! Please file a bug at https://github.com/google/wireit/issues/new, mention this message, that you encountered it in wireit version 0.7.2, and give information about your package.json files.
Unknown error thrown: RangeError: Invalid string length
RangeError: Invalid string length
And with version 0.7.3 I’m having this other message:
file:///[...]/node_modules/wireit/lib/fingerprint.js:115
this._str = JSON.stringify(this._data);
^
RangeError: Invalid string length
at JSON.stringify (<anonymous>)
at get string [as string] (file:///[...]/node_modules/wireit/lib/fingerprint.js:115:30)
at LocalCache._getCacheDir (file:///[...]/node_modules/wireit/lib/caching/local-cache.js:49:104)
at LocalCache.get (file:///[...]/node_modules/wireit/lib/caching/local-cache.js:18:31)
at file:///[...]/node_modules/wireit/lib/execution/standard.js:66:42
at async StandardScriptExecution._acquireSystemLockIfNeeded (file:///[...]/node_modules/wireit/lib/execution/standard.js:142:28)
at async StandardScriptExecution._execute (file:///[...]/node_modules/wireit/lib/execution/standard.js:45:20)
Node.js v18.9.1
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Uncaught RangeError: Invalid string length when appending ...
Your 2-D array accesses are incorrect, but the main problem is that you're re-using the variable i in an inner loop: for (i...
Read more >RangeError: Invalid string length with large files. · Issue #35973
When i'm trying to read a large Json File (700MB - 26.640.222 lines) using ReadStream i'm getting the error: "RangeError: Invalid string length" ......
Read more >RangeError: invalid array length - JavaScript - MDN Web Docs
The JavaScript exception "Invalid array length" occurs when specifying an array length that is either negative, a floating number or exceeds ...
Read more >Simplest solution to JSON.stringify RangeError: Invalid string ...
stringify RangeError: Invalid string length. We often come across this issue where the object or value passed to JSON.
Read more >HTML : Uncaught RangeError: Invalid string length ... - YouTube
HTML : Uncaught RangeError : Invalid string length when appending to a string in JavaScript [ Beautify Your Computer ...
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 Free
Top 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
Incredible speed solving issues. It works perfectly. Thank you so much!
Hi @jorgecasar, this should be fixed in
0.8.0
which I just released.