Closed MariuzM closed 2 months ago
Doing target node also same issue / error message
Try to pass uiBasePath option, which should point to ui package dir.
I'm not sure what path should i give it?
The ui package (node_modules/@bull-board/ui)
I have tried it like so but getting {"error":"Internal server error","message":"No such file or directory"}
options: {
uiConfig: {},
uiBasePath: '/node_modules/@bull-board/ui/dist/index.ejs',
},
It should be an absolute path to that dir... This is what the code with require does, resolves the path.
A got it thank you
uiBasePath: path.resolve(__dirname, '../../node_modules/@bull-board/ui'),
I'm using Bun and when doing build with bun target i get this error.
Not sure if this is Bun related
Setup: Bun 1.1.27 "fastify": "^4.28.1", "@bull-board/api": "^5.21.6", "@bull-board/fastify": "^5.21.6",
This is from built file