evanw / evanw/esbuild

Angular serve cannot find one of lazy chunck

Open
#3,606 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
40.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hi, thanks for looking into this issue. I am not able to reproduce the problem in a minimal code sample.

Build output

Initial Chunk Files                | Names                  |   Raw Size
chunk-YYZKF2WE.js                  | -                      |    1.23 MB | 
polyfills.js                       | polyfills              |  413.89 kB | 
chunk-PZXWKSHB.js                  | -                      |  251.79 kB | 
styles.css                         | styles                 |  196.28 kB | 
main.js                            | main                   |   92.50 kB | 
chunk-ELEVOHOK.js                  | -                      |    4.33 kB | 
chunk-6AXRWZXO.js                  | -                      |    4.09 kB | 
chunk-EEWZORAQ.js                  | -                      |    4.08 kB | 
chunk-KAA5NHOD.js                  | -                      |    4.06 kB | 
chunk-UFTYDPEU.js                  | -                      |    3.11 kB | 
chunk-VSTJHWBM.js                  | -                      |    2.10 kB | 
chunk-GU5R2XVB.js                  | -                      | 1019 bytes | 
chunk-QDGSUQLM.js                  | -                      |  985 bytes | 

                                   | Initial Total          |    2.18 MB

Lazy Chunk Files                   | Names                  |   Raw Size
permits.module-TR3YMHV5.js         | permits-module         |  275.64 kB | 
show-in-map.module-THCZCS4D.js     | show-in-map-module     |  152.82 kB | 
inquiry.module-OQIN6SPC.js         | inquiry-module         |  129.71 kB | 
create-invoice.module-V2DCNAVS.js  | create-invoice-module  |   83.26 kB | 
process-mapper.module-R7XIO7U4.js  | process-mapper-module  |   69.42 kB | 
invoicing.module-LZ4FRWJJ.js       | invoicing-module       |   62.00 kB | 
task.module-L55IJJ4K.js            | task-module            |   39.21 kB | 
chunk-5TAJ3MAP.js                  | -                      |   29.59 kB | 
mapper.module-EQQP2RMR.js          | mapper-module          |   22.76 kB | 
admin.module-4BJUT5AZ.js           | admin-module           |   21.89 kB | 
chunk-SGIAHVI2.js                  | -                      |   20.85 kB | 
profile.module-XIQZDA4D.js         | profile-module         |   17.61 kB | 
offerings.module-SSMNYDLZ.js       | offerings-module       |   15.45 kB | 
offering.module-DLDXH7FX.js        | offering-module        |   12.95 kB | 
chunk-ENDBVD6E.js                  | -                      |   11.99 kB | 
map.module-I6MBQKLF.js             | map-module             |   10.96 kB | 
chunk-GCG2KIM2.js                  | -                      |    9.83 kB | 
settings.module-UGFWSM6V.js        | settings-module        |    5.16 kB | 
our-carriers.module-W4ISBODG.js    | our-carriers-module    |    5.12 kB | 
show-folder-gps.module-VKJGWQW2.js | show-folder-gps-module |    4.20 kB | 
chunk-ZTKAAKD6.js                  | -                      |    4.15 kB | 
chunk-AY4BTGKQ.js                  | -                      |    2.32 kB | 
chunk-MXWH5J66.js                  | -                      |    1.98 kB | 
issues.module-AKS23MHT.js          | issues-module          |    1.90 kB | 
chunk-XGBWYYFP.js                  | -                      |    1.23 kB | 

Application bundle generation complete. [15.780 seconds]

I have tested all routes to find out that only our-carriers.module-W4ISBODG.js is not working. The http://localhost:4200/our-carriers.module-W4ISBODG.js URL returns a 404,

I am not sure how to proceed to debug this to provide more info... but if it would help. I can provide you with source code and instructions on how to reproduce this issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the reported Angular serve build output and the request for our-carriers.module-W4ISBODG.js at http://localhost:4200/our-carriers.module-W4ISBODG.js. The issue names no source files or tests and lacks a minimal reproduction; done means identifying why this lazy chunk returns 404 and documenting a reproducible case.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, javascript
Domain
build-system, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.