-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Support Analog (Angular/Vite/Nitro based) #20608
Labels
Comments
✅ Update: Resolved - PostCSS works now With Deno 1.44 and:
Hitting this PostCSS (CommonJS) issue now: ➜ DENO_FUTURE=1 deno task dev
Task dev ng serve
error: Uncaught (in promise) Failed to load PostCSS config: Failed to load PostCSS config (searchPath: /Users/admin/repos/deno-kitchensink/analog-p2): [ReferenceError] module is not defined
ReferenceError: module is not defined
at file:///Users/admin/repos/deno-kitchensink/analog-p2/postcss.config.cjs:1:1
module.exports = {
^
at file:///Users/admin/repos/deno-kitchensink/analog-p2/postcss.config.cjs:1:1 |
✅ Update: Resolved - create works now With Deno 2-rc.2 and:
➜ deno install
error: npm package 'uWebSockets.js' does not exist. |
✅ Update: Resolved - The build doesn't stagnate: The build stagnates: ➜ deno task build
Task build ng build
vite v5.4.7 building for production...
transforming (1) index.html |
❌ On build there's Rollup error. I haven't seen this before, it looks like a deno_web bug to me. Repro:
.. And then:
Task build ng build
vite v5.4.9 building for production...
✓ 320 modules transformed.
dist/client/index.html 1.03 kB │ gzip: 0.62 kB
dist/client/assets/index-CDCuFZaW.css 6.20 kB │ gzip: 1.86 kB
dist/client/assets/index.page-Dqlg1Fns.js 1.22 kB │ gzip: 0.72 kB
dist/client/assets/analogjs-content-BVRyEv5u.js 98.18 kB │ gzip: 33.73 kB
dist/client/assets/index-EBuhhR_t.js 287.39 kB │ gzip: 91.12 kB
✓ built in 3.31s
Building SSR application...
vite v5.4.9 building SSR bundle for production...
✓ 31 modules transformed.
dist/ssr/assets/index.page-5vYAHD_E.js 2.23 kB
dist/ssr/assets/analogjs-content-Bs6cK2kP.js 22.68 kB
dist/ssr/assets/xhr2-DUKzHHNY.js 36.21 kB
dist/ssr/main.server.js 1,519.67 kB
✓ built in 4.96s
Prerendering static pages...
Building Server...
ERROR RollupError: Error loading "raw:/Users/admin/repos/deno-kitchensink/analog-4/dist/client/favicon.ico": plugin load hook should return a string, a { code, map } object, or nothing/null. nitro 1:10:53 AM
undefined
An unhandled exception occurred: Error loading "raw:/Users/admin/repos/deno-kitchensink/analog-4/dist/client/favicon.ico": plugin load hook should return a string, a { code, map } object, or nothing/null.
See "/private/var/folders/8y/htw2q5ss5ms9zy4z8rfv393c0000gn/T/ng-wFu5A6/angular-errors.log" for further details.
error: Uncaught TypeError: Cannot set properties of undefined (setting 'target')
at setTarget (ext:deno_web/02_event.js:97:29)
at dispatchEvent (ext:deno_web/02_event.js:1029:7)
at dispatchBeforeUnloadEvent (ext:runtime_main/js/99_main.js:429:22)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Analog - GitHub - Website
Deno 2.0.2
Status:
Related to:
The text was updated successfully, but these errors were encountered: