When running npm run tsc on a fresh install it fails. I believe some dependencies need to be updated?
Error dump
C:\Users***\Downloads\protractor-cucumber-typescript-master>npm run tsc
node_modules/protractor/built/browser.d.ts(15,18): error TS2430: Interface 'Abst
ractExtendedWebDriver' incorrectly extends interface 'ExtendedWebDriver'.
Types of property 'controlFlow' are incompatible.F
Type '() => promise.ControlFlow' is not assignable to type '() => promise.Co
ntrolFlow'. Two different types with this name exist, but they are unrelated.
Type 'promise.ControlFlow' is not assignable to type 'promise.ControlFlow'
. Two different types with this name exist, but they are unrelated.
Types of property 'execute' are incompatible.
Type '(fn: () => T | promise.Promise, opt_description?: string)
=> promise.Promise' is not assignable to type '(fn: () => T | promise.Prom
ise, opt_description?: string) => promise.Promise'. Two different types wi
th this name exist, but they are unrelated.
Types of parameters 'fn' and 'fn' are incompatible.
Type 'T | promise.Promise' is not assignable to type 'T | promi
se.Promise'. Two different types with this name exist, but they are unrelated
.
Type 'Promise' is not assignable to type 'T | Promise'.
Type 'promise.Promise' is not assignable to type 'promise.P
romise'. Two different types with this name exist, but they are unrelated.
Types of property 'then' are incompatible.
Type '(opt_callback?: (value: T) => R | promise.IThenab
le, opt_errback?: (error: any) => any) => ...' is not assignable to type '
(opt_callback?: (value: T) => R | promise.IThenable, opt_errback?: (error: an
y) => any) => ...'. Two different types with this name exist, but they are unrel
ated.
Types of parameters 'opt_callback' and 'opt_callback' ar
e incompatible.
Type 'R | promise.IThenable' is not assignable to t
ype 'R | promise.IThenable'. Two different types with this name exist, but th
ey are unrelated.
Type 'IThenable' is not assignable to type 'R | I
Thenable'.
Type 'promise.IThenable' is not assignable to t
ype 'promise.IThenable'. Two different types with this name exist, but they a
re unrelated.
Types of property 'then' are incompatible.
Type '(opt_callback?: (value: R) => R | pro
mise.IThenable, opt_errback?: (error: any) => any) => ...' is not assignable
to type '(opt_callback?: (value: R) => R | promise.IThenable, opt_errback?
: (error: any) => any) => ...'. Two different types with this name exist, but th
ey are unrelated.
Type 'Promise<R | IThenable>' is not assi
gnable to type 'Promise'.
Types of property 'then' are incompatible.
Type '(opt_callback?: (value: R | ITh
enable) => R | IThenable, opt_errback?: (error: any) => a...' is not assig
nable to type '(opt_callback?: (value: R) => R | IThenable, opt_errback?:
(error: any) => any) => Promise'.
Types of parameters 'opt_callback' and
'opt_callback' are incompatible.
Types of parameters 'value' and 'val
ue' are incompatible.
Type 'R | IThenable' is not ass
ignable to type 'R'.
Type 'IThenable' is not assig
nable to type 'R'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! protractor-typescript-cucumber@2.0.0 tsc: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the protractor-typescript-cucumber@2.0.0 tsc script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users***\AppData\Roaming\npm-cache_logs\2017-08-11T14_42
_22_833Z-debug.log
When running
npm run tsc
on a fresh install it fails. I believe some dependencies need to be updated?Error dump C:\Users***\Downloads\protractor-cucumber-typescript-master>npm run tsc
node_modules/protractor/built/browser.d.ts(15,18): error TS2430: Interface 'Abst ractExtendedWebDriver' incorrectly extends interface 'ExtendedWebDriver'. Types of property 'controlFlow' are incompatible.F Type '() => promise.ControlFlow' is not assignable to type '() => promise.Co ntrolFlow'. Two different types with this name exist, but they are unrelated. Type 'promise.ControlFlow' is not assignable to type 'promise.ControlFlow' . Two different types with this name exist, but they are unrelated. Types of property 'execute' are incompatible. Type '(fn: () => T | promise.Promise, opt_description?: string)
=> promise.Promise' is not assignable to type '(fn: () => T | promise.Prom
ise, opt_description?: string) => promise.Promise'. Two different types wi
th this name exist, but they are unrelated.
Types of parameters 'fn' and 'fn' are incompatible.
Type 'T | promise.Promise' is not assignable to type 'T | promi
se.Promise'. Two different types with this name exist, but they are unrelated
.
Type 'Promise' is not assignable to type 'T | Promise'.
Type 'promise.Promise' is not assignable to type 'promise.P
romise'. Two different types with this name exist, but they are unrelated.
Types of property 'then' are incompatible.
Type '(opt_callback?: (value: T) => R | promise.IThenab
le, opt_errback?: (error: any) => any) => ...' is not assignable to type '
(opt_callback?: (value: T) => R | promise.IThenable, opt_errback?: (error: an
y) => any) => ...'. Two different types with this name exist, but they are unrel
ated.
Types of parameters 'opt_callback' and 'opt_callback' ar
e incompatible.
Type 'R | promise.IThenable' is not assignable to t
ype 'R | promise.IThenable'. Two different types with this name exist, but th
ey are unrelated.
Type 'IThenable' is not assignable to type 'R | I
Thenable'.
Type 'promise.IThenable' is not assignable to t
ype 'promise.IThenable'. Two different types with this name exist, but they a
re unrelated.
Types of property 'then' are incompatible.
Type '(opt_callback?: (value: R) => R | pro
mise.IThenable, opt_errback?: (error: any) => any) => ...' is not assignable
to type '(opt_callback?: (value: R) => R | promise.IThenable, opt_errback?
: (error: any) => any) => ...'. Two different types with this name exist, but th
ey are unrelated.
Type 'Promise<R | IThenable>' is not assi
gnable to type 'Promise'.
Types of property 'then' are incompatible.
Type '(opt_callback?: (value: R | ITh
enable) => R | IThenable, opt_errback?: (error: any) => a...' is not assig
nable to type '(opt_callback?: (value: R) => R | IThenable, opt_errback?:
(error: any) => any) => Promise'.
Types of parameters 'opt_callback' and
'opt_callback' are incompatible.
Types of parameters 'value' and 'val
ue' are incompatible.
Type 'R | IThenable' is not ass
ignable to type 'R'.
Type 'IThenable' is not assig
nable to type 'R'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! protractor-typescript-cucumber@2.0.0 tsc: tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the protractor-typescript-cucumber@2.0.0 tsc script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users***\AppData\Roaming\npm-cache_logs\2017-08-11T14_42 _22_833Z-debug.log