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
After #74 , I attempted to use rdflib instead. After installing dependencies, the build still errors out:
✘ [ERROR] Failed to resolve entry for package "rdflib". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-pre-bundle]
node_modules/esbuild/lib/main.js:1373:21:
1373 │ let result = await callback({
╵ ^
at packageEntryFailure (file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:28725:11)
at resolvePackageEntry (file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:28722:5)
at tryNodeResolve (file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:28453:20)
at Context.resolveId (file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:28212:28)
at Object.resolveId (file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:44276:64)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:65922:21
at async file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:39976:34
at async requestCallbacks.on-resolve (/Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/esbuild/lib/main.js:1373:22)
at async handleRequest (/Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/esbuild/lib/main.js:729:13)
This error came from the "onResolve" callback registered here:
node_modules/esbuild/lib/main.js:1292:20:
1292 │ let promise = setup({
╵ ^
at setup (file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:39956:19)
at handlePlugins (/Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/esbuild/lib/main.js:1292:21)
at buildOrContextImpl (/Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/esbuild/lib/main.js:978:5)
at Object.buildOrContext (/Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/esbuild/lib/main.js:786:5)
at /Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/esbuild/lib/main.js:2186:68
at new Promise (<anonymous>)
at Object.context (/Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/esbuild/lib/main.js:2186:27)
at Object.context (/Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/esbuild/lib/main.js:2026:58)
at prepareEsbuildOptimizerRun (file:///Users/ruizhao/coding/minimal-reproduction/ldflex-getting-started/node_modules/vite/dist/node/chunks/dep-bb8a8339.js:46041:35)
The plugin "vite:dep-pre-bundle" was triggered by this import
node_modules/@ldflex/rdflib/src/RdflibQueryEngine.js:5:7:
5 │ } from 'rdflib';
╵ ~~~~~~~~
After #74 , I attempted to use rdflib instead. After installing dependencies, the build still errors out:
I have installed
@ldflex/rdflib
andrdflib
.MRE also see https://github.com/renyuneyun/minimal-reproduction/tree/master/ldflex-getting-started, and uncomment line 7 (and comment out line 6) of src/App.vue to see this error.
The text was updated successfully, but these errors were encountered: