-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node@11 freezing constants #76
Comments
mikesamuel
added a commit
to mikesamuel/node-fs-ext
that referenced
this issue
Nov 2, 2018
Issue baudehlo#76 explains that constants is not extensible in recent builds of node@11. This changes the loop that adds constants from the C++ code to constants to be best effort.
mikesamuel
added a commit
to mikesamuel/attack-review-testbed
that referenced
this issue
Nov 5, 2018
Travis builds fails on Node.js stable with: ``` /home/travis/build/mikesamuel/attack-review-testbed/node_modules/fs-ext/fs-ext.js:142 constants[key] = binding[key]; ^ TypeError: Cannot add property SEEK_SET, object is not extensible ``` This applies the fix from baudehlo/node-fs-ext#76 on postinstall so we don't have to wait for upstream.
Thanks! Any chance of a new version on npm? |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://nodejs.org/en/blog/release/v11.0.0/ says
which causes problems for
node-fs-ext/fs-ext.js
Lines 139 to 144 in 7c9824f
The text was updated successfully, but these errors were encountered: