You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a task to compile typescript, produces the following:
gulp typescript-compile --gulpfile Gulpfile.js
[12:43:11] Using gulpfile ***path***\Gulpfile.js
[12:43:11] Starting 'typescript-compile'...
***path***/node_modules/cypress/types/jquery/index.d.ts(8155,87): error TS2344: Type '"button" | "view" | "altKey" | "bubbles" | "cancelable" | "changedTouches" | "ctrlKey" | "detail" | "eventPhase" | "metaKey" | "pageX" | "pageY" | "shiftKey" | "char" | "charCode" | ... 13 more ... | "touches"' does not satisfy the constraint '"repeat" | "button" | "code" | "view" | "altKey" | "bubbles" | "cancelable" | "changedTouches" | "ctrlKey" | "detail" | "eventPhase" | "metaKey" | "pageX" | "pageY" | "shiftKey" | ... 55 more ... | "DOM_KEY_LOCATION_STANDARD"'.
Type '"toElement"' is not assignable to type '"repeat" | "button" | "code" | "view" | "altKey" | "bubbles" | "cancelable" | "changedTouches" | "ctrlKey" | "detail" | "eventPhase" | "metaKey" | "pageX" | "pageY" | "shiftKey" | ... 55 more ... | "DOM_KEY_LOCATION_STANDARD"'.
TypeScript: 1 semantic error
TypeScript: emit failed
[12:43:16] 'typescript-compile' errored after 5.46 s
[12:43:16] Error: TypeScript: Compilation failed
at Output.mightFinish (***path***\node_modules\gulp-typescript\release\output.js:130:43)
at Output.finish (***path***\node_modules\gulp-typescript\release\output.js:122:14)
at ProjectCompiler.inputDone (***path***\node_modules\gulp-typescript\release\compiler.js:95:29)
at CompileStream.end (***path***\node_modules\gulp-typescript\release\project.js:122:31)
at DestroyableTransform.onend (***path***\node_modules\readable-stream\lib\_stream_readable.js:577:10)
at Object.onceWrapper (events.js:277:13)
at DestroyableTransform.emit (events.js:194:15)
at DestroyableTransform.EventEmitter.emit (domain.js:459:23)
at endReadableNT (***path***\node_modules\readable-stream\lib\_stream_readable.js:1010:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
This error occured on our build agent yesterday, and I was able to fix it today, by limiting npm to typescript 3.5.3. So something doesn't work with typescript 3.6.2, which was released August 28th (after our evening build).
Using a task to compile typescript, produces the following:
This error occured on our build agent yesterday, and I was able to fix it today, by limiting npm to typescript 3.5.3. So something doesn't work with typescript 3.6.2, which was released August 28th (after our evening build).
Expected behavior:
That the compile goes well
Actual behavior:
See above
Your gulpfile:
tsconfig.json
package.json
Hope you can help, so we are not stuck at version 3.5.3 :)
The text was updated successfully, but these errors were encountered: