jaystack / odata-v4-server-mssql-example

MSSQL example for odata-v4-server
6 stars 3 forks source link

Can't build the code #1

Open jluc-andrei opened 7 years ago

jluc-andrei commented 7 years ago

hi, i have many errors when i built this projet. src/controller.ts(12,5): error TS1241: Unable to resolve signature of method decorator when called as an expression. Type 'ExpressionDecorator' has no properties in common with type 'TypedPropertyDescriptor<(stream: any, query: Token) => Promise<void | Product[]>>'.

lazarv commented 7 years ago

Hi @jluc-andrei, do you use the latest version of the dependencies? You need to have odata-v4-server 0.1.38 at least to compile with the latest TypeScript. I just cloned this repo as new and after npm install, build works.

jluc-andrei commented 7 years ago

hi, i just cloned this repo and buid it. All the dependencies aren't in the package.json?

lazarv commented 7 years ago

@jluc-andrei: all dependencies are in the package.json.