-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Parcel not working with node 11.0.0 #2245
Comments
@yichuan1118 Does it work on v11.1.0? |
It doesn't. I just tested with npm 6.4.1. |
On Linux I just reinstall with --unsafe-perm flag.
|
This is an issue with the deasync dependency, this will be removed in the future as it is only used for a deprecated feature inside parcel that is only there for backwards compatibility for plugins. Probably missing pre-compiled binaries for Deasync, we had a similar issue with Node 10 when it just became stable |
+1 here don't works...
Some workaround? |
@nicoandresr |
Had the same issue on macOS after updating npm. Uninstalled and reinstalled Parcel and it worked again (I'm assuming after getting all the correct dependencies and so forth during installation). |
@jestarray, don't work I got the same error of Edit:Works after of remove Thank u @jestarray π― |
After several approaches trying to solve this, that's what worked:
|
Looks like deasync has been updated. Perhaps we just need to bump the dependency in parcel? |
Unfortunately the workaround doesn't work for me, because of building a different dependency fails. Any progress on this would be very welcome. |
@devongovett Huh, not sure if I should've opened another bug, but this is happening again on node 12 - deasync 0.1.15 is out, so if you could upgrade... |
@high1 In the meantime, you should also be able to get version 0.1.15 if you run |
It`s works to me too |
I fixed the issue by reinstalling Parcel globally:
|
Fixed by reinstalling parcel although I didn't need to install globally. For context I'm running "parcel": "^2.0.0-alpha.3.2"
|
The way I solve this is not to load parcel-bundler globally, but to run the one loaded into the project You can also put it in the package.json and it will just work.
I don't like to load dependencies globally. |
This is what saved me |
Works great for me in Arch Linux. Thanks! |
Works like a charm! Thanks |
i have the same issue in windows os, node -v 16 |
π bug report
Parcel not working with node 11.0.0
π€ Expected Behavior
parcel index.html works fine
π― Current Behavior
(node:19941) UnhandledPromiseRejectionWarning: Error: Could not locate the bindings file. Tried:
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/build/deasync.node
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/build/Debug/deasync.node
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/build/Release/deasync.node
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/out/Debug/deasync.node
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/Debug/deasync.node
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/out/Release/deasync.node
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/Release/deasync.node
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/build/default/deasync.node
β /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/compiled/11.0.0/darwin/x64/deasync.node
at bindings (/usr/local/lib/node_modules/parcel-bundler/node_modules/bindings/bindings.js:88:9)
at /usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/index.js:34:32
at Object. (/usr/local/lib/node_modules/parcel-bundler/node_modules/deasync/index.js:76:2)
at Module._compile (/usr/local/lib/node_modules/parcel-bundler/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)
at Module.require (internal/modules/cjs/loader.js:643:17)
at require (/usr/local/lib/node_modules/parcel-bundler/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
(node:19941) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:19941) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
π Your Environment
The text was updated successfully, but these errors were encountered: