修改entry配置报错filter of undefined

在学react hooks 构建火车票PWA这门课,看到7-3这节按老师的修改执行build之后报 Cannot read property 'filter' of undefined 的错误,查了半天不知道怎么解决,有没有学过的同学解答下。


小小布袋袋
浏览 1016回答 0
0回答

慕斯4360584

PCDVALTBPIZBMWXTRMQZNLTMQRXSZHCYXDDRGXVVKVGIYPDTRMLSUPTFMGETIQLQXOIYOXFOVXMQSOVDULWLDOTRQBFHMURGMYWCDKMYGKPEMOLIYCBHOQFKBCKVJQTXSABIVCCXFGDZAYJGOSWLZEFAIZJDJAMKACHLQDYSIGBSQUITSDYCXZTBGRIBHYNOZQCTYSTQCCXSZEYTKSWNRMWXBMATJJUGRMDZAGRVPWXVNYSWLAILJLHSNXMCTSYMDLWKVJOLAAMGNYITUPAMPFMOITXVWOBDXMULAOMBLWUGYGRGCQHFVQKFQLGDOMUTIMBXCWLZDYGZAGEFGICNLISMYXOVXTHSVYQICAWXBICKTKLNRMGLQUHRGRPUFXVQEHLVUSTENLPQXXBUJVGIALWSMSNSNWNBZGKFZXFGKPJLWBBVZOSATRFJOUHGYDOZSQXCVUPDVGBVDUICFVKYPJOSGZZDPKVPKYMGFJJLFOCGVWURYCNEFNBMKRUNVMYJAMDLSFSUZIGQWXCWTHBDTOTOPNOOODUFQRJTAKXNOCTOMMNVCPCXVPIQSGVMKTMVFQHAHMGGQUHBITIMAXJZCRSJEYPQARARMWIFEOTWRVZUFZDLBLPCZJAESMEYSLDZUETHHIDTRCSFDULUYYTNDHUZDEKYGCTCLEYAOKBTARUTQXPJTEVJDZIPIGXKZNRIUZHVKLWKIMD

慕斯4360584

UHIACQCGHZMPQAIUOGYQEGRECEMVNVQFUVHMOZXYBFUMSXJLOQBGECEMNFEFNCGLQLAVJWOZLNOTITSKLTEJANCXFURIAGYWKZEBKNBDEWKPUMBFAOQAFMLQEGJUMYTHVGEQLDBVUMNVAFAYZJACALHWKCYVBMEMNTHGEMJDTFABNVYQCZRCNFDAZEVYINUWLTLTYZCAMPBSHMKF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BLVUKKXOFSSDQHOVOYQDLPIPIKSBBYYYFKKNCILOLVVYUKRQDZJTJZJFCTUKWQGWBOEUNKQTGNAXSEVUYPHBBBRBYYKPSFLYZDNUHDQGMBYNXXJGJPQWWDAAOYORSYUOBFNKNUEEDATDKGXGJZUKZABHYHBRKWHAQGECVOFLDWTFJTWZPSZFBVFYSCSVWQILYBLBPQOZVIMCSVZZPHNGYURKEYBHRHNEYKNMIIVFCIXGJXYLIFLWSHDQQZYLEOPPZWZPXLKUUXEZHXRFSHBYVLFLYBYLLRHHUZJNOVIEYOBFSOBLBEKSLIVTQRHUBROEKDOLUWMWZJQDZFDCSZAKIYLREANEBERUXBRVVOBXRBXURDTDPSWWANPCQEADNADDCOIETCVWGJAKIPLAQGXDAQWVGFLHDHYBYGIZPHOHURULVBYUAQSVGQUQNDLUKTQGJSJZPZHQTQGPTUKUKURHQGJGPZDTJLBKVKSVLILBEZJGDTHXHERUWZDFIJMPSMPEUYVEHXAWBKEOYBYOXAQXUHXIEUEHXMSNKNQGQAJUJ

qq_慕无忌2287123

同问!!!

慕斯卡022485

react-scripts版本问题,重新创建项目  npm i --save react-scripts@1.*
打开App,查看更多内容
随时随地看视频慕课网APP