Nx option to have separate `project.json` files not supported
See original GitHub issue🐞 Bug report
Tried on ubuntu, windows, and mac os with node 14.17.0, using the latest nx create workspace. No matter what extra cli or config changes i make i constantly face a problem where it can’t find angular.json (this is a apps/core nrwl nx monorepo, i dont even think its possible to use the angular.json variant anymore but idk, all the new nrwl workspaces have a workspace.json and each project has its own project.json).
root@docker-ubuntu-s-4vcpu-8gb-nyc3-01:~/workspace# npx scully --project x ✔ Folder “./scully” used for custom plugins scully: using project config from “apps/x” x Could not find project “x” in ‘angular.json’. ⚠ Deprication Notice: ====================================================================== From now on, the plugin that is being used to render a route is able to be changed by the user. You can do this by adding or enabling the plugin in the scully.json file. For your convenience, we loaded the Puppeteer plugin for you.
To disable this warning enable the plugin of your choiche.
for Puppteer please add:
import '@scullyio/scully-plugin-puppeteer';
to your scully.docs-app-ng.config.ts file.
When you get this waring while not using scully-plugin-puppeteer
you need to set the defaultRouteRenderer to the name of your plugin.
The defaultRouteRenderer is now set to 'routeRenderer'.
======================================================================
x Angular distribution files not found, run “ng build” first
Description
🔬 Minimal Reproduction
💻Your Environment
Angular Version:
Scully Version:
🔥 Exception or Error
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:11 (3 by maintainers)
Top GitHub Comments
Until this is officially fixed/supported, you can get it to work by adding
target: 'targets'
inside the Scully-config as mentioned here: https://github.com/scullyio/scully/issues/1429Hi, I add everything manually and it works. I think we are more and more people splitting their projects configs. Thank you