atomicdata-dev/atomic-data-browser

Build-server broken due to pdf dependency

joepio opened this issue · 1 comments

./build_server.sh

[vite-plugin-pwa:build] [vite]: Rollup failed to resolve import "react-pdf" from "/Users/joep/dev/github/atomicdata-dev/atomic-data-brow
│ This is most likely unintended because it can break your application at runtime.
│ If you do want to externalize this module explicitly add it to
│ `build.rollupOptions.external`
│ error during build:
│ Error: [vite]: Rollup failed to resolve import "react-pdf" from "/Users/joep/dev/github/atomicdata-dev/atomic-data-browser/data-browser/
│ This is most likely unintended because it can break your application at runtime.
│ If you do want to externalize this module explicitly add it to
│ `build.rollupOptions.external`
│     at onRollupWarning (file:///Users/joep/dev/github/atomicdata-dev/atomic-data-browser/node_modules/.pnpm/vite@4.0.4/node_modules/vite
│     at onwarn (file:///Users/joep/dev/github/atomicdata-dev/atomic-data-browser/node_modules/.pnpm/vite@4.0.4/node_modules/vite/dist/nod
│     at Object.onwarn (file:///Users/joep/dev/github/atomicdata-dev/atomic-data-browser/node_modules/.pnpm/rollup@3.10.0/node_modules/rol
│     at ModuleLoader.handleInvalidResolvedId (file:///Users/joep/dev/github/atomicdata-dev/atomic-data-browser/node_modules/.pnpm/rollup@
│     at file:///Users/joep/dev/github/atomicdata-dev/atomic-data-browser/node_modules/.pnpm/rollup@3.10.0/node_modules/rollup/dist/es/sha
│     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

my bad - i forgot to pnpm install