Open an33k opened 10 months ago
@an33k, do you mind providing a bit more context: Do you use any storage providers or you're describing local envionment with default components in paperbits-demo project?
i am using local environment with the default media widget where you can upload files and those files are then stored as base64 strings in the demo.json file which when i run the publish command creates a dist folder where the pictures gets saved in the content folder but those pictures dont load from there cant view those pictures and i am not using any storage provider.
i have also tried to add firebase as storage provider but it doesnt work either gives error in design Uncaught Error: Unable to resolve collection "widgetHandlers": _validateActiveBindingCount@http://localhost:8081/editors/scripts/paperbits.js:57605:23 _getActiveBindings@http://localhost:8081/editors/scripts/paperbits.js:57591:32 _createSubRequests@http://localhost:8081/editors/scripts/paperbits.js:57634:26 ./node_modules/inversify/lib/planning/planner.js/_createSubRequests/</<@http://localhost:8081/editors/scripts/paperbits.js:57658:35 ./node_modules/inversify/lib/planning/planner.js/_createSubRequests/<@http://localhost:8081/editors/scripts/paperbits.js:57657:26 _createSubRequests@http://localhost:8081/editors/scripts/paperbits.js:57637:20 plan@http://localhost:8081/editors/scripts/paperbits.js:57679:27 ./node_modules/inversify/lib/container/container.js/Container.prototype._planAndResolve/Container@http://localhost:8081/editors/scripts/paperbits.js:57201:37 ./node_modules/inversify/lib/container/container.js/Container.prototype._get@http://localhost:8081/editors/scripts/paperbits.js:57194:44 ./node_modules/inversify/lib/container/container.js/Container.prototype.getAll@http://localhost:8081/editors/scripts/paperbits.js:57123:21 ./node_modules/@paperbits/common/injection/inversifyInjector.ts/bindCollectionLazily/Collection/<@http://localhost:8081/editors/scripts/paperbits.js:110596:51 @http://localhost:8081/editors/scripts/paperbits.js:34656:12 run@http://localhost:8081/editors/scripts/paperbits.js:34630:5 listener@http://localhost:8081/editors/scripts/paperbits.js:34641:6 node_modules paperbits.js:110600
Describe the bug uploaded picture with picture widget doesnt load on publish but the link file works
To Reproduce Steps to reproduce the behavior:
Expected behavior uploaded picture to load on publish Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):