FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: provide failBuild to getProject calls by pieh · Pull Request #247 · netlify/angular-runtime · GitHub

This repository was archived by the owner on Jul 17, 2026. It is now read-only.
/ angular-runtime Public archive

fix: provide failBuild to getProject calls - #247

Merged
pieh merged 1 commit into
mainfrom
michalpiechowiak/frb-1619-angular-19-ssr-and-the-angular-runtime
Feb 6, 2025
Merged

fix: provide failBuild to getProject calls#247
pieh merged 1 commit into
mainfrom
michalpiechowiak/frb-1619-angular-19-ssr-and-the-angular-runtime

Conversation

pieh commented Feb 6, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

We've not been passing all the arguments to getProject (

const getProject = (angularJson, failBuild) => {
) resulting in

 TypeError: failBuild is not a function
     at getProject (/opt/build/repo/node_modules/@netlify/angular-runtime/src/helpers/setUpEdgeFunction.js:30:14)

kind of errors that hide actual error from the user and making it unnecessarily difficult to see underlying problem

Ideally we also introduce some typechecking to prevent this kind of problems, but this is just quick fix to solve concretely known issue

fixes #246
fixes https://linear.app/netlify/issue/FRB-1619/angular-19-ssr-and-the-angular-runtime

pieh requested a review from a team as a code owner February 6, 2025 07:42
github-actions Bot added the type: bug code to address defects in shipped code label Feb 6, 2025

netlify Bot commented Feb 6, 2025
edited
Loading

Copy link
Copy Markdown

Deploy Preview for plugin-angular-universal-demo ready!

Name Link
🔨 Latest commit e5ab050
🔍 Latest deploy log https://app.netlify.com/sites/plugin-angular-universal-demo/deploys/67a467e7b47d64000844ef1c
😎 Deploy Preview https://deploy-preview-247--plugin-angular-universal-demo.netlify.app
📱 Preview on mobile Toggle QR Code...



Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

orinokai left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks straightforward to me ✅

pieh merged commit 9a3b1bd into main Feb 6, 2025
pieh deleted the michalpiechowiak/frb-1619-angular-19-ssr-and-the-angular-runtime branch February 6, 2025 09:55
serhalp pushed a commit to netlify/framework-adapters that referenced this pull request Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

type: bug code to address defects in shipped code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Angular 19, SSR, and the Angular Runtime

2 participants


Back | FazBrowse Home | New Git URL