GitHub Actions: Write Docker container actions

There is an issue with the npm inside the docker image used by this course.
But I guess I’m just unlucky enough to have done it a little after an npm release…
Tried to fix with by running npm install -g npm@7.0.6, but then ran into an issue:
Cannot find module '@actions/core'

Can I get any help with it? Sorry about the newbie question…

If the problem is a bug the Docker base image or an incompatibility with the newer version you could try using an older version for now, e.g. node:14-slim instead of node:slim.

Worked fine! Thanks!

1 Like