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
Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import 'D:\ProgramFiles\nvm\v16.13.0\node_modules\gif2webp-bin\' is not supported resolving ES modules imported from D:\ProgramFiles\nvm\v16.13.0\node_modules\gif2webp-bin\cli.js
at new NodeError (node:internal/errors:371:5)
at finalizeResolution (node:internal/modules/esm/resolve:412:17)
at moduleResolve (node:internal/modules/esm/resolve:932:10)
at defaultResolve (node:internal/modules/esm/resolve:1044:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
at link (node:internal/modules/esm/module_job:75:36) {
code: 'ERR_UNSUPPORTED_DIR_IMPORT',
url: 'file:///D:/ProgramFiles/nvm/v16.13.0/node_modules/gif2webp-bin/'
}
import gif2webp from '.';
to
import gif2webp from './index.js';
is ok
The text was updated successfully, but these errors were encountered:
to
is ok
The text was updated successfully, but these errors were encountered: