Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use "npm ci" instead of "npm install" #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

therealcljohn
Copy link

When starting a docker container with the provided docker image I get the following error:

ReferenceError: globalThis is not defined at Object.<anonymous> (/usr/local/lib/node_modules/forever/node_modules/winston-transport/node_modules/readable-stream/lib/ours/util.js:5:21)

The error occurs since October 7th 2024. My assumption is, that one of the javascript packages got an upgrade and now uses a feature which is not available in the unstalled nodejs version.

This can be fixed by installing the packages defined in the package-lock.json. using npm ci instead of npm install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant