Build apps for web, TVs, desktops, consoles, wearables and more. Developer friendly UI library targeting all form factors platforms. Another notable feature is providing focus management for TVs which very easy to implement using Create.
Create new project using rnv new and select @flexn/template
Do rnv run -p web
┌──────────────────────────────────────────────────────────────────────────────┐
│ 🚀 BUNDLER STARTED | 2/17/2023, 9:27:42 AM │
│ $ rnv run -p web │
├──────────────────────────────────────────────────────────────────────────────┤
│ ReNative Version: 0.37.0-canary.4 │
│ Project Name ($package.name): test │
│ Project Version ($package.version): 0.1.0 │
│ Workspace ($.workspaceID): flexn │
│ Platform (-p): web │
│ Engine ($.platforms.web.engine): engine-rn-next │
│ Template: @flexn/template@0.18.0-alpha.10 │
│ App Config (-c): app │
│ Build Scheme (-s): debug │
│ Supported Platforms: web │
│ Env Info: darwin | x64 | node v16.14.2 │
│ Executed Time: 0h:0m:2s:848ms │
│ │
│ [ warn ] [project configure] This project uses encrypted files but you don't have them installed
│ │
│ Project location: │
│ ./platformBuilds/app_web │
└──────────────────────────────────────────────────────────────────────────────┘
[ task ] [run] runWebDevServer[1]
Dev server running at: http://0.0.0.0:8080
[ task ] [run] parsePlugins[1]
[ task ] [run] parsePlugins[2]
✔ Executing: npx next dev --port 8080
ready - started server on 0.0.0.0:8080, url: http://localhost:8080
Found custom dir:/Users/pauliusguzas/Desktop/test/src/pages
info - Disabled SWC as replacement for Babel because of custom Babel configuration "babel.config.js" https://nextjs.org/docs/messages/swc-disabled
info - automatically enabled Fast Refresh for 1 custom loader
wait - compiling...
event - compiled client and server successfully in 2.6s (1135 modules)
wait - compiling / (client and server)...
wait - compiling...
info - Using external babel configuration from /Users/pauliusguzas/Desktop/test/babel.config.js
event - compiled client and server successfully in 1907 ms (1144 modules)
wait - compiling /_error (client and server)...
wait - compiling...
event - compiled client and server successfully in 600 ms (1145 modules)
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
error - Error: "MyDocument.getInitialProps()" should resolve to an object with a "html" prop set with a valid html string
[ warn ] [run] Can't connect to host http://0.0.0.0:8080/. Try restarting it.
rnv version: 0.37.0-canary.4 flexn template version: 0.18.0-alpha.10
How to repro:
rnv new
and select @flexn/templaternv run -p web