prevwong/reka.js

react hello world example is not showing

Closed this issue · 1 comments

https://stackblitz.com/github/prevwong/reka.js/tree/main/examples/01-react?file=package.json,src%2Fpages%2Findex.tsx

Problem1

This is fairly straight forward. Just do this in the terminal npm install -D @types/react.

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
It looks like you're trying to use TypeScript but do not have the required package(s) installed.

Please install @types/react by running:

        npm install --save-dev @types/react

If you are not trying to use TypeScript, please remove the tsconfig.json file from your package root (and any TypeScript files in your pages directory).

And I found 5f4f35a maybe this fix is already on the way.

Problem2

Nothing is rendered in <Preview />

image

No useful content in the console either

image

And I have downloaded the latest main branch (https://github.com/prevwong/reka.js/tree/a9cd8bfca07145a762a011f6d812a774c639284b) and running in localhost:3002 which also has this problem for both react & collab

image

Thanks, fixed in 5e2b90e