question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running "abi-types-generator" command fails on ubuntu

See original GitHub issue

Hey there! First of all thanks a lot for this package.

On to the issue! I’ve tried to run abi-types-generator on an existing project and it failed, I was not sure if the problem was on my end so I cloned the repository and tried to run the examples and I got the same error:

> yarn web3-example
yarn run v1.22.5
$ abi-types-generator './abi-examples/fake-contract-abi.json' --output='./web3/fake-contract-example/generated-typings' --name=fake-contract
/usr/bin/env: ‘node\r’: No such file or directory
error Command failed with exit code 127.

After a quick google search of that error message, and since I’m working on Ubuntu, I tried this solution and it fixed my problem.

Let me know if this makes sense and if there’s anything I can help with!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
afmfe-iulcommented, Aug 11, 2021

@joshstevens19 nicely done! Can confirm that it works on version 1.1.8. Keep up the good work 😃

1reaction
joshstevens19commented, Aug 5, 2021

Have not forgot about this i promise! sorry been very busy its on my TODO list

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Ubuntu
The snap changes command will show that one or more snaps are being updated and the device may need to reboot. The solution...
Read more >
SoundTroubleshootingProcedure - Community Help Wiki
You may want to follow this guide to gather essential troubleshooting information about your sound card. This information will be useful in ...
Read more >
run just one instance at a time of some command and unique ...
run -one-until-failure operates exactly like run-one-constantly except that it respawns "COMMAND [ARGS]" until COMMAND exits with failure (ie, exits non-zero).
Read more >
Ubuntu Advantage Client - Guide
The Ubuntu Advantage (UA) client is a tool designed to automate access to UA services like Extended Security Maintenance (ESM), CIS, FIPS, Livepatch...
Read more >
The Linux command line for beginners - Ubuntu Discourse
You'll see an error saying “No such file or directory” before you even get to run the last pwd . Changing directory by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found