question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parcel 1 does not work on Node v15 because it uses deasync

See original GitHub issue

🐛 bug report

> parcel src/demo/index.html --no-autoinstall --https

.../node_modules/bindings/bindings.js:126
  err = new Error(
        ^

Error: Could not locate the bindings file. Tried:
 → .../node_modules/deasync/build/deasync.node
 → .../node_modules/deasync/build/Debug/deasync.node
 → .../node_modules/deasync/build/Release/deasync.node
 → .../node_modules/deasync/compiled/15.0.1/darwin/x64/deasync.node
 → .../node_modules/deasync/addon-build/release/install-root/deasync.node
 → .../node_modules/deasync/lib/binding/node-v88-darwin-x64/deasync.node
    at bindings (.../node_modules/bindings/bindings.js:126:9)
    at Object.<anonymous> (.../node_modules/deasync/index.js:30:31)
    at Module._compile (.../node_modules/v8-compile-cache/v8-compile-cache.js:192:30)

🎛 Configuration (.babelrc, package.json, cli command)

Zero configs.

🤔 Expected Behavior

😯 Current Behavior

💁 Possible Solution

🔦 Context

💻 Code Sample

🌍 Your Environment

Software Version(s)
Parcel 1.12.4
Node 15.0.1
npm/Yarn
Operating System macOS

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
DeMoorJaspercommented, Nov 1, 2020

This is an issue with the dependency deasync, probably missing binaries here: https://github.com/abbr/deasync-bin

This isn’t really a Parcel issue directly, we got rid of deasync in Parcel 2 for this reason as well as it not being totally reliable and slower than standard synchronous code. We can’t easily get rid of it in Parcel 1 though as it would require a pretty large refactor. Hopefully we can release a stable Parcel 2 soonish.

2reactions
john01davcommented, Nov 5, 2020

@m-w-d-d I just upgraded to Parcel 2. I didn’t even need to change any of my code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when installing parcel-bundler - Lesson 42 Part 3
Hello everyone. This is not my code, since I've already solved the problem and my terminal was cleared when restarting the app.
Read more >
deasync - npm
Turns async function into sync via JavaScript wrapper of Node event loop. Latest version: 0.1.28, last published: 5 months ago.
Read more >
Why do I get these errors: "deasync" & "node build.js ...
I don't know why this worked, but running a regular yarn-upgrade cleared the errors. I still got warnings about dependencies. I should have ......
Read more >
deasync - Bountysource
If I use deasync + net.createConnection, the following code doesn't work on Windows but works on Mac. I tested in Node.js v5.1.0. Does...
Read more >
Invalid CSS after " " expected expression(e.g, 1px, bold) was
Parcel 로 SCSS를 컴파일하려다 코드 상단부에 map 모듈을 불러와map의 출처: ... Parcel 1 does not work on Node v15 because it uses deasync...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found