Comments (11)
@sarbogast Please try to run npm rebuild
. It should solve the problem. It worked at least for me.
Edit: Another option is yarn
if you have drizzle-react-components
issue after rebuild and run.
from drizzle-box.
Just tried npm rebuild and it fails miserably with the following logs:
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/sarbogast/dev/cryptoseries-react/node_modules/sha3
gyp ERR! node -v v10.8.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2018-08-13T02_08_22_243Z-debug.log
It works with the LTS version of NodeJS, so I'm gonna stick with that for now.
from drizzle-box.
I have the same problem in MacOS
from drizzle-box.
Fails as well on MacOS
from drizzle-box.
trying to build this with an ubuntu Vagrant box on a OSX host machine and am getting some build errors. Did this ever get fixed?
from drizzle-box.
I am able to run truffle unbox drizzle
on my MacOS (10.14.1 Mojave). Did it without any npm rebuild
.
python version = 2.7.14
npm version = 6.4.1
node version = 11
I was unable to unbox with Node v8, but on v11.0.0 it ran fine.
from drizzle-box.
this fails on MacOs HS
from drizzle-box.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from drizzle-box.
This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if there is no reply to further comments.
from drizzle-box.
truffle unbox drizzle fails
3 warnings and 1 error generated.
make: *** [Release/obj.target/sha3/src/addon.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/opt/homebrew/Cellar/node/16.11.1/libexec/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:390:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/opt/homebrew/Cellar/node/16.11.1/bin/node" "/opt/homebrew/Cellar/node/16.11.1/libexec/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/akshaysp/Projects/Tax/app/node_modules/sha3
gyp ERR! node -v v16.11.1
from drizzle-box.
Still facing the same error on Mac OS Monterey.
npm ERR! 3 warnings and 1 error generated.
npm ERR! make: *** [Release/obj.target/sha3/src/addon.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: make
failed with exit code: 2
npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:520:28)
npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
npm ERR! gyp ERR! System Darwin 21.2.0
npm ERR! gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /Users/akhil/drizzle_tutorial/app/node_modules/sha3
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/akhil/.npm/_logs/2022-04-11T12_45_35_939Z-debug-0.log
at checkExecSyncError (node:child_process:828:11)
at Object.execSync (node:child_process:902:15)
at Object.installBoxDependencies (/usr/local/Cellar/truffle/5.4.12/libexec/lib/node_modules/truffle/build/webpack:/packages/box/dist/lib/utils/unbox.js:139:1)
at Object.setUpBox (/usr/local/Cellar/truffle/5.4.12/libexec/lib/node_modules/truffle/build/webpack:/packages/box/dist/lib/utils/index.js:66:1)
at /usr/local/Cellar/truffle/5.4.12/libexec/lib/node_modules/truffle/build/webpack:/packages/box/dist/box.js:183:1
at Generator.next (<anonymous>)
at fulfilled (/usr/local/Cellar/truffle/5.4.12/libexec/lib/node_modules/truffle/build/webpack:/packages/box/dist/box.js:5:42)
Truffle v5.4.12 (core: 5.4.12)
Node v16.14.0
from drizzle-box.
Related Issues (20)
- README is inconsistent with new repositories HOT 2
- 缺少ERC20合约 HOT 3
- Box won't run HOT 5
- Issue when running 'npm install' in app directory HOT 3
- sha3 error on widows machine HOT 2
- Unbox drizzle unsuccessful HOT 2
- dewed.eth
- 'npm run test' fails after unbox HOT 3
- Can't unbox on CI environments HOT 1
- home.bak.js file is not working and should be removed HOT 2
- SyntaxError: Unexpected token function HOT 3
- Error: EISDIR: illegal operation on a directory, readlink HOT 1
- uncaught at getAccounts Error: Please pass numbers as strings or BigNumber objects to avoid precision errors.
- Make it work with drizzle-react-components 1.2.1 HOT 3
- Update to use React Context API HOT 2
- NPM (6.5.0) causes - uncaught at root at root error HOT 6
- Contract not found on network ID HOT 2
- npm install with app directory fails for Drizzle HOT 1
- MM friendly truffle-config doesn't work as is HOT 1
- npm test fails
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 drizzle-box.