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

Repair Compatibility issue with Rollup Bundler. #5

Merged
merged 1 commit into from
Aug 27, 2022

Conversation

jonwardopenai
Copy link
Contributor

The Rollup Bundler requires a path to an existing module file.

Otherwise you encounter the following error:

[commonjs--resolver] Failed to resolve entry for package "gpt3-tokenizer". The package may have incorrect main/module/exports specified in its package.json.
error during build:
Error: Failed to resolve entry for package "gpt3-tokenizer". The package may have incorrect main/module/exports specified in its package.json.
    at packageEntryFailure (/node_modules/vite/dist/node/chunks/dep-1513d487.js:34405:11)
    at resolvePackageEntry (/node_modules/vite/dist/node/chunks/dep-1513d487.js:34402:5)
    at tryNodeResolve (/node_modules/vite/dist/node/chunks/dep-1513d487.js:34160:20)
    at Object.resolveId (node_modules/vite/dist/node/chunks/dep-1513d487.js:33962:28)
    at /node_modules/rollup/dist/es/shared/rollup.js:22694:37

The Rollup Bundler requires a path to an existing module file. 

Otherwise you encounter the following error:
```
[commonjs--resolver] Failed to resolve entry for package "gpt3-tokenizer". The package may have incorrect main/module/exports specified in its package.json.
error during build:
Error: Failed to resolve entry for package "gpt3-tokenizer". The package may have incorrect main/module/exports specified in its package.json.
    at packageEntryFailure (/node_modules/vite/dist/node/chunks/dep-1513d487.js:34405:11)
    at resolvePackageEntry (/node_modules/vite/dist/node/chunks/dep-1513d487.js:34402:5)
    at tryNodeResolve (/node_modules/vite/dist/node/chunks/dep-1513d487.js:34160:20)
    at Object.resolveId (node_modules/vite/dist/node/chunks/dep-1513d487.js:33962:28)
    at /node_modules/rollup/dist/es/shared/rollup.js:22694:37
```
@lhr0909 lhr0909 merged commit af11d7d into botisan-ai:main Aug 27, 2022
@lhr0909
Copy link
Contributor

lhr0909 commented Aug 27, 2022

Thanks! @jonwardopenai merged and released v1.1.3

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 this pull request may close these issues.

2 participants