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
Copy file name to clipboardExpand all lines: libs/langchain-community/src/document_loaders/fs/pdf.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ async function PDFLoaderImports() {
143
143
}catch(e){
144
144
console.error(e);
145
145
thrownewError(
146
-
"Failed to load pdf-parse. Please install it with eg. `npm install pdf-parse`."
146
+
"Failed to load pdf-parse. This loader currently supports pdf-parse v1 only. Please install v1, e.g. `npm install pdf-parse@^1` (v2 is not yet supported)."
Copy file name to clipboardExpand all lines: libs/langchain-community/src/document_loaders/web/pdf.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ async function PDFLoaderImports() {
128
128
}catch(e){
129
129
console.error(e);
130
130
thrownewError(
131
-
"Failed to load pdf-parse. Please install it with eg. `npm install pdf-parse`."
131
+
"Failed to load pdf-parse. This loader currently supports pdf-parse v1 only. Please install v1, e.g. `npm install pdf-parse@^1` (v2 is not yet supported)."
0 commit comments