Issue building in n8n

Describe the issue/error/question

n8n build with docker image custom fails either with
missing openapi.yml
or during the build in on the clean up step rm-rf …

What is the error message (if any)?

the openapi issue

8bb03 “{ file: ‘LicenseManager.js’, function: ‘log’ }”
Error: ENOENT: no such file or directory, open ‘/usr/local/lib/node_modules/n8n/packages/cli/dist/PublicApi/v1/openapi.yml’
at Object.openSync (node:fs:590:3)
at Object.readFileSync (node:fs:458:35)
at Function.Utils.getStringFromFile (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/yamljs/lib/Utils.js:284:

the built message

rm: can’t remove ‘/tmp/v8-compile-cache-0/’: Permission denied

88rm: can’t remove ‘/tmp/v8-compile-cache-0/’: Permission denied

additional information

i had the openapi issue just before i merged the latest changes. commit 5eb0d524591ef699ebd2631b042982170b5055a8


i would appreciate any helpful pointer.
i dont rule out that my docker server has an isse or the gitlab runner. becuase the custom image build worked 2 weeks before just fine.

Hey @Martin_Forster,

If you are building it from source today we are aware of an issue with the license manager which will be resolved today. This could be the issue you are seeing.

that would fit, because i merged the latest upstream changes yesterday. In the hope to fix my issue with the openapi file. But it changed the build error. Thanks for letting me now.

Hey @Martin_Forster,

No problem at all, If you wanted a temporary workaround you can manually set the license-sdk version under dependencies in packages/cli/package.json to 1.8.0 instead of ^1.9.1

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.