jvandemo / jvandemo/generator-angular2-library

linting fails

Open
#203 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
740
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Generated a new library and getting follewed linting errors:
```
Error: Error at playground/index.ts:9:31: Cannot find module 'testlib'.
Error at src/sample.component.spec.ts:7:1: Cannot find name 'describe'.
Error at src/sample.component.spec.ts:14:3: Cannot find name 'beforeEach'.
Error at src/sample.component.spec.ts:28:3: Cannot find name 'it'.
Error at src/sample.component.spec.ts:29:5: Cannot find name 'expect'.
```
After i changed the `tsconfig.json`
removed:
`"types": []`
added:
```
"typeRoots": [
"node_modules/@types"
]
```
I am still getting
`Error: Error at playground/index.ts:9:31: Cannot find module 'testlib'.`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.