Giter Club home page Giter Club logo

Comments (6)

ericvw avatar ericvw commented on September 25, 2024

What is your node --version? I'll get around to trying Ubuntu 15.04 via Vagrant to replicate as well.

from blpapi-http.

flojdek avatar flojdek commented on September 25, 2024

floyd@floyd-VirtualBox:~$ node --version
v0.10.25

Also, when I try to target ES6 (by changing --target) I get these errors:

floyd@floyd-VirtualBox:~/blpapi-http$ make
tslint-rules/alignRule.ts(81,37): error TS2339: Property 'getLineAndCharacterFromPosition' does not exist on type 'SourceFile'.
tslint-rules/switchDefaultRule.ts(28,35): error TS2339: Property 'clauses' does not exist on type 'SwitchStatement'.
tslint-rules/switchDefaultRule.ts(28,49): error TS7006: Parameter 'clause' implicitly has an 'any' type.
Makefile:91: recipe for target 'tslint-rules/alignRule.js' failed
make: *** [tslint-rules/alignRule.js] Error 1

I'll try to look into it as well.

from blpapi-http.

thmiceli avatar thmiceli commented on September 25, 2024

@flojdek, I can reproduce your symptoms if I use the most recent version of tslint (2.2.0-beta which relies on typescript 1.5.0-beta). Did you do a local "npm install tslint"? This would force the installation of 2.2.0-beta.

from blpapi-http.

yupinghu avatar yupinghu commented on September 25, 2024

This is another instance of what happened in #152 -- the npm in node 0.10 is getting beta versions of tslint (see npm/npm@4378a17 for the underlying node change). If you upgrade to node 0.12 you won't see this problem, and we plan on deprecating support for old node versions anyway so you will eventually want to do this.

In the short run we'll also change package.json to avoid this.

from blpapi-http.

yupinghu avatar yupinghu commented on September 25, 2024

Things should be good now even for node 0.10 (and in case 2.2.0-beta gets promoted); I'd still recommend upgrading your node version at some point in the future when you get a chance.

from blpapi-http.

flojdek avatar flojdek commented on September 25, 2024

Hey. It's been a while. Ok, I get the error with 2.2.0-beta and don't get it with 2.1.1, so after the change all looks good now. Thanks!

from blpapi-http.

Related Issues (20)

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.