ui-router / ui-router/sample-app-angular
no tsconfig = errors running
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 85
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
When getting latest and running "npm start", I get this:
ERROR in node_modules/@types/jasmine/index.d.ts(142,47): error TS1005: ';' expected.
node_modules/@types/jasmine/index.d.ts(142,90): error TS1005: '(' expected.
node_modules/@types/jasmine/index.d.ts(142,104): error TS1005: ']' expected.
node_modules/@types/jasmine/index.d.ts(142,112): error TS1005: ',' expected.
node_modules/@types/jasmine/index.d.ts(142,113): error TS1136: Property assignment expected.
node_modules/@types/jasmine/index.d.ts(142,121): error TS1005: ')' expected.
node_modules/@types/jasmine/index.d.ts(142,147): error TS1005: '(' expected.
node_modules/@types/jasmine/index.d.ts(142,162): error TS1005: ']' expected.
node_modules/@types/jasmine/index.d.ts(142,163): error TS1005: ',' expected.
node_modules/@types/jasmine/index.d.ts(142,164): error TS1136: Property assignment expected.
node_modules/@types/jasmine/index.d.ts(142,165): error TS1136: Property assignment expected.
node_modules/@types/jasmine/index.d.ts(142,179): error TS1005: ',' expected.
node_modules/@types/jasmine/index.d.ts(142,183): error TS1005: ':' expected.
node_modules/@types/jasmine/index.d.ts(142,208): error TS1005: '{' expected.
node_modules/@types/jasmine/index.d.ts(142,217): error TS1005: ':' expected.
node_modules/@types/jasmine/index.d.ts(142,222): error TS1005: ',' expected.
node_modules/@types/jasmine/index.d.ts(142,227): error TS1005: ':' expected.
node_modules/@types/jasmine/index.d.ts(142,228): error TS1109: Expression expected.
node_modules/@types/jasmine/index.d.ts(142,230): error TS1005: ')' expected.
node_modules/@types/jasmine/index.d.ts(635,30): error TS1005: ';' expected.
node_modules/@types/jasmine/index.d.ts(720,1): error TS1128: Declaration or statement expected.
node_modules/@types/sinon/index.d.ts(1448,36): error TS1005: ';' expected.
node_modules/preact/dist/preact.d.ts(129,8): error TS1005: ';' expected.
node_modules/preact/dist/preact.d.ts(131,4): error TS1109: Expression expected.
node_modules/preact/dist/preact.d.ts(133,4): error TS1005: '(' expected.
node_modules/preact/dist/preact.d.ts(134,3): error TS1005: '(' expected.
node_modules/preact/dist/preact.d.ts(134,10): error TS1005: ')' expected.
node_modules/preact/dist/preact.d.ts(153,14): error TS1005: ';' expected.
node_modules/preact/dist/preact.d.ts(153,44): error TS1005: ';' expected.
node_modules/preact/dist/preact.d.ts(154,5): error TS1128: Declaration or statement expected.
node_modules/preact/dist/preact.d.ts(155,5): error TS1005: '(' expected.
node_modules/preact/dist/preact.d.ts(155,12): error TS1005: ')' expected.
node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected.
node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ';' expected.
node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected.
I think you need a tsconfig to tell it to ignore the node_modules folder (?)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported errors with npm start and inspect the project configuration around the missing tsconfig. Check how the TypeScript compiler processes the declarations in node_modules; done means npm start completes without these parsing errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100