ZenVoich / mops

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

"....moc: not found" when run `npm i ic-mops -g` #216

Open xwdeng opened 3 months ago

xwdeng commented 3 months ago

>npm i ic-mops -g
npm WARN deprecated gar@1.0.4: 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 funding
  run `npm fund` for details
CLI 0.41.1
API 1.2
Installing base@0.9.7 [          ]
Installing base@0.9.7 [:         ]
Installing base@0.9.7 [::        ]
Installing base@0.9.7 [:::       ]
Installing base@0.9.7 [::::      ]
Installing base@0.9.7 [:::::     ]
Installing base@0.9.7 [::::::    ]
Installing base@0.9.7 [:::::::   ]
Installing base@0.9.7 [::::::::  ]
Installing base@0.9.7 [::::::::: ]
Installing base@0.9.7 [::::::::::]
Installing https://github.com/aviate-labs/uuid.mo#v0.2.0 [          ]
Installing https://github.com/aviate-labs/uuid.mo#v0.2.0 [::::::::::]
Dependency https://github.com/dfinity/motoko-base#51758e16085f212752cd2442683a79
368f9fe3fa [          ]
Dependency https://github.com/dfinity/motoko-base#51758e16085f212752cd2442683a79
368f9fe3fa [:         ]
Dependency https://github.com/dfinity/motoko-base#51758e16085f212752cd2442683a79
368f9fe3fa [::::::::::]
Dependency https://github.com/aviate-labs/encoding.mo#v0.3.1 [          ]
Dependency https://github.com/aviate-labs/encoding.mo#v0.3.1 [::::::::::]
Dependency https://github.com/dfinity/motoko-base#51758e16085f212752cd2442683a79
368f9fe3fa (local cache)
Dependency https://github.com/aviate-labs/array.mo#v0.1.1 [          ]
Dependency https://github.com/aviate-labs/array.mo#v0.1.1 [::::::::::]
Dependency https://github.com/aviate-labs/io.mo#v0.3.0 [          ]
Dependency https://github.com/aviate-labs/io.mo#v0.3.0 [::::::::::]
Installing https://github.com/aviate-labs/array.mo#v0.1.1 (local cache)
Installing https://github.com/aviate-labs/crypto.mo#v0.2.0 [          ]
  signal: null,
  output: [
    null,
    Buffer(0) [Uint8Array] [],
    Buffer(71) [Uint8Array] [
       47,  98, 105, 110,  47, 115, 104,  58,  32,  49,  58,
       32,  47, 104, 111, 109, 101,  47, 1[14](https://github.com/modclub-app/decide_id/actions/runs/8492731296/job/23266042339?pr=19#step:9:15), 117, 110, 110,
      101, 114,  47,  46,  99,  97,  99, 104, 101,  47, 100,
      102, 105, 110, 105, 116, 121,  47, 118, 101, 114, 1[15](https://github.com/modclub-app/decide_id/actions/runs/8492731296/job/23266042339?pr=19#step:9:16),
      105, 111, 110, 115,  47,  48,  46,  49,  52,  46,  51,
       47, 109, 111,  99,  58,  32, 110, 111, 1[16](https://github.com/modclub-app/decide_id/actions/runs/8492731296/job/23266042339?pr=19#step:9:17),  32, 102,
      111, 1[17](https://github.com/modclub-app/decide_id/actions/runs/8492731296/job/23266042339?pr=19#step:9:18), 110, 100,  10
    ]
  ],
  pid: 1985,
  stdout: Buffer(0) [Uint8Array] [],
  stderr: Buffer(71) [Uint8Array] [
     47,  98, 105, 110,  47, 115, 104,  58,  32,  49,  58,
     32,  47, 104, 111, 109, 101,  47, 114, 117, 110, 110,
    101, 114,  47,  46,  99,  97,  99, 104, 101,  47, 100,
    102, 105, 110, 105, 116, 121,  47, 1[18](https://github.com/modclub-app/decide_id/actions/runs/8492731296/job/23266042339?pr=19#step:9:19), 101, 114, 115,
    105, 111, 110, 115,  47,  48,  46,  49,  52,  46,  51,
     47, 109, 111,  99,  58,  32, 110, 111, 116,  32, 102,
    111, 117, 110, 100,  10
  ]
}

Node.js v18.17.0```
ZenVoich commented 3 months ago

Can you share mops.toml contents?

baolongt commented 1 month ago

clear the dfx cache with dfx cache install