Git Product home page Git Product logo

candyman's People

Contributors

codefoster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

candyman's Issues

Error running candyman.deploy()

I used the configuration as you explained it on your pluralsight course (great course btw). Perhaps these settings has changed, but this is how I set it up:

var gulp = require('gulp');
var Candyman = require('candyman');

var candyman = new Candyman({
    targetDevices: [{
        devicename: 'rpi22', hostname: 'rpi22'
        }],
    projectName: 'microServiceBus',
    user: 'root',
    password: 'pi',
    startFile:'microServiceBusHost.js'
});

gulp.task('default', function () {
    console.log('Running default gulp');
});

gulp.task('deploy', function () {
    console.log('Running deploy gulp');
    return candyman.deploy();
});

This is the exception i get:

Starting deploy task
'scp' is not recognized as an internal or external command,
operable program or batch file.

Error in deploy task on rpi22: Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "scp app.js package.json root@rpi22:/home/root/microServiceBus"
'scp' is not recognized as an internal or external command, operable program or batch file.

Error deploying

Hi! I've followed the pluralsight course (excellent BTW!) and tried to deploy from VS2015 with the gulpfile however on deploy i get :


Error in deploy task on edison.local: Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "scp app.js package.json [email protected]:/home/root/blink-cylon"
Warning: Permanently added the ECDSA host key for IP address '192.168.1.100' to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
Permission denied (publickey,password,keyboard-interactive).
lost connection


however if I manually type (or cut/paste) the scp cmd at the command line its works. It does ask for the password, and I enter the same password in the candyman config and it works just fine, the files are deployed and run just fine.
any ideas?

Thanks!
Rob

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.