Comments (1)
I'm bumping this because I this issue just consumed ~10 hours for me to debug.
This build operates under the assumption that the the shell command python
( whether by alias, symlink, or binary ) will invoke a Python 2.x interpreter.
There seems to be no attempt whatsoever by the build to "see if this system's python
command is associated with v1, v2, or v3"; nor does it prompt the user in any sane manner when one could not be found - instead we get an incredibly unhelpful runtime crash from node-gyp
indicating something to the effect of "file not found", or whatever Python v2/v3 syntax error happens to crop up first.
I am happy to make a PR to perform a rudimentary check for dependencies if someone would be kind enough to point me in the appropriate area of the code-base to dig into. I'm going to wager the node-gyp
stuff might be the real culprit, but something like a "pre-build hook" would be an appropriate opportunity to run this type of audit.
from msgpack-node.
Related Issues (20)
- http://msgpack.org/ bugs at "Try!" online demo
- 64-bit number encoding/decoding in msgpack does not work HOT 4
- Change log
- DefinitelyTyped for msgpack-node HOT 2
- Optinally wrap msgpack_object instead of converting to V8 object
- Decode incorrect value - {"1":0.12} HOT 1
- msgpack stream write 'drain'?
- Stream: unpacking '0' doesn't trigger 'msg' emit
- Update to modern NodeJS versions? HOT 2
- please upgrade the nan dependency from package.json
- unpack buffer from python's msgpack API returned unexpected '-3'
- Node Buffer type HOT 1
- Failed to build with Node V12.4.0 HOT 11
- Feature request: manually control type mapping
- Is this project dead? HOT 1
- electron-rebuild and g++ issue HOT 2
- Security Issue in msgpack HOT 6
- Failed to build with node v16.10.0 HOT 2
- thread error: Error: Module did not self-register HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msgpack-node.