Closed Freighar closed 3 years ago
Ah, maybe you didn't set the NODE_ENV environment variable..?
I totally agree the instructions could be better there. The Docker section does mention it, but it's not mentioned in the Run from command line section.
Butler Spyglass' sibling project Butler has a way more comprehensive doc site at butler.ptarmiganlabs.com.
There you find a thorough explanation of how the config file naming works.
To sum it up:
If your config file is called production.yaml
, you should set the NODE_ENV environment variable to production
.
See the Butler docs for examples.
Yeah that made it work!
thanks a lot!
Describe the bug Hello, i followed the instruction using node.js but when i run "node.js" i get an error. I renamed the config file "Production.yaml" but i cannot make it work.
To Reproduce I just installed using npm and then run node index.js.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Describe environment:
Config file(s) What's the content of the config file(s) you use? Please make sure to remove all sensitive information before posting it here.
Additional context Add any other context about the problem here.