Skip to content

fix(js): Removes langchain and @langchain/core from peer deps to fix npm installation #1405

fix(js): Removes langchain and @langchain/core from peer deps to fix npm installation

fix(js): Removes langchain and @langchain/core from peer deps to fix npm installation #1405

Triggered via pull request September 16, 2024 21:52
Status Failure
Total duration 3m 23s
Artifacts

js_test.yml

on: pull_request
Check formatting
20s
Check formatting
Check linting
25s
Check linting
Build and check types
30s
Build and check types
Matrix: Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 18 warnings
Check linting: js/src/langchain.ts#L3
'@langchain/core' should be listed in the project's dependencies, not devDependencies
Check linting: js/src/langchain.ts#L4
'@langchain/core' should be listed in the project's dependencies, not devDependencies
Check linting: js/src/langchain.ts#L5
'@langchain/core' should be listed in the project's dependencies, not devDependencies
Check linting: js/src/tests/utils/mock_client.ts#L3
'@langchain/core' should be listed in the project's dependencies, not devDependencies
Check linting
Process completed with exit code 1.
Check formatting
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check linting
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check linting: js/src/client.ts#L1292
Unexpected any. Specify a different type
Check linting: js/src/client.ts#L1580
Unexpected any. Specify a different type
Check linting: js/src/client.ts#L2723
'_' is assigned a value but never used
Check linting: js/src/client.ts#L3057
Unexpected any. Specify a different type
Check linting: js/src/client.ts#L3096
Unexpected any. Specify a different type
Check linting: js/src/client.ts#L3162
'_' is assigned a value but never used
Check linting: js/src/client.ts#L3267
'_' is assigned a value but never used
Check linting: js/src/client.ts#L3311
'_' is assigned a value but never used
Check linting: js/src/client.ts#L3344
Unexpected any. Specify a different type
Check linting: js/src/client.ts#L3353
'_' is assigned a value but never used
Build and check types
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (macos-latest, 20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (ubuntu-latest, 22.4.1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (ubuntu-latest, 20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (ubuntu-latest, 18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit Tests (windows-latest, 20.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/