mops
mops copied to clipboard
Package manager for the Motoko programming language
My simple hello world have error from mops, how to fix it? ``` Error: Error while running `defaults.build.packtool` in `dfx.json` config file: Command failed: mops sources ```
Example: https://github.com/dfinity/sdk/actions/runs/8803187859/job/24161266261 We had to pin this test to [email protected] for now: https://github.com/dfinity/sdk/pull/3724
I have this canisters and i have 2 different mops.toml files in this subdirectory backend/apps/app2/canister and this one backend/apps/app1/canister ``` { "canisters": { "app2": { "main": "backend/apps/app2/canister/src/main.mo", "build": "cd backend/apps/app2/canister...
I simply tried to execute this command: ``` mops install ``` And it's throwing this error: ``` Checking integrity... node:internal/process/promises:289 triggerUncaughtException(err, true /* fromPromise */); ^ [UnhandledPromiseRejection: This error originated...
I want the option to publish non-`.mo` files. Particularly, I want to publish my `make.rules` Makefile rules as a MOPS package. Is this possible?
```sh >npm i ic-mops -g npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. added 456 packages in 10s 122 packages are looking for...
- Remove `mops install ` in favor of `mops add ` - Remove cache/config files migration code - Drop support for Node.js `mops user get-principal` - remove `// compatibility with...
MOPS stopped to work: ``` $ mops i node:internal/deps/undici/undici:11731 Error.captureStackTrace(err, this); ^ TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11731:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async HttpAgent._requestAndRetry (/home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/node_modules/@dfinity/agent/lib/cjs/agent/http/index.js:265:26) at async HttpAgent.query (/home/porton/.nvm/versions/node/v21.5.0/lib/node_modules/ic-mops/node_modules/@dfinity/agent/lib/cjs/agent/http/index.js:312:26) at...