Code Monkey home page Code Monkey logo

skale-cli's People

Contributors

gitter-badger avatar mark-bradshaw avatar mvertes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

skale-cli's Issues

Fail running `skale run`

I'm just kicking the tires on skale. I just did a fresh npm install of skale, and used it to create a new skale app. I moved into the directory, and skale run. I received this output:

markbradshaw@MacBook-Pro test_skale (master)$ skale run
fatal: ambiguous argument 'skale/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
child_process.js:508
    throw err;
    ^

Error: Command failed: git diff skale/master
fatal: ambiguous argument 'skale/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

    at checkExecSyncError (child_process.js:465:13)
    at Object.execSync (child_process.js:505:13)
    at run_remote (/Users/markbradshaw/.nvm/versions/node/v4.5.0/lib/node_modules/skale/skale.js:251:28)
    at Object.<anonymous> (/Users/markbradshaw/.nvm/versions/node/v4.5.0/lib/node_modules/skale/skale.js:89:5)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)

Judging from the code in skale/skale.js I'm guessing the cli is usually being run from a git checkout rather than global npm install, so perhaps this got missed. It's also probably not a good idea to assume the user has git installed.

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.