-
Notifications
You must be signed in to change notification settings - Fork 58
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
SyntaxError: Unexpected token function #30
Comments
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 |
Thanks, the image now use |
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/
)The text was updated successfully, but these errors were encountered: