When I publish build then precache and service-worker file not generated.

This issue has been created since 2022-11-16.

While creating release build, precache-manifest and service-worker files are not generated in react version 17.0.2, It was generate in react version 16.14.0.

React version: 17.0.2

Steps To Reproduce

Link to code example:

The current behavior

The expected behavior

eps1lon wrote this answer on 2022-11-16

Support requests filed as GitHub issues often go unanswered. We want you to find the answer you're looking for, so we suggest the following alternatives:

Coding Questions
If you have a coding question related to React and React DOM, it might be better suited for Stack Overflow. It's a great place to browse through frequent questions about using React, as well as ask for help with specific questions.

https://stackoverflow.com/questions/tagged/react

Talk to other React developers
There are many online forums which are a great place for discussion about best practices and application architecture as well as the future of React.

https://reactjs.org/community/support.html

More Details About Repo
Owner Name facebook
Repo Name react
Full Name facebook/react
Language JavaScript
Created Date 2013-05-24
Updated Date 2022-12-10
Star Count 198882
Watcher Count 6638
Fork Count 41302
Issue Count 1120

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
The port listening in the android application cannot be connected 0 2022-12-08 2022-12-01
Impossible to disable coroutines support on clang. 0 2021-04-28 2022-06-16
`copy_on_write<T>` should support the case that `!is_default_constructible_v<T>`. 3 2021-07-16 2022-08-18
`stlabConfig.cmake` prevents proper inclusion of the libray 3 2021-04-28 2022-07-07
`copy_on_write` should provide a way to extract the value 2 2021-08-03 2022-06-16
Google Analytics tag added twice and prevents page view events from being tracked 2 2022-11-11 2022-11-26
Huge delay in RC control 0 2021-03-28 2022-08-15
Missing reset signal when instantiating an algorithm with a FSM from one without 1 2021-06-18 2022-10-31
[Bug] So I look at this Logo. That's not a crane. That's a flamingo. 1 2021-11-11 2022-08-10
Ability to override DbPrincipal or set it to the connection's principal 2 2021-02-19 2022-12-01
[BUG] "Remove customizations" incorrectly removes all checkboxes 0 2022-04-20 2022-10-26
Enable teacher to enable/disable quiz 0 2022-04-20 2022-10-26
Not a valid integer value when opening Package Manager 1 2021-02-13 2022-11-13
Example for the SDIRK 2 2022-03-23 2022-10-10
[bug] Newlines in text boxes are not properly exported 3 2022-10-22 2022-12-03
[Bug]: auto install error: com.sun.tools.attach.AgentLoadException: Agent JAR not found or no Agent-Class attribute 0 2022-01-13 2022-12-05
Busy spinning during disk transfers 9 2021-01-21 2022-10-26
添加2个header就会导致报错 4 2018-06-27 2022-01-21
password is ritght ,but can't login 3 2022-05-07 2022-12-03
feature request: async function as nuxt.config 2 2021-10-31 2022-09-24
可以使word复制的表格实现自定义拉伸的功能吗 1 2022-05-17 2022-09-20
Example using ContextAPI and functional components 10 2021-01-07 2022-10-21
ARM-support for Cartographer 6 2022-04-05 2022-09-13
Show stamped condition for each resource workload status 0 2022-04-15 2022-09-27
Enhance error handling 0 2021-01-07 2022-10-12
Parsing precise strings into less precise time points rounds rather than floors 1 2021-04-07 2022-12-05
Suggestion: a custom interactive toplevel with limited functionality 1 2021-10-04 2022-12-07
Bloblang: variables and mappings 2 2022-01-14 2022-12-05
support CDK version 2 11 2022-02-24 2022-11-13
AG stops rDNS after some time for Top Clients 3 2021-09-16 2022-11-30
Focus is on the "to" field instead of the text field when hitting "reply/reply all" 3 2021-11-17 2022-11-23
Office 21, Office21ProPlus2021VL_KMS_Client_AE edition 许可证说明: Office 21, VOLUME_KMSCLIENT channel 产品密钥的最后五个字符: 6F7TH 错误代码: 0xC004E015 错误信息: 软件授权服务报告许可证使用失败。[BUG] 1 2021-06-26 2022-11-28
This extension is not installable on any currently installed products(VS 2019 Community) 3 2021-08-09 2022-11-17
Fix `#term` links 1 2021-07-23 2022-01-14
Registration code not delivered for mtel.ba telecom provider 2 2022-02-25 2022-11-14
Weight of Speaker ID loss 0 2022-05-12 2022-12-01
make_addplot error 'x and y must be of same size 1 2021-08-14 2022-11-23
[Question] how to build without running the app 5 2021-05-14 2022-10-21
Request clarification on spork/fmt's handling of :readermac in the context of :ptuple 3 2021-01-27 2022-12-01
Cannot locate rosdep definitions 1 2021-10-21 2022-10-14
fix: export `loadConfig` so it can be used for other purposes 1 2021-08-24 2022-09-28
To conclude: this network can ONLY LEARN simple, portrait-centric dataset ! 1 2021-09-02 2022-11-27
v3: feature request, error when a bundle is requested for components at the latest version 4 2021-02-22 2022-07-06
Will there be "cogs" in this library, as in the library for discord bots? 9 2021-11-06 2022-11-07
cluster.sh breaks on first run when no vault PID is found 0 2020-09-22 2022-11-24
Why does twint start scraping tweets at a random time? 1 2021-05-19 2022-11-17
RFC3339Micro requires precision that the spec does not seem to require. 2 2020-03-05 2022-12-02
Handle MetaData update 6 2022-02-15 2022-12-03
Test direct retrieval of each persistent type 1 2021-01-12 2022-10-01
Bad decision. 2 2021-10-27 2022-01-18