dploy
dploy copied to clipboard
Error YamlParseException
Hello, I have npm v 5.6.0, node v 6.11.0. My dploy.yaml is similar to:
master:
scheme: sftp
host: 192.168.1.1
port: 22
user: user
pass: password
check: true
path:
remote: /var/www/sitename/
When I perform :
dploy name
It return this error:
C:\Users\username\AppData\Roaming\npm\node_modules\dploy\node_modules\yamljs\bin\yaml.js:1219 throw new YamlParseException('Unable to parse.', this.getRealCurrentLineNb() + 1, this.currentLine);
This is a compatibility issue with yamljs , you need to upgrade "yamljs": "~0.1.x" to "yamljs": "~0.3.x" in dploy/package.json https://github.com/jeremyfa/yaml.js/tree/v0.3.0