Comments (8)
Ah, that worked, even though I still have this error.
Try 'libtool --help' for more information.
libtool: error: unrecognised option: '-static'
make: *** [Release/leveldb.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/junxiao/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:513:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Darwin 22.6.0
gyp ERR! command "/Users/junxiao/.nvm/versions/node/v16.20.2/bin/node" "/Users/junxiao/.nvm/versions/node/v16.20.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/junxiao/.nvm/versions/node/v16.20.2/lib/node_modules/truffle/node_modules/leveldown
gyp ERR! node -v v16.20.2
gyp ERR! node-gyp -v v5.1.1
gyp ERR! not ok
The truffle command worked.
truffle
Truffle v5.11.3 - a development framework for Ethereum
Usage: truffle [options]
from truffle.
Hello @junxiaogwu2024 !
What is your current version of node
?
You can switch versions with nmv
, error may go away with a later/earlier version.
And I'm just wondering if this same error logs occurs when installing truffle
locally without the -g
flag ?
from truffle.
Hi @snwlprdgthb,
The npm is version 10.0.0. let me try with a different version of npm to give a try.
Thanks,
from truffle.
I meant node version, not npm
Thanks
from truffle.
Ah, sorry, the node version is v18.17.1.
Cheers,
from truffle.
I tried with a lower version, 16.20.1, but got the same error. I wonder if anything else I could try.
Cheers.
from truffle.
I got it. Try downgrading npm
to version 6
, it should work for you.
npm install -g npm@6
from truffle.
Glad to see this is [mostly] sorted out... I think we can probably close this? That one error message seems like one that we can ignore.
Please open a new issue if you run into further problems. Thanks for reporting this!
from truffle.
Related Issues (20)
- Still using node-ipc instead of the fork HOT 4
- Truffle should have global technical support Channel to access for more contribution.
- Truffle migrate throwing Error "*** stack smashing detected ***: terminated" HOT 1
- TypeError: Cannot read properties of undefined (reading 'start') - Transaction that creates ERC20 contract HOT 7
- An error occurred while initializing the debugger. HOT 2
- Debugger shows incorrect value for a Yul variable HOT 4
- Client network socket disconnected before secure TLS connection was established HOT 2
- Running the command: npm install -g truffle generated error HOT 2
- adjusting to rpc limits HOT 2
- unbox failed,Error connecting to https://raw.githubusercontent.com/xxx HOT 2
- `truffle test --debug` hangs without starting the debugger HOT 5
- truffle test The following information will appear Download xxx HOT 5
- getting this error any solutions? HOT 1
- "Upfront cost exceeds account balance" on Besu private zero gas network HOT 3
- receipt.to showing contract address HOT 2
- Truffle Compile SyntaxError HOT 1
- Issue using latest truffle migrate HOT 4
- Truffle is being sunset HOT 3
- "Everything is up to date, there is nothing to compile"
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 truffle.