Skip to content
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

Error YamlParseException #110

Open
loreberti89 opened this issue Dec 22, 2017 · 1 comment
Open

Error YamlParseException #110

loreberti89 opened this issue Dec 22, 2017 · 1 comment

Comments

@loreberti89
Copy link

loreberti89 commented Dec 22, 2017

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

@taha-azzabi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants