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
Which @angular/* package(s) are the source of the bug?
platform-server
Is this a regression?
Yes
Description
I created a project using ng new and enabled SSR when prompted. However, when I try to build the project, even without making any changes, the build process fails to complete. The issue seems very similar to nrwl/nx#20481
Please provide a link to a minimal reproduction of the bug
ng build --verbose
\ Building...
polyfills-6EAL64PA.js 33.4kb
Done in 65ms
polyfills.server.mjs 262.0kb
\ Building...
● [DEBUG] Lookbehind assertions in regular expressions are not available in the configured target environment ("chrome125.0", "edge124.0", "firefox115.0", "ios16.0", "node22.0.0", "safari16.0" + 5 overrides) [unsupported-regexp]
node_modules/critters/dist/critters.mjs:1341:51:
1341 │ const crittersComment = rule.text.match(/^(?<!\! )critters:(.*)/);
╵ ~~~
This regular expression literal has been converted to a "new RegExp()" constructor to avoid
generating code with a syntax error. However, you will need to include a polyfill for "RegExp" for
your code to have the correct behavior at run-time.
● [DEBUG] Lookbehind assertions in regular expressions are not available in the configured target environment ("chrome125.0", "edge124.0", "firefox115.0", "ios16.0", "node22.0.0", "safari16.0" + 5 overrides) [unsupported-regexp]
node_modules/critters/dist/critters.mjs:1399:30:
1399 │ sel = sel.replace(/(?<!\\)::?[a-z-]+(?![a-z-(])/gi, '').replace(/::?not\(\s...
╵ ~~~
This regular expression literal has been converted to a "new RegExp()" constructor to avoid
generating code with a syntax error. However, you will need to include a polyfill for "RegExp" for
your code to have the correct behavior at run-time.
- Building...
● [DEBUG] This call to "require" will not be bundled because the argument is not a string literal [unsupported-require-call]
node_modules/express/lib/view.js:72:13:
72 │ var fn = require(mod).__express;
╵ ~~~~~~~
\ Building...
main-V4TD7P4G.js 211.0kb
\ Building...
● [DEBUG] Indirect calls to "require" will not be bundled [indirect-require]
node_modules/picocolors/picocolors.js:3:163:
3 │ ...r") || process.platform === "win32" || require != null && require("tty").isatty(1) &&...
╵ ~~~~~~~
/ Building...
server.mjs 1.1mb
chunk-T4GESVRS.mjs 511.4kb
chunk-YFZUPLDY.mjs 18.8kb
chunk-44PQKHNF.mjs 11.8kb
chunk-NDYDZJSS.mjs 2.5kb
render-utils.server.mjs 1.4kb
main.server.mjs 149b
/ Building...
Please provide the environment you discovered this bug in (run ng version)
Which @angular/* package(s) are the source of the bug?
platform-server
Is this a regression?
Yes
Description
I created a project using
ng new
and enabled SSR when prompted. However, when I try to build the project, even without making any changes, the build process fails to complete. The issue seems very similar to nrwl/nx#20481Please provide a link to a minimal reproduction of the bug
https://github.com/DesignThinkerer/ciqual-calculator
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: