Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add home/index page #23

Closed
Simek opened this issue Sep 15, 2020 · 3 comments
Closed

Add home/index page #23

Simek opened this issue Sep 15, 2020 · 3 comments

Comments

@Simek
Copy link

Simek commented Sep 15, 2020

https://reactnative.dev/

@Simek
Copy link
Author

Simek commented Sep 18, 2020

The styling can be refactored later to utilize CSS Modules.

@Simek
Copy link
Author

Simek commented Sep 18, 2020

Preview

I'm waiting for the mentioned above PR merge & next Docusaurus release to fix the container issue.

Screenshot 2020-09-18 170613


The server fails to build after the first commit (even on local). Development mode is working fine.

4:41:00 PM: [success] [webpackbar] Server: Compiled with some errors in 3.67m
4:41:00 PM: Error: Cannot find module './1.b51a80b5.js'
4:41:00 PM: Require stack:
4:41:00 PM: - main
4:41:00 PM: (undefined) Error: Cannot find module './1.b51a80b5.js'
4:41:00 PM: Require stack:
4:41:00 PM: - main
4:41:00 PM:     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
4:41:00 PM:     at Function.Module._load (internal/modules/cjs/loader.js:842:27)
4:41:00 PM:     at requireLike (/opt/build/repo/website/node_modules/require-like/lib/require-like.js:15:26)
4:41:00 PM:     at Function.requireEnsure [as e] (main:46:25)
4:41:00 PM:     at Module.<anonymous> (main:129035:226)
4:41:00 PM:     at __webpack_require__ (main:27:30)
4:41:00 PM:     at main:118:18
4:41:00 PM:     at main:121:10
4:41:00 PM:     at Script.runInContext (vm.js:131:20)
4:41:00 PM:     at Script.runInNewContext (vm.js:137:17)
4:41:00 PM:     at module.exports (/opt/build/repo/website/node_modules/eval/eval.js:73:12)
4:41:00 PM:     at /opt/build/repo/website/node_modules/@endiliey/static-site-generator-webpack-plugin/index.js:42:22
4:41:00 PM:     at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/build/repo/website/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
4:41:00 PM:     at AsyncSeriesHook.lazyCompileHook (/opt/build/repo/website/node_modules/tapable/lib/Hook.js:154:20)
4:41:00 PM:     at /opt/build/repo/website/node_modules/webpack/lib/Compilation.js:1414:32
4:41:00 PM:     at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/build/repo/website/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
4:41:00 PM: Error: Failed to compile with errors.
4:41:00 PM:     at /opt/build/repo/website/node_modules/@docusaurus/core/lib/webpack/utils.js:164:24
4:41:00 PM:     at finalCallback (/opt/build/repo/website/node_modules/webpack/lib/MultiCompiler.js:254:12)
4:41:00 PM:     at /opt/build/repo/website/node_modules/webpack/lib/MultiCompiler.js:277:6
4:41:00 PM:     at done (/opt/build/repo/website/node_modules/neo-async/async.js:2931:13)
4:41:00 PM:     at runCompilers (/opt/build/repo/website/node_modules/webpack/lib/MultiCompiler.js:181:48)
4:41:00 PM:     at /opt/build/repo/website/node_modules/webpack/lib/MultiCompiler.js:188:7
4:41:00 PM:     at /opt/build/repo/website/node_modules/webpack/lib/MultiCompiler.js:270:7
4:41:00 PM:     at finalCallback (/opt/build/repo/website/node_modules/webpack/lib/Compiler.js:257:39)
4:41:00 PM:     at /opt/build/repo/website/node_modules/webpack/lib/Compiler.js:273:13
4:41:00 PM:     at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/build/repo/website/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:40:1)
4:41:00 PM:     at AsyncSeriesHook.lazyCompileHook (/opt/build/repo/website/node_modules/tapable/lib/Hook.js:154:20)
4:41:00 PM:     at onCompiled (/opt/build/repo/website/node_modules/webpack/lib/Compiler.js:271:21)
4:41:00 PM:     at /opt/build/repo/website/node_modules/webpack/lib/Compiler.js:681:15
4:41:00 PM:     at AsyncSeriesHook.eval [as callAsync] (eval at create (/opt/build/repo/website/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:4:1)
4:41:00 PM:     at AsyncSeriesHook.lazyCompileHook (/opt/build/repo/website/node_modules/tapable/lib/Hook.js:154:20)
4:41:00 PM:     at /opt/build/repo/website/node_modules/webpack/lib/Compiler.js:678:31
4:41:00 PM: error Command failed with exit code 1.

The full log is here: https://app.netlify.com/sites/react-native-website-migration/deploys/5f64c5ff60c1b6000809e468

@Simek
Copy link
Author

Simek commented Oct 2, 2020

Bump to alpha.65 fixed an issue. Page migration is complete. Few assets might need an update to work better in dark mode, but this will be resolved in separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant