MOdule Build Fails> Node.js 16 actions are deprecated

here is the build

i am getting the following error on a module build

publish-images / Publish module images

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: GitHub Actions: Transitioning from Node 16 to Node 20 - The GitHub Blog.

error

[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.npm.taobao.org/graceful-fs/download/graceful-fs-4.2.6.tgz: certificate has expired".
info If you think this is a bug, please open a bug report with the information provided in "/usr/src/ui/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error while running runtime: exit status 1
time="2024-01-24T20:36:58Z" level=error msg="exit status 1"
Error: Process completed with exit code 1.
1 Like

@stephdl might you have an idea whats causing this build to fail?

1 Like

https://registry.npm.taobao.org : certificate has expired ! update dependencies in yarn.lock; use other NPM registry:

2 Likes

hello @mark_nl thank you so much, this solves my problems, now how would i have known

1 Like

replacing those solves it for the previous build,

what about this build error now

resolve build issue due to deprecated cdn · compgeniuses/ns8-joplinserver@a77ed35 (github.com)

Are you sure the github CR ghcr.io/florider89/joplin-server:latest exists and is publicly available?

Or did you mean this docker CR?:
https://hub.docker.com/r/florider89/joplin-server

i was playing around with those values when i initially got the taobao error.

HAve since reverted to the original cr, same issue persisits

1 Like

Build script is still broken on that line:

Note the backslashes, that is to write an long (bash) command on multiple lines.
You can not add a comment in there.
Try to move the commented line down (under"${container}") than it is not in the multiline-comandblok with backslashes anymore.

1 Like

Ah ok, i did not know that, and Thank you. @mark_nl that helps

today you’ve helped me squash a number of my issues…

2 Likes