Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mops install - ERR_UNHANDLED_REJECTION #221

Open
galihlprakoso opened this issue Apr 6, 2024 · 3 comments
Open

mops install - ERR_UNHANDLED_REJECTION #221

galihlprakoso opened this issue Apr 6, 2024 · 3 comments

Comments

@galihlprakoso
Copy link

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 either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "[object Array]".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Node.js v21.7.2
@ZenVoich
Copy link
Owner

ZenVoich commented Apr 6, 2024

What version of mops do you use? mops --version
What OS?

You can try to upgrade mops to the latest version - npm i -g ic-mops

@galihlprakoso
Copy link
Author

CLI 0.42.1
API 1.2

Mac OS. @ZenVoich

@ZenVoich
Copy link
Owner

ZenVoich commented Apr 8, 2024

Please try these steps:

rm -rf .mops
mops cache clean
mops install

If it will not work please share your mops.toml contents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants