Coder Social home page Coder Social logo

johnkorzhuk / fast-poll Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atfd/polling-app-example

4.0 4.0 2.0 1.1 MB

Fast Poll PWA

Home Page: https://www.fastpoll.co

License: MIT License

JavaScript 92.65% CSS 7.35%
firebase gatsby pwa react redux styled-components

fast-poll's People

Contributors

johnkorzhuk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

fast-poll's Issues

production build error on "Building static HTML for pages"

I'm able to use Promises or Async/Await during development. However, If I use Async/Await anywhere in the ./src/ directory, I get an Invariant Violation error on the Building static HTML for pages production build step:

  40 |       var args = [a, b, c, d, e, f];
  41 |       var argIndex = 0;
> 42 |       error = new Error(
     | ^
  43 |         format.replace(/%s/g, function() { return args[argIndex++]; })
  44 |       );
  45 |       error.name = 'Invariant Violation';

The stack trace:

  WebpackError: Could not find "store" in either the context or props of "Connect(Auth)". Either wrap the root component in a <Provider>, or explicitly pass "store" as a prop to "Connect(Auth)".

  - invariant.js:42 invariant
    ~/invariant/invariant.js:42:1

  - connectAdvanced.js:134 new Connect
    ~/react-redux/lib/components/connectAdvanced.js:134:1

  - ReactCompositeComponent.js:295 ReactCompositeComponentWrapper._constructComponentWithoutOwner
    ~/react-dom/lib/ReactCompositeComponent.js:295:1

  - ReactCompositeComponent.js:282 ReactCompositeComponentWrapper._constructComponent
    ~/react-dom/lib/ReactCompositeComponent.js:282:1

  - ReactCompositeComponent.js:185 ReactCompositeComponentWrapper.mountComponent
    ~/react-dom/lib/ReactCompositeComponent.js:185:1

Until I find a solution, I'll stick to chaining .then statements with my Promises.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.