Git Product home page Git Product logo

Comments (11)

mdtanrikulu avatar mdtanrikulu commented on May 24, 2024 2

@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.

sarbogast avatar sarbogast commented on May 24, 2024

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.

xhcardoza avatar xhcardoza commented on May 24, 2024

I have the same problem in MacOS

from drizzle-box.

RomanBrodetski avatar RomanBrodetski commented on May 24, 2024

Fails as well on MacOS

from drizzle-box.

tobyjaguar avatar tobyjaguar commented on May 24, 2024

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.

causztic avatar causztic commented on May 24, 2024

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.

moda20 avatar moda20 commented on May 24, 2024

this fails on MacOs HS

from drizzle-box.

stale avatar stale commented on May 24, 2024

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.

stale avatar stale commented on May 24, 2024

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.

starlord-defi avatar starlord-defi commented on May 24, 2024

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.

akhiluthappa1 avatar akhiluthappa1 commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.