dploy icon indicating copy to clipboard operation
dploy copied to clipboard

Error YamlParseException

Open loreberti89 opened this issue 7 years ago • 1 comments

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);

loreberti89 avatar Dec 22 '17 08:12 loreberti89

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

taha-azzabi avatar Nov 26 '18 10:11 taha-azzabi