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

[email protected] install is not correctly like 1.1.38 #15818

Closed
arvinxx opened this issue Dec 17, 2024 · 0 comments · Fixed by #15895
Closed

[email protected] install is not correctly like 1.1.38 #15818

arvinxx opened this issue Dec 17, 2024 · 0 comments · Fixed by #15895
Assignees
Labels
bug Something isn't working

Comments

@arvinxx
Copy link

arvinxx commented Dec 17, 2024

What version of Bun is running?

1.1.39

What platform is your computer?

Linux

What steps can reproduce the bug?

git clone https://github.com/lobehub/lobe-chat

bun i

npm run test-app 

What is the expected behavior?

as [email protected], it should pass the all tests like this CI: https://github.com/lobehub/lobe-chat/actions/runs/12367455614/job/34515786344

Image

What do you see instead?

when use [email protected], the test failed like this CI: https://github.com/lobehub/lobe-chat/actions/runs/12373981587/job/34535476144

Image

error log:

FAIL  src/services/__tests__/tool.test.ts > ToolService > getToolManifest > support OpenAPI manifest > should get plugin manifest
TypeError: openAPIInvalid
 ❯ ToolService.getToolManifest src/utils/toolManifest.ts:119:13
    117|       data.settings = await convertor.convertAuthToSettingsSchema(data…
    118|     } catch (error) {
    119|       throw new TypeError('openAPIInvalid', { cause: error });
       |             ^
    120|     }
    121|   }
 ❯ src/services/__tests__/tool.test.ts:217:26

Caused by: TypeError: applicator_1.default is not a function
 ❯ Object.<anonymous> node_modules/ajv-draft-04/src/vocabulary/draft4.ts:12:26
 ❯ Object.<anonymous> node_modules/ajv-draft-04/src/index.ts:3:1

Additional information

I think relative issue is: #8201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants