mops icon indicating copy to clipboard operation
mops copied to clipboard

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

Open xwdeng opened this issue 1 year ago • 2 comments

>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 funding
  run `npm fund` for details
CLI 0.41.1
API 1.2
Installing [email protected] [          ]
Installing [email protected] [:         ]
Installing [email protected] [::        ]
Installing [email protected] [:::       ]
Installing [email protected] [::::      ]
Installing [email protected] [:::::     ]
Installing [email protected] [::::::    ]
Installing [email protected] [:::::::   ]
Installing [email protected] [::::::::  ]
Installing [email protected] [::::::::: ]
Installing [email protected] [::::::::::]
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```

xwdeng avatar Mar 30 '24 18:03 xwdeng

Can you share mops.toml contents?

ZenVoich avatar Mar 31 '24 07:03 ZenVoich

clear the dfx cache with dfx cache install

baolongt avatar Jun 06 '24 14:06 baolongt