You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".json" for D:\Installations\laragon\www\wp-pre-theme\wp-content\themes\firsttheme\package.json
at Loader.defaultGetFormat [as _getFormat] (internal/modules/esm/get_format.js:71:15)
at Loader.getFormat (internal/modules/esm/loader.js:102:42)
at Loader.getModuleJob (internal/modules/esm/loader.js:231:31)
at async ModuleWrap. (internal/modules/esm/module_job.js:58:21)
at async Promise.all (index 10)
at async link (internal/modules/esm/module_job.js:63:9) {
code: 'ERR_UNKNOWN_FILE_EXTENSION'
We can't import a json file in node 14+ using import syntax?
The text was updated successfully, but these errors were encountered: