npm install apify-cli error, run with apify --version
node:internal/modules/esm/assert:88
throw new ERR_IMPORT_ATTRIBUTE_MISSING(url, 'type', validType);
^
TypeError [ERR_IMPORT_ATTRIBUTE_MISSING]: Module "file:///e:/winAPP/nvm-windows/v22.16.0/node_modules/apify-cli/node_modules/ajv/lib/refs/json-schema-draft-07.json" needs an import attribute of "type: json"
at validateAttributes (node:internal/modules/esm/assert:88:15)
at defaultLoad (node:internal/modules/esm/load:130:3)
at async ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:580:32) {
code: 'ERR_IMPORT_ATTRIBUTE_MISSING'
}
0 Replies