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

Additional setup required? (site doesn't come up on first run) #2

Open
jason-murray opened this issue Oct 16, 2017 · 0 comments
Open

Comments

@jason-murray
Copy link

Hi, sorry new to react and webpack.

After running yarn setup or yarn start, I receive some output and localhost:3000 opens in a new tab but the page never loads, just stays white with a spinner. (The browsersync dash is available at 3001 however.)

Here's the terminal output, with a big list of files snipped in the middle:

➜  wp-react-spa-boilerplate git:(redux) yarn start
yarn run v1.2.1
$ node run start
[17:46:50] [write-file-webpack-plugin] options { exitOnErrors: true,
  force: false,
  log: true,
  test: null,
  useHashIndex: true }
Starting 'start'...
Starting 'clean'...
Finished 'clean' after 48ms
Starting 'copy'...
Finished 'copy' after 38ms
Starting 'watch'...
Finished 'watch' after 124ms
Starting 'devServer'...
[BS] [HTML Injector] Running...
[BS] Proxying: http://wp-react-spa-boilerplate.dev
[BS] Access URLs:
 -------------------------------------
       Local: http://localhost:3000
    External: http://192.168.0.11:3000
 -------------------------------------
          UI: http://localhost:3001
 UI External: http://192.168.0.11:3001
 -------------------------------------
[BS] Watching files...
[17:46:56] [write-file-webpack-plugin] compiler.outputFileSystem is "MemoryFileSystem".
[17:46:56] [write-file-webpack-plugin] compiler.options.devServer.outputPath is "/Users/jason/local/wp-react-spa-boilerplate/wordpress/wp-content/themes/wp-react-spa-boilerplate".
[17:46:56] [write-file-webpack-plugin] stats.compilation.errors.length is "0".
[17:46:56] [write-file-webpack-plugin] asset: ./bundle.js; destination: ./wordpress/wp-content/themes/wp-react-spa-boilerplate/bundle.js [written] (2.1 MB)
[17:46:56] [write-file-webpack-plugin] asset: ./bundle.js.map; destination: ./wordpress/wp-content/themes/wp-react-spa-boilerplate/bundle.js.map [written] (2.55 MB)
webpack built 04354f146e2b35ad57d5 in 4903ms
Hash: 04354f146e2b35ad57d5
Version: webpack 1.14.0
Time: 4903ms
        Asset     Size  Chunks             Chunk Names
    bundle.js   2.2 MB       0  [emitted]  main
bundle.js.map  2.67 MB       0  [emitted]  main
chunk    {0} bundle.js, bundle.js.map (main) 2.06 MB [rendered]
    [0] multi main 64 bytes {0} [built]
    [1] ./~/core-js/modules/_export.js 1.6 kB {0} [built]
    [2] ./~/react/react.js 56 bytes {0} [built]
    [3] ./~/fbjs/lib/invariant.js 1.63 kB {0} [built]
...
 [1051] ./~/wpapi/wpapi.js 16.1 kB {0} [built]
 [1052] ./~/xtend/immutable.js 384 bytes {0} [built]
 [1053] vertx (ignored) 15 bytes {0} [optional]

WARNING in ./src/client/containers/Single.js

<text>
  27:9   error  There should be no space after '{'   react/jsx-curly-spacing
  27:59  error  There should be no space before '}'  react/jsx-curly-spacing

✖ 2 problems

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