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
Cannot find base TypeScript configuration file 'tsconfig.base.json'.
A little research brought up evidence that others, too, have experienced a similar issue, and - with a little luck - a way to resolve it. In short, it seems that angular's update did not separate our tsconfig.json into a tsconfig.base.json (which all projects inherit from) and a stub tsconfig.json (which seems to only remain there for the sake of IDE's like VSCode).
I'll attempt to properly split our config in those two files.
To Reproduce
From the root-directory, run
npx ng generate library <library-name> (--dry-run)
Expected behavior
Putting it a little matter-of-fact-ly: generating libraries should work.
Versions
App
Angular: [10.0.8]
Node: [v12.13.0]
Clarity: [3.1.5]
UKIS: [7.1.0]
Device:
Type: [Notebook]
OS: [Windows]
Additional context
As a side note, this issue only occurs when generating libraries. I didn't encounter any errors in e.g. generating components - which makes sense, since new components don't need a new tsconfig-file.
The text was updated successfully, but these errors were encountered:
* build: created a tsconfig.base.json, to be used as the basis for new libraries. Handles issue #33
* build: made all projects extend tsconfig.base.json
* build: made all project's tests extend tsconfig.base.json
* docs: documented the new tsconfig.base.json
* refactor: updated files to conform to angulars defaults when setting up a new project
* refactor: added actual projects to tsconfig.json
Describe the bug
With the current master branch, executing
fails with the error-message:
A little research brought up evidence that others, too, have experienced a similar issue, and - with a little luck - a way to resolve it. In short, it seems that angular's update did not separate our
tsconfig.json
into atsconfig.base.json
(which all projects inherit from) and a stubtsconfig.json
(which seems to only remain there for the sake of IDE's like VSCode).I'll attempt to properly split our config in those two files.
To Reproduce
From the root-directory, run
Expected behavior
Putting it a little matter-of-fact-ly: generating libraries should work.
Versions
App
Device:
Additional context
As a side note, this issue only occurs when generating libraries. I didn't encounter any errors in e.g. generating components - which makes sense, since new components don't need a new tsconfig-file.
The text was updated successfully, but these errors were encountered: