question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

undefinedcreateProvider error when application starts

See original GitHub issue

When I run npm start -s sometimes I get the following error when application starts:

Uncaught ReferenceError: undefinedcreateProvider is not defined
    at eval (webpack-internal:///./node_modules/react-redux/es/components/Provider.js:80)
    at Module../node_modules/react-redux/es/components/Provider.js (bundle.js:12222)
    at __webpack_require__ (bundle.js:725)
    at fn (bundle.js:102)
    at eval (webpack-internal:///./node_modules/react-redux/es/index.js:2)
    at Module../node_modules/react-redux/es/index.js (bundle.js:12330)
    at __webpack_require__ (bundle.js:725)
    at fn (bundle.js:102)
    at Module.eval (webpack-internal:///./src/index.js:6)
    at eval (webpack-internal:///./src/index.js:188)

Strange part is that this does not happen every time. On avrg it happens ever 3th time when I run command.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
rpk-redcommented, Sep 27, 2018

Problem was with validator.js it does not work after version 8.2.0 on azure for some reason. Downgrading it to 8.2.0 fixed the problem. Application worked with http-server, thank you for your help.

0reactions
nickytonlinecommented, Sep 27, 2018

Great to here everything is sorted out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: "Encountered undefined provider! Usually this means ...
I found the line where it says: "Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by...
Read more >
Error: Encountered undefined provider! - Ionic Forum
Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using 'barrel' index.ts files.
Read more >
Undefined error on start page (Example web application) - Kofax
This error occurs when the Contract Manager (CCM API) is unavailable. For the Designer for Web and the test ComposerUI for HTML5 page,...
Read more >
NG0201: No provider for {token} found! - Angular
You see this error when you try to inject a service but have not declared a corresponding provider. A provider is a mapping...
Read more >
TypeError: Cannot read properties of undefined (reading 'root ...
This error typically occurs when you have server side dependencies that got bundled in your client scripts. The file with the getPosts() ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found