bespoken / bst

:wrench: Bespoken Tools - Tools for making voice apps faster and better
https://bespoken.io
Apache License 2.0
191 stars 20 forks source link

Bst not working inside a docker container with node:14.0-alpine #650

Open dmarvp opened 4 years ago

dmarvp commented 4 years ago

Description:

When installing bst inside a docker container it won't execute tests.

Dockerfile:

FROM node:14.0-alpine
RUN apk add bash zip
RUN npm install bespoken-tools@latest -g
RUN bst -v

Steps To Reproduce

Steps to reproduce the behavior:

  1. Build a docker image with bst installed and run it
  2. Connect to the container
  3. Run bst test

Expected behavior

Tests should be executed correctly.

Actual behavior

The following error appears and bst is not executed:

(node:70) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:77) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
jkelvie commented 4 years ago

It works for me on the Docker images node:10, node:12 and node:14

I do get a warning on node:14 though.

dmarvp commented 4 years ago

I think we would need to get rid of the warnings, but that certainly reduces the priority of this ticket. Removing the ticket from the current sprint now.