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
I am doing some work with langchain, and trying to create a JSR package that contains calls to PDFLoader. THe issue i am running into is:
error: Uncaught Error: Unable to load C:\Users\MyUser\AppData\Local\deno\npm\registry.npmjs.org\@langchain\community\0.3.0\src\types\pdf-parse.d.ts: The system cannot find the path specified. (os error 3)
at Object.getSourceFile (ext:deno_tsc/99_main_compiler.js:648:28)
at findSourceFileWorker (ext:deno_tsc/00_typescript.js:126064:23)
at findSourceFile (ext:deno_tsc/00_typescript.js:125980:20)
at ext:deno_tsc/00_typescript.js:125929:22
at getSourceFileFromReferenceWorker (ext:deno_tsc/00_typescript.js:125900:26)
at processSourceFile (ext:deno_tsc/00_typescript.js:125927:5)
at ext:deno_tsc/00_typescript.js:126221:7
at forEach (ext:deno_tsc/00_typescript.js:2388:22)
at processReferencedFiles (ext:deno_tsc/00_typescript.js:126220:5)
at findSourceFileWorker (ext:deno_tsc/00_typescript.js:126123:9)
Previously, this was resolved by using a call to import * as _parse from "npm:[email protected]"; somewhere in the imports, but that no longer seems to fix the issue... at least it doesn't fix it in the context of tests or deno publish commands.
The text was updated successfully, but these errors were encountered:
lucacasonato
added
bug
Something isn't working correctly
tsc
related to the TypeScript tsc compiler
jsr
Issues or feature requests relating to JSR.io
labels
Sep 17, 2024
Version: Deno 1.46.3
I am doing some work with langchain, and trying to create a JSR package that contains calls to PDFLoader. THe issue i am running into is:
Previously, this was resolved by using a call to
import * as _parse from "npm:[email protected]";
somewhere in the imports, but that no longer seems to fix the issue... at least it doesn't fix it in the context of tests or deno publish commands.The text was updated successfully, but these errors were encountered: