Menu

Module not found in ReactJS

Error

ModuleNotFoundError: Module not found: Error: Can't resolve '../../public/page-data/sq/d/595050432.json' 

Cause

The page or component that we created doesn't have .js extension.

Resolution

Create the file with required extension. e.g. reactPageSample.js

No comments:

Post a Comment