I have created a simple custom component for creating a simple filtered list using create-adalo-component. When I add the component to the screen it displays fine and the properties are there to choose. However when I preview the app it gives me a missing component error.
I searched the forum and read a post about someone else with the same issue, however there was no solution.
After some digging I have resolved the issue, but I am not sure how this was intended to work. Running yarn start launches the file @adalo\cli\src\dev.js. However lines 124 and 128 were both returning port 8000 resulting in
⚠ 「wds」: transportMode is an experimental option, meaning its usage could potentially change without warning
ℹ 「wds」: Project is running at http://localhost:8000/webpack-dev-server/
ℹ 「wds」: webpack output is served from /dist/
ℹ 「wds」: Content not from webpack is served from /dist
ℹ 「wds」: Project is running at http://localhost:8000/webpack-dev-server/
ℹ 「wds」: webpack output is served from /dist/
ℹ 「wds」: Content not from webpack is served from /dist
STARTED LOCAL SERVERS: 8000, 8000
Which lead to runtime.js never getting served up for the preview mode.
By manually editing dev.js and changing line 124 to const port = 3000; // await portfinder.getPortPromise()
I can now preview properly.
Over to github to see if there is any topics on this.