Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chat container crash #7426

Closed
Mutugiii opened this issue Mar 19, 2024 · 0 comments · Fixed by #7431
Closed

chat container crash #7426

Mutugiii opened this issue Mar 19, 2024 · 0 comments · Fixed by #7431

Comments

@Mutugiii
Copy link
Member

Mutugiii commented Mar 19, 2024

> [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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant