You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to be an incompatibilty in the docker setup step of 1.29.4
In my package.json devDependencies I have ^1.29.3.
Locally I'm running 1.29.2
Inside my dockerfile I curlpipebash the latest version (1.29.4 at present)
when running RUN moon docker setup in my dockerfile, I get the following error:
npm error Error: Cannot find module '@moonrepo/core-linux-x64-gnu/package.json'
npm error Require stack:
npm error - /home/runner/_work/myrepo/myproject/node_modules/@moonrepo/cli/postinstall.js
npm error at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)
npm error at Function.resolve (node:internal/modules/helpers:133:19)
npm error at Object.<anonymous> (/home/runner/_work/myrepo/myproject/node_modules/@moonrepo/cli/postinstall.js:41:38)
npm error at Module._compile (node:internal/modules/cjs/loader:1460:14)
npm error at Module._extensions..js (node:internal/modules/cjs/loader:1544:10)
npm error at Module.load (node:internal/modules/cjs/loader:1275:32)
npm error at Module._load (node:internal/modules/cjs/loader:1091:12)
npm error at wrapModuleLoad (node:internal/modules/cjs/loader:212:19)
npm error at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:158:5)
npm error at node:internal/main/run_main_module:30:49 ***
npm error code: 'MODULE_NOT_FOUND',
npm error requireStack: [
npm error '/home/runner/_work/myrepo/myproject/node_modules/@moonrepo/cli/postinstall.js'
npm error ]
Expected behavior
It could be that the docker packages move around, but I wouldn't expect a patch upgrade to break compat
update on this one: seems I had a circular dependsOn in my moon files :| though weirdly moon ci works fine for this. Is it worth raising a separate issue for docker scaffold allowing to start with circular dependencies?
Describe the bug
There appears to be an incompatibilty in the docker setup step of 1.29.4
In my package.json devDependencies I have
^1.29.3
.Locally I'm running
1.29.2
Inside my dockerfile I curlpipebash the latest version (
1.29.4
at present)when running
RUN moon docker setup
in my dockerfile, I get the following error:Expected behavior
It could be that the docker packages move around, but I wouldn't expect a patch upgrade to break compat
Screenshots
Environment
Additional context
The text was updated successfully, but these errors were encountered: