Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling repository #3

Open
srinivasmangipudi opened this issue Apr 16, 2020 · 1 comment
Open

Error compiling repository #3

srinivasmangipudi opened this issue Apr 16, 2020 · 1 comment

Comments

@srinivasmangipudi
Copy link

I am getting this error when I try to compile a freshly cloned repository:

Error: Truffle is currently using solc 0.5.16, but one or more of your contracts specify "pragma solidity ^0.4.18".
I changed the versions in the files but it still throws errors for the zepplin-safemath.sol etc imported contracts.

Before this there was also a problem with running npm install on the repo.

TypeError: '>=' not supported between instances of 'tuple' and 'str'
gyp ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:223:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
@nigeon
Copy link
Owner

nigeon commented Apr 16, 2020

Well, repo is 2 years old now..... this can be thousands of different things :S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants