-
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
Unable to build node_io example on Dart 2.5 #67
Comments
Thanks for reporting. This is definitely an issue. Will see what can be done there. |
I submitted a PR that addresses this issue. I'm not sure if it's the best solution yet but you can test it out by adding a dependency override: dependency_overrides:
build_node_compilers:
git:
url: https://github.com/pulyaevskiy/node-interop.git
path: build_node_compilers
ref: skip-platform-check-for-node-io Let me know if it works for you. |
@pulyaevskiy This fix is working for me. Thanks! |
Just released 0.2.3 with this included. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a project that uses node_io that is no longer building after upgrading Dart to 2.5.
As a sanity check, I cloned the node-interop repo and attempted to build node_io. It's producing the same error. Here is the output:
It appears to be skipping any file that imports dart:io.
The issue seems to be with
build_node_compilers
0.2.2
. If I pin it at0.2.1
it builds successfully.The text was updated successfully, but these errors were encountered: