2 ms·
Problem with Node is that the snapshot functionality has several severe limitations. Copy pasted from NodeJS docs: --- Currently the support for run-time sna
by Skinney 2y ago
Problem with Node is that the snapshot functionality has several severe limitations.
Copy pasted from NodeJS docs:
---
Currently the support for run-time snapshot is experimental in that:
1. User-land modules are not yet supported in the snapshot, so only one single file can be snapshotted. Users can bundle their applications into a single script with their bundler of choice before building a snapshot, however.
2. Only a subset of the built-in modules work in the snapshot, though the Node.js core test suite checks that a few fairly complex applications can be snapshotted. Support for more modules are being added. If any crashes or buggy behaviors occur when building a snapshot, please file a report in the Node.js issue tracker and link to it in the tracking issue for user-land snapshots.
---
(1) is fine as you can use a bundler to work around it. (2) can't, as far as I know, be worked around.