Giter Club home page Giter Club logo

star's Issues

运行star出现问题

yntaxError: /Users/oujun/.star.json: Unexpected end of input
at Object.parse (native)
at Object.Module._extensions..json (module.js:430:27)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.getSymbolFilePath (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/lib/common.js:45:26)
at Object.getFilteredSymbols (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/lib/trace.js:31:56)
at Object.trace (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/star.js:128:29)
at doCmd (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/star.js:161:20)
at Object. (/usr/local/lib/node_modules/.star_npminstall/star/0.3.5/star/star.js:165:1)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Function.Module.runMain (module.js:447:10)

Trailing comma bugs

Trailing comma bugs when run the following commands:

  • star -i 600118,600117,600677,
  • star 600118,600117,600677,
  • star -w 600118,600117,600677,

Query insider trading from TI bug

Unhandled rejection Error: ESOCKETTIMEDOUT
    at ClientRequest.<anonymous> (/Users/hustcer/github/star/node_modules/request/request.js:820:19)
    at ClientRequest.g (events.js:199:16)
    at ClientRequest.emit (events.js:104:17)
    at Socket.emitTimeout (_http_client.js:543:10)
    at Socket.g (events.js:199:16)
    at Socket.emit (events.js:104:17)
    at Socket._onTimeout (net.js:348:8)
    at _makeTimerTimeout (timers.js:476:11)
    at Timer.unrefTimeout (timers.js:540:5)

无法创建有效地软件连接

从源代码安装Star(sudo npm install --production),使用软连接访问Star时,出现以下问题:

fs.js:584
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^

Error: ENOENT: no such file or directory, open 'symbols.yaml'
at Error (native)
at Object.fs.openSync (fs.js:584:18)
at Object.fs.readFileSync (fs.js:431:33)
at Object..filter..filter..filter..filter.syms as getFilteredSymbols
at Object.actions.TRACE (/Users/ChiangEarl/Documents/Project/git/star/star.js:128:29)
at doCmd (/Users/ChiangEarl/Documents/Project/git/star/star.js:161:20)
at Object. (/Users/ChiangEarl/Documents/Project/git/star/star.js:165:1)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:457:10)
at startup (node.js:136:18)
at node.js:972:3

star

‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’

npm http 200 https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz
AR(target) Release/obj.target/iconv.a
CXX(target) Release/obj.target/iconv/src/binding.o
In file included from ../src/binding.cc:18:
../node_modules/nan/nan.h:316: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
make: *** [Release/obj.target/iconv/src/binding.o] Error 1
make: Leaving directory `/usr/lib/node_modules/star/node_modules/iconv/build'

star err

module.js:489
throw err;
^
SyntaxError: /Users/local/.star.json: Unexpected end of input
at Object.parse (native)
at Object.Module.extensions..json (module.js:486:27)
at Module.load (module.js:355:32)
at Function.Module.load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.Common.getSymbolFilePath (/usr/local/lib/node_modules/star/lib/common.js:43:26)
at Object.
.filter.
.filter._.filter.syms as getFilteredSymbols
at Object.actions.TRACE (/usr/local/lib/node_modules/star/star.js:109:29)
at doCmd (/usr/local/lib/node_modules/star/star.js:137:20)
at Object. (/usr/local/lib/node_modules/star/star.js:141:1)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)

运行./star.js 时出现的问题

/home/wangkr/star/star.js:11
let _ = require('lodash'),
^^^
SyntaxError: Unexpected strict mode reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3

Make `star -wo` to watch held stocks

Make star -wo or star -w -o to watch held stocks, and star -w to watch stocks in watchList then fallback to held stocks if there is no stock in watchList

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.