In such syntax: ---- import { getUsefulContents } from '/modules/file.js'; ---- If getUsefulContents is not defined in file.js or is not exported thanks to the export statement, references to it will not work as expected.