registerObserver is not a function
jjravleuven opened this issue · comments
James Van Leuven commented
TypeError: registerObserver is not a function
Module../src/index.js
src/index.js:16
13 | // do something with the measures
14 | }
15 |
> 16 | registerObserver(options, callback)
17 |
18 | ReactDOM.render(<App />, document.getElementById('root'))
19 |
View compiled
__webpack_require__
/Users/james/www/react-apps/react-complete-guide-eject/webpack/bootstrap:782
779 | };
780 |
781 | // Execute the module function
> 782 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 783 |
784 | // Flag the module as loaded
785 | module.l = true;
View compiled
fn
/Users/james/www/react-apps/react-complete-guide-eject/webpack/bootstrap:150
147 | );
148 | hotCurrentParents = [];
149 | }
> 150 | return __webpack_require__(request);
| ^ 151 | };
152 | var ObjectFactory = function ObjectFactory(name) {
153 | return {
View compiled
0
http://localhost:3000/static/js/main.chunk.js:626:18
__webpack_require__
/Users/james/www/react-apps/react-complete-guide-eject/webpack/bootstrap:782
779 | };
780 |
781 | // Execute the module function
> 782 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId));
| ^ 783 |
784 | // Flag the module as loaded
785 | module.l = true;
View compiled
checkDeferredModules
/Users/james/www/react-apps/react-complete-guide-eject/webpack/bootstrap:45
42 | }
43 | if(fulfilled) {
44 | deferredModules.splice(i--, 1);
> 45 | result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
| ^ 46 | }
47 | }
48 | return result;
View compiled
Array.webpackJsonpCallback [as push]
/Users/james/www/react-apps/react-complete-guide-eject/webpack/bootstrap:32
29 | deferredModules.push.apply(deferredModules, executeModules || []);
30 |
31 | // run deferred modules when all chunks ready
> 32 | return checkDeferredModules();
| ^ 33 | };
34 | function checkDeferredModules() {
35 | var result;
View compiled
(anonymous function)
http://localhost:3000/static/js/main.chunk.js:1:57
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.
Felix Wu commented
Could you please attach your source code?
James Van Leuven commented
I tried this on a generic create-reqct-app so thete is none outside of the
default code
On Fri, Oct 26, 2018 at 4:44 PM, Felix Wu ***@***.***> wrote:
Could you please attach your source code?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACLruXeQjcrrcAmrzMX0OH2d6vFdBvovks5uo3QVgaJpZM4X87_l>
.
--
James Van Leuven
"be without fear in the face of your enemies. Be brave and upright that
God may love thee. Speak the truth always even if it leads to your death.
Safeguard the helpless and do no wrong"
james@bookt.in | +1 416 712 6870
CONFIDENTIAL:This electronic mail (including any attachments) may contain
information that is privileged, confidential, and/or otherwise protected
from disclosure to anyone other than its intended recipient(s). Any
dissemination or use of this electronic email or its contents (including
any attachments) by persons other than the intended recipient(s) is
strictly prohibited. If you have received this message in error, please
notify me immediately by reply email so that I may correct my records.
Please then delete the original message (including any attachments) in its
entirety. Thank you
…--
*
*
*CONFIDENTIAL:This electronic mail (including any attachments) may
contain information that is privileged, confidential, and/or otherwise
protected from disclosure to anyone other than its intended recipient(s).
Any dissemination or use of this electronic email or its contents
(including any attachments) by persons other than the intended recipient(s)
is strictly prohibited. If you have received this message in error, please
notify me immediately by reply email so that I may correct my records.
Please then delete the original message (including any attachments) in its
entirety. Thank you*
James Van Leuven commented
Don’t worry about it. i installed it as an extension instead and the
appropriate code. It worked fine though the extension panel is a bit
generic for me
On Fri, Oct 26, 2018 at 4:44 PM, Felix Wu ***@***.***> wrote:
Could you please attach your source code?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#59 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACLruXeQjcrrcAmrzMX0OH2d6vFdBvovks5uo3QVgaJpZM4X87_l>
.
--
James Van Leuven
"be without fear in the face of your enemies. Be brave and upright that
God may love thee. Speak the truth always even if it leads to your death.
Safeguard the helpless and do no wrong"
james@bookt.in | +1 416 712 6870
CONFIDENTIAL:This electronic mail (including any attachments) may contain
information that is privileged, confidential, and/or otherwise protected
from disclosure to anyone other than its intended recipient(s). Any
dissemination or use of this electronic email or its contents (including
any attachments) by persons other than the intended recipient(s) is
strictly prohibited. If you have received this message in error, please
notify me immediately by reply email so that I may correct my records.
Please then delete the original message (including any attachments) in its
entirety. Thank you
…--
*
*
*CONFIDENTIAL:This electronic mail (including any attachments) may
contain information that is privileged, confidential, and/or otherwise
protected from disclosure to anyone other than its intended recipient(s).
Any dissemination or use of this electronic email or its contents
(including any attachments) by persons other than the intended recipient(s)
is strictly prohibited. If you have received this message in error, please
notify me immediately by reply email so that I may correct my records.
Please then delete the original message (including any attachments) in its
entirety. Thank you*