Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong path to tsconfig: could not find "src/tsconfig.app.json" #279

Closed
d-koppenhagen opened this issue Feb 5, 2020 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@d-koppenhagen
Copy link
Contributor

🐞 Bug report

Description

Scully will warn that it cannot find the file src/tsconfig.app.json.
This file is located in the root by default (after a fresh Angular CLI setup): tsconfig.app.json

🔬 Minimal Reproduction

npm i -g @angular/cli@next
ng new example
cd example
ng add @scullyio/init
ng g @scullyio/init blog
npm run build -- --prod
npm run scully
npm run scully:serve

💻Your Environment

Angular Version:


Angular CLI: 9.0.0-rc.14
Node: 10.14.0
OS: darwin x64

Angular: 9.0.0-rc.14
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.0-rc.14
@angular-devkit/build-angular     0.900.0-rc.14
@angular-devkit/build-optimizer   0.900.0-rc.14
@angular-devkit/build-webpack     0.900.0-rc.14
@angular-devkit/core              9.0.0-rc.14
@angular-devkit/schematics        9.0.0-rc.14
@angular/cdk                      9.0.0-rc.9
@ngtools/webpack                  9.0.0-rc.14
@schematics/angular               9.0.0-rc.14
@schematics/update                0.900.0-rc.14
rxjs                              6.5.4
typescript                        3.6.4
webpack                           4.41.2

Scully Version:


"@scullyio/ng-lib": "^0.0.17",
...
"@scullyio/init": "^0.0.21",
"@scullyio/scully": "^0.0.64",

🔥 Exception or Error


...
servers available
Finding all routes in application.
We could not find "src/tsconfig.app.json". Using the apps source folder as source. This might lead to unpredictable results
Pull in data to create additional routes.
...
@d-koppenhagen d-koppenhagen added the bug Something isn't working label Feb 5, 2020
@SanderElias
Copy link
Contributor

Should be closed by #282

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants