Skip to content

Node.js version issue about running ch04/access-log #69

@junepil

Description

@junepil

Exercise
ch04/exercises/access-log

Problem
While doing the exercise in the book I found out that the container that i ran using the image which is made by Dockerfile in the git repository immediately exits. So I inspect the container while using -it option and the following is what I found.

1. winston-transport npm package requires globalThis object

image

2. globalThis object is available from node v12.0.0

image

3. The node image that diamol/node uses is node v10.16.0

image

Docker version
Please run docker version and paste the output.
image

Code version
image

Additional context
I think it's related to the update of winston-transport package and found the similar issue at it's repo.

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions