mops icon indicating copy to clipboard operation
mops copied to clipboard

Errors while running `mops sources` in `dfinity/sdk` CI

Open rvanasa opened this issue 2 years ago • 1 comments

We are currently exploring the possibility of adding MOPS to the official dfx new Motoko starter projects. At the moment, we are getting errors when running mops sources in the dfinity/sdk CI workflows. My first guess is that the CI is using a Node.js version such as 12.x, which currently appears to be unsupported by MOPS.

Relevant PR: https://github.com/dfinity/sdk/pull/3038

I'm going to be busy for the next few weeks but will relay any new information that could help resolve this issue.

(@ZenVoich, @tomijaga)

rvanasa avatar Mar 23 '23 02:03 rvanasa

@rvanasa

My first guess is that the CI is using a Node.js version such as 12.x, which currently appears to be unsupported by MOPS.

I checked npm run sources with node v12 and got error code 1 and 255 not 254. But I can try to build a version that works with node v12.

Are there more details of the error?

ZenVoich avatar Mar 23 '23 06:03 ZenVoich