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
> [email protected] start /
> ts-node src/index.ts
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_shims/auto/runtime' is not defined by "exports" in /node_modules/openai/package.json
at applyExports (internal/modules/cjs/loader.js:498:9)
at trySelf (internal/modules/cjs/loader.js:417:23)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1007:22)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (internal/modules/cjs/loader.js:899:27)
at Module.require (internal/modules/cjs/loader.js:1090:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object.<anonymous> (/node_modules/openai/_shims/index.js:5:14)
at Module._compile (internal/modules/cjs/loader.js:1201:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1221:10) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `ts-node src/index.ts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2024-03-19T14_16_41_843Z-debug.log
> [email protected] start /
> ts-node src/index.ts
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './_shims/auto/runtime' is not defined by "exports" in /node_modules/openai/package.json
at applyExports (internal/modules/cjs/loader.js:498:9)
at trySelf (internal/modules/cjs/loader.js:417:23)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1007:22)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (internal/modules/cjs/loader.js:899:27)
at Module.require (internal/modules/cjs/loader.js:1090:19)
at require (internal/modules/cjs/helpers.js:75:18)
at Object.<anonymous> (/node_modules/openai/_shims/index.js:5:14)
at Module._compile (internal/modules/cjs/loader.js:1201:30)
at Module._extensions..js (internal/modules/cjs/loader.js:1221:10) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `ts-node src/index.ts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2024-03-19T14_19_54_974Z-debug.log
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: