ZenVoich / mops

Package manager for the Motoko programming language
https://mops.one
MIT License
36 stars 3 forks source link

package "map" not defined #167

Closed paulous closed 9 months ago

paulous commented 9 months ago

Not sure why getting this err. dfx.json looks fine. mops.toml seems fine. Using latest node and dfx 0.15v

Error: Error while running defaults.build.packtool in dfx.json config file: Command failed: mops sources /bin/sh: line 1: mops: command not found Motoko

ZenVoich commented 9 months ago

Did you install mops by npm i -g ic-mops? Does mops accessible from the terminal?

paulous commented 9 months ago

update: My bad I didn't start vs code from dir.

code .

goood now. Thanks!

Yes I installed it this way: npm i -g ic-mops also yes I can access from terminal. CLI 0.32.2 API 1.2