Coder Social home page Coder Social logo

bitcar's People

Contributors

machellerogden avatar thehipbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitcar's Issues

Zsh support

Add zsh support to bitcar.

Note, I know this is reference in README.md but I thought I would create an issue too so it is easier to track.

Non-existent dir accepted resulting in errors

I accidentally provided a non-existing path for bitcar to clone repos. This results in a error as below for all bitcar commands

fs.js:922
  return binding.mkdir(pathModule._makeLong(path),
                 ^

Error: ENOENT: no such file or directory, mkdir '/Users/workspace/repos/src'
    at Error (native)
    at Object.fs.mkdirSync (fs.js:922:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/bitcar/lib/workspaceDir.js:9:8)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/bitcar/lib/getSourceResult.js:5:22)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)

May be there should be check for existence of the path provided during setup.

JavaScript Error when running bitcar --setup

On Mac OS Sierra, tried installing and setting up bitcar

tommy@tommy ~/dev
๐Ÿ”   npm i -g bitcar
/usr/local/bin/bitcar -> /usr/local/lib/node_modules/bitcar/index.js
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/npm-package-arg requires hosted-git-info@'^2.1.5' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/hosted-git-info,
npm WARN unmet dependency which is version 2.1.4
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/npm-registry-client requires graceful-fs@'^4.1.6' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/graceful-fs,
npm WARN unmet dependency which is version 4.1.4
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/rimraf requires glob@'^7.0.5' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/npm/node_modules/glob,
npm WARN unmet dependency which is version 7.0.4
[email protected] /usr/local/lib/node_modules/bitcar
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected] ([email protected], [email protected], [email protected])
โ”œโ”€โ”€ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected] ([email protected])
โ”œโ”€โ”€ [email protected] ([email protected], [email protected], [email protected], [email protected])
โ”œโ”€โ”€ [email protected] ([email protected], [email protected], [email protected])
โ”œโ”€โ”€ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
โ”œโ”€โ”€ [email protected] ([email protected])
โ”œโ”€โ”€ [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
โ””โ”€โ”€ [email protected]


tommy@tommy ~/dev
๐Ÿ”   bitcar --setup
/usr/local/lib/node_modules/bitcar/cli.js:38
        let { results, confirmMessage, errorMessage, handler } = options;
            ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    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 Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at /usr/local/lib/node_modules/bitcar/index.js:5:13
    at Object.<anonymous> (/usr/local/lib/node_modules/bitcar/index.js:16:2)
    at Module._compile (module.js:409:26)


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.