Node 13 support
See original GitHub issueWhen using this library with Node 13, I receive the following:
uncaughtException: Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
at ReadStream.deprecated [as open] (internal/util.js:55:22)
at ReadStream.open (/project/node_modules/fs-capacitor/lib/index.js:90:11)
at _openReadFs (internal/fs/streams.js:123:12)
at ReadStream.<anonymous> (internal/fs/streams.js:116:3)
at ReadStream.deprecated [as open] (internal/util.js:70:15)
at ReadStream.open (/project/node_modules/fs-capacitor/lib/index.js:90:11)
at _openReadFs (internal/fs/streams.js:123:12)
at ReadStream.<anonymous> (internal/fs/streams.js:116:3)
at ReadStream.deprecated [as open] (internal/util.js:70:15)
at ReadStream.open (/project/node_modules/fs-capacitor/lib/index.js:90:11)
(node:55196) [DEP0135] DeprecationWarning: ReadStream.prototype.open() is deprecated
This is an issue with fs-capacitor
https://github.com/mike-marcacci/fs-capacitor/issues/15 which has been fixed in 3.0.0
so need a version bump on this package
I can resolve this temporarily with this in my package.json
"resolutions": {
"fs-capacitor": "3.0.0"
}
There is now fs-capacitor
5.0.0
as well but haven’t tried it
Issue Analytics
- State:
- Created 4 years ago
- Reactions:13
- Comments:29 (4 by maintainers)
Top Results From Across the Web
Node.js - endoflife.date
Release Released Active Support Se...
19 2 months and 1 week ago. (18 Oct 2022) Ends in 3 months. (01 Apr 2023) En...
18 (...
Read more >Node.js Release Working Group - GitHub
There are three phases that a Node.js release can be in: 'Current', 'Active Long Term Support (LTS)', and 'Maintenance'. Odd-numbered release lines are ......
Read more >Node v13.13.0 (Current)
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Read more >Node.js ES2015/ES6, ES2016 and ES2017 support
Yes. Yes Yes. Yes Error. Error Error. Error Error. Error Error. Error
function() function() function() function() function() function()
function() function() function() function() function() function()
function() function()...
Read more >Supported Node versions - Node-RED
Supported Node versions. Node-RED currently recommends Node 16.x LTS. Version, Support Level, Notes. < 10.
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
For anyone still hitting this, the resolutions seems to work correctly without globbing. For example:
Also make sure you include the preinstall script:
npx npm-force-resolutions
This worked for me when I am on Node.js 14