abbr / deasync-bin Goto Github PK
View Code? Open in Web Editor NEWbinary distribution of deasync
binary distribution of deasync
hey, can you please add any how to to make this repo work together with https://github.com/abbr/deasync?
For example, I can see in this repo node v16, which is not part of https://github.com/abbr/deasync package...
thanks a lot in advance,
I'm trying to run a node project on a node:lts-alpine on Mac m1, but it produces the following error:
0 16.40 npm ERR! code 1
#0 16.40 npm ERR! path /app/node_modules/deasync
#0 16.40 npm ERR! command failed
#0 16.40 npm ERR! command sh -c node ./build.js
#0 16.40 npm ERR! gyp info it worked if it ends with ok
#0 16.40 npm ERR! gyp info using [email protected]
#0 16.40 npm ERR! gyp info using [email protected] | linux | arm64
#0 16.40 npm ERR! gyp ERR! find Python
#0 16.40 npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration
#0 16.40 npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
#0 16.40 npm ERR! gyp ERR! find Python checking if "python3" can be used
#0 16.40 npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
#0 16.40 npm ERR! gyp ERR! find Python checking if "python" can be used
#0 16.40 npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
#0 16.40 npm ERR! gyp ERR! find Python
#0 16.40 npm ERR! gyp ERR! find Python **********************************************************
#0 16.40 npm ERR! gyp ERR! find Python You need to install the latest version of Python.
#0 16.40 npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
#0 16.40 npm ERR! gyp ERR! find Python you can try one of the following options:
#0 16.40 npm ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
#0 16.40 npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm)
#0 16.40 npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
#0 16.40 npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
#0 16.40 npm ERR! gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
#0 16.40 npm ERR! gyp ERR! find Python For more information consult the documentation at:
#0 16.40 npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
#0 16.40 npm ERR! gyp ERR! find Python **********************************************************
#0 16.40 npm ERR! gyp ERR! find Python
#0 16.40 npm ERR! gyp ERR! configure error
#0 16.40 npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
#0 16.40 npm ERR! gyp ERR! stack at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
#0 16.40 npm ERR! gyp ERR! stack at PythonFinder.runChecks (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
#0 16.40 npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:202:16)
#0 16.40 npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:294:16)
#0 16.40 npm ERR! gyp ERR! stack at exithandler (node:child_process:406:5)
#0 16.40 npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:418:5)
#0 16.40 npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28)
#0 16.40 npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
#0 16.40 npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:478:16)
#0 16.40 npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21)
#0 16.40 npm ERR! gyp ERR! System Linux 5.10.104-linuxkit
#0 16.40 npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
#0 16.40 npm ERR! gyp ERR! cwd /app/node_modules/deasync
#0 16.40 npm ERR! gyp ERR! node -v v16.15.0
#0 16.40 npm ERR! gyp ERR! node-gyp -v v9.0.0
#0 16.40 npm ERR! gyp ERR! not ok
#0 16.40 npm ERR! Build failed
#0 16.40
#0 16.40 npm ERR! A complete log of this run can be found in:
#0 16.40 npm ERR! /root/.npm/_logs/2022-05-05T17_03_08_751Z-debug-0.log
At the time, I edited the Dockerfile to include python as follow:
RUN apk add --update python3 make g++
But it would be nice if it had the arm64 binaries.
Hi I tried out almost every node library I can find to resolve an async->sync issue, and only deasync really nailed it. It is a great contribution which I would really like to express my appreciation.
Yet, I want to understand if it could create any potential issue like memory leak, or big CPU utilization etc? I am a node newbie, and pretty much noob about underline C/C++....
Sorry to disturb in such a way by posting an issue, if that is rude.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.