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
Is your feature request related to a problem? Please describe.
I'm trying to deploy an angular app with ssr using nx and netlify and I get an error because it doesn't find the angular.json file, and that is because the file was renamed to project.json file.
Describe the solution you'd like
Allow to specify the angular.json name or try to find a project.json file.
I recently encountered the same issue. Netlify automatically detects an Angular application and sets the deploy runtime to Angular, enabling the @netlify/angular-runtime plugin. However, this plugin is not compatible with Nx.
The solution is straightforward:
Navigate to Site configuration → Build & deploy → Build settings, then click Configure
At the top, you will likely see Runtime: Angular and a Remove button
Click Remove, then save the updated configuration
This hands back control over the build to you, the developer.
Below are the settings I am using:
Base directory: [empty] (appears as / after saving)
Package directory: apps/my-app
Build command: nx run my-app:build:production
Publish directory: dist/apps/my-app/browser
Is your feature request related to a problem? Please describe.
I'm trying to deploy an angular app with ssr using nx and netlify and I get an error because it doesn't find the angular.json file, and that is because the file was renamed to project.json file.
Describe the solution you'd like
Allow to specify the angular.json name or try to find a project.json file.
Additional context
The text was updated successfully, but these errors were encountered: