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

npm run compile should use node modules truffle version for contracts compilation #181

Closed
wants to merge 2 commits into from

Conversation

abhayks1
Copy link
Contributor

@abhayks1 abhayks1 commented Dec 9, 2019

Problem
For compilation of contracts, publisher global truffle version is used. This is a problem since truffle global version can be different than node modules truffle version everytime mosaic contracts npm is published.

"compile": "truffle compile",

Solution
Use node modules truffle version for contracts compilation

"compile": "./node_modules/.bin/truffle compile",

Fixes #180

@abhayks1
Copy link
Contributor Author

abhayks1 commented Dec 9, 2019

Closing the PR as description of ticket has changed.

@abhayks1 abhayks1 closed this Dec 9, 2019
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

Successfully merging this pull request may close these issues.

Publish metadata of contracts while publishing package
1 participant