Skip to content

Bug fix of spawn truffle#4175

Open
vporton wants to merge 1 commit into
JoinColony:masterfrom
vporton:fix/cannot-spawn-truffle
Open

Bug fix of spawn truffle#4175
vporton wants to merge 1 commit into
JoinColony:masterfrom
vporton:fix/cannot-spawn-truffle

Conversation

@vporton

@vporton vporton commented Feb 3, 2023

Copy link
Copy Markdown

Description

Both

spawn('node_modules/.bin/truffle', ['migrate', '--reset', '--compile-all'], ...

and

spawn('./node_modules/.bin/truffle', ['migrate', '--reset', '--compile-all'], ...

fail on my Ubuntu Linux, even despite I create a symlink from ./node_modules/.bin/truffle to truffle binary.

So, I fixed this bug.

Changes 🏗

  • Add npx when spawning truffle.

@CLAassistant

CLAassistant commented Feb 3, 2023

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@vporton

vporton commented Feb 14, 2023

Copy link
Copy Markdown
Author

I singed the CLA (even twice), but it shows "not signed yet".

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.

2 participants