While creating a react app from scratch (without using create-react-app) using parcel bundler, the parcel throws the following error:
Error: Expected content key de1e4a02ec63c4eb to exist
at nullthrows (F:\react\node_modules\nullthrows\nullthrows.js:7:15)
at AssetGraph.getNodeIdByContentKey (F:\react\node_modules\@parcel\graph\lib\ContentGraph.js:67:38)
at F:\react\node_modules\@parcel\core\lib\SymbolPropagation.js:52:82
at Array.map (<anonymous>)
at propagateSymbols (F:\react\node_modules\@parcel\core\lib\SymbolPropagation.js:52:61)
at AssetGraphBuilder.build (F:\react\node_modules\@parcel\core\lib\requests\AssetGraphRequest.js:168:62)
at async Object.run (F:\react\node_modules\@parcel\core\lib\requests\AssetGraphRequest.js:60:37)
at async RequestTracker.runRequest (F:\react\node_modules\@parcel\core\lib\RequestTracker.js:633:20)
at async Object.run (F:\react\node_modules\@parcel\core\lib\requests\BundleGraphRequest.js:103:11)
at async RequestTracker.runRequest (F:\react\node_modules\@parcel\core\lib\RequestTracker.js:633:20)
How can I solve this?
The version of parcel is 2.9.3
I have tried deleting cache and also tried recreating the whole project but nothing happened.