Skip to content
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

Support Node.js v14 #209

Closed
jaydenseric opened this issue May 25, 2020 · 3 comments
Closed

Support Node.js v14 #209

jaydenseric opened this issue May 25, 2020 · 3 comments
Labels

Comments

@jaydenseric
Copy link
Owner

At the moment, the graphql-upload tests are failing for Node.js v14:

https://github.com/jaydenseric/graphql-upload/runs/701487224?check_suite_focus=true#step:4:82

The error is:

_stream_readable.js:636
  throw new ERR_METHOD_NOT_IMPLEMENTED('_read()');
  ^

Error [ERR_METHOD_NOT_IMPLEMENTED]: The _read() method is not implemented
    at Readable._read (_stream_readable.js:636:9)
    at Readable.read (_stream_readable.js:475:10)
    at resume_ (_stream_readable.js:962:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  code: 'ERR_METHOD_NOT_IMPLEMENTED'
}

Is it because of this in fs-capacitor?:

https://github.com/mike-marcacci/fs-capacitor/blob/45ab8cb354a90914ce87c0069273ff40ff20654e/src/index.ts#L28

See mike-marcacci/fs-capacitor#28 .

Does it relate to this Node.js v14 change?:

nodejs/node#31912

Here are the Node.js v14 release notes:

https://nodejs.org/en/blog/release/v14.0.0/

@jaydenseric jaydenseric pinned this issue May 25, 2020
@jaydenseric
Copy link
Owner Author

fs-capacitor currently has TypeScript related build errors, but when checking it out locally it seems the actual tests are passing in Node.js v14. Either those tests are missing something, or the problem is not with fs-capacitor.

@jaydenseric
Copy link
Owner Author

@jaydenseric jaydenseric unpinned this issue May 25, 2020
@jaydenseric
Copy link
Owner Author

Turned out to only be an issue with the tests; the published code was ok.

krasivyy3954 added a commit to krasivyy3954/react-graphql-upload that referenced this issue Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant