-
-
Notifications
You must be signed in to change notification settings - Fork 417
Open
Description
Code to reproduce the issue:
git clone https://github.com/cyclejs/cyclejs
cd cyclejs/examples/intermediate/tsx-seconds-elapsed
npm startExpected behavior:
It should compile the code, without error.
Actual behavior:
The compile failed with below error:
...
mkdirp dist && tsc
node_modules/@types/react/index.d.ts(77,26): error TS1005: ',' expected.
node_modules/@types/react/index.d.ts(77,28): error TS1005: '>' expected.
node_modules/@types/react/index.d.ts(77,30): error TS1005: ';' expected.
node_modules/@types/react/index.d.ts(77,32): error TS1109: Expression expected.
node_modules/@types/react/index.d.ts(77,52): error TS1005: '(' expected.
...
Workarond:
Although the error is caused by mis-configuration of the build process for typescript, the error can be ignored to continue the build, and the built code works well.
Therefore, in the npm script, if I add || true after tsc, it will allow browserify to continue the build process.
Versions of packages used:
master branch (15.4.0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels