RyuuGan/sol-merger

CLI Installation doesn't work

Opened this issue · 3 comments

I was following the readme to install the sol-merger CLI tool.

I used npm ( npm i --save-dev sol-merger ) to install the tool.

But I get:
sol-merger: command not found

Hello,

Did you add it to the package.json and run it using the npm run <scriptName> ?

If not you should use npx sol-merger instead of just sol-merger because it will look up in the node_modules to find the script.

Can you validate that node_modules/.bin contain sol-merger inside ?

Best regards,
Valerii Aligorskii

Hi again :)

Running it with npx sol-merger did the trick. Thanks for the hint. Also something that you should maybe update in the readme.
Thanks for the help!

Btw. Is the sol-merger able to resolve dependencies like "@openzeppelin/contracts/..." or similar that use the @ abbreviation? And also, I assume it cannot pull openzepplin (and similar) libraries from the web if it cannot find them locally, right?

Best regards,
Carl

Hello, I'm having trouble when I'm trying to send crypto and I get a pop up saying Jason error??? What does that mean???
Appreciate ur help.
From me and mines @ Bestofintentions2@gmail.com