Working with local JSON files is not an issue for me. I've successfully implemented the following code:
import data from "./example.json";
However, I encounter an error when attempting to access remote files like the one below, resulting in a "Cannot not find module" message
import data from "https://www.example.com/example.json";
https://www.example.com/example.json is a valid URL. Could you please provide assistance?