Closed olivierperez closed 6 years ago
Maybe it can help you, here is the Dockerfile
FROM node:6
RUN npm install -g daggraph
WORKDIR /source
Have you tried to update the node version? Could be a possible cause.
Also how are you handling the input prompted for the graph version type? The cli will ask you for the chart type you want to generate
Yeah, node version. https://stackoverflow.com/questions/37815790/syntaxerror-unexpected-token-function-async-await-nodejs Closing
Thanks, the image now use node:9
. It works well 👍
docker run -it --rm -v $(pwd):/source olivierperez/daggraph daggraph .
Description
I've made a Docker image to use daggraph without need of npm or any installation (exept Docker of course).
But it failed with this error:
Steps to reproduce
Here is the command I execute in the root folder of my project:
Basically it will execute
daggraph app/src/
on my project.Assumption
I don't use the right folder (in my example:
app/src/
)