charto / autogypi Goto Github PK
View Code? Open in Web Editor NEWAutogypi handles dependencies for node-gyp projects.
License: MIT License
Autogypi handles dependencies for node-gyp projects.
License: MIT License
Hi @jjrv do you see a reason to not upgrade the resolve dependency from ~1.1.7
to ~1.9.0
?
I am looking for to use the resolve normalize-options pseudo hook feature available on version 1.9.0
The use case is to be able to compile yoga-layout using yarn pnp node resolution strategy.
After some research it looks like the reason why it is not possible currently is because yoga-layout uses autogypi which uses a version of resolve which doesn't let yarn define a custom normalize-options hook.
My workaround so far is to force a specific yarn resolution on my package.json
"resolutions": {
"resolve": "1.9.0"
}
Curious to hear your thoughts, thank you!
Failed to execute the command on my ubuntu 17.04 box
autogypi -r build && node-gyp -C build/asmjs configure build --asmjs=1 && copyasm build/asmjs dist
gyp ERR! build error
gyp ERR! stack Error: 'make' failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/bruno/nbind-example-universal/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
gyp ERR! System Linux 4.10.0-22-generic
gyp ERR! command "/usr/bin/nodejs" "/home/bruno/nbind-example-universal/node_modules/.bin/node-gyp" "-C" "build/asmjs" "configure" "build" "--asmjs=1"
gyp ERR! cwd /home/bruno/nbind-example-universal/build/asmjs
gyp ERR! node -v v4.7.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! Linux 4.10.0-22-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build:asmjs"
npm ERR! node v4.7.2
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build:asmjs: 'autogypi -r build && node-gyp -C build/asmjs configure build --asmjs=1 && copyasm build/asmjs dist'
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:asmjs script 'autogypi -r build && node-gyp -C build/asmjs configure build --asmjs=1 && copyasm build/asmjs dist'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the nbind-example-universal package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! autogypi -r build && node-gyp -C build/asmjs configure build --asmjs=1 && copyasm build/asmjs dist
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs nbind-example-universal
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls nbind-example-universal
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/bruno/nbind-example-universal/npm-debug.log Warning: problems with asm.js build
Thanks for sharing this. When I tried npm install
on nbind I got the following error:
npm ERR! unpack Could not read data for @lib/[email protected]
When I did npm update -g npm
the problem went away. Old npm version was 2.11.3
(I got a new system recently) and my new npm version is 2.14.2
.
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.