Standalone JavaScript YAML 1.2 Parser & Encoder. Works under node.js and all major browsers. Also brings command line YAML/JSON conversion tools.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
jinusean opened this issue 6 years ago · comments
Following code returns error Error: ENOENT: no such file or directory, open '../.env.yaml'
Error: ENOENT: no such file or directory, open '../.env.yaml'
YAML.parse('../.env.yaml')
My mistake, needed to use __dirname. Closing.
__dirname