Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ×
- ←→1 of 2 errors on the page
- TypeError: Cannot read property 'location' of undefined
- new Router
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-router/es/Router.js:66
- 63 | }
- 64 |
- 65 | return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
- > 66 | match: _this.computeMatch(_this.props.history.location.pathname)
- | ^ 67 | }, _temp), _possibleConstructorReturn(_this, _ret);
- 68 | }
- 69 |
- View compiled
- constructClassInstance
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:12960
- 12957 | new ctor(props, context); // eslint-disable-line no-new
- 12958 | }
- 12959 | }
- > 12960 | var instance = new ctor(props, context);
- | ^ 12961 | var state = workInProgress.memoizedState = instance.state !== null && instance.state !== undefined ? instance.state : null;
- 12962 | adoptClassInstance(workInProgress, instance);
- 12963 | {
- View compiled
- updateClassComponent
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:14853
- 14850 | } // In the initial pass we might need to construct the instance.
- 14851 |
- 14852 |
- > 14853 | constructClassInstance(workInProgress, Component, nextProps, renderExpirationTime);
- | ^ 14854 | mountClassInstance(workInProgress, Component, nextProps, renderExpirationTime);
- 14855 | shouldUpdate = true;
- 14856 | } else if (current$$1 === null) {
- View compiled
- beginWork
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:15716
- 15713 |
- 15714 | var _resolvedProps = workInProgress.elementType === _Component2 ? _unresolvedProps : resolveDefaultProps(_Component2, _unresolvedProps);
- 15715 |
- > 15716 | return updateClassComponent(current$$1, workInProgress, _Component2, _resolvedProps, renderExpirationTime);
- | ^ 15717 | }
- 15718 |
- 15719 | case HostRoot:
- View compiled
- performUnitOfWork
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:18750
- 18747 | startProfilerTimer(workInProgress);
- 18748 | }
- 18749 |
- > 18750 | next = beginWork(current$$1, workInProgress, nextRenderExpirationTime);
- | ^ 18751 | workInProgress.memoizedProps = workInProgress.pendingProps;
- 18752 |
- 18753 | if (workInProgress.mode & ProfileMode) {
- View compiled
- workLoop
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:18791
- 18788 | if (!isYieldy) {
- 18789 | // Flush work without yielding
- 18790 | while (nextUnitOfWork !== null) {
- > 18791 | nextUnitOfWork = performUnitOfWork(nextUnitOfWork);
- | ^ 18792 | }
- 18793 | } else {
- 18794 | // Flush asynchronous work until there's a higher priority event
- View compiled
- renderRoot
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:18876
- 18873 |
- 18874 | do {
- 18875 | try {
- > 18876 | workLoop(isYieldy);
- | ^ 18877 | } catch (thrownValue) {
- 18878 | resetContextDependences();
- 18879 | resetHooks(); // Reset in case completion throws.
- View compiled
- performWorkOnRoot
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:19812
- 19809 | cancelTimeout(timeoutHandle);
- 19810 | }
- 19811 |
- > 19812 | renderRoot(root, isYieldy);
- | ^ 19813 | finishedWork = root.finishedWork;
- 19814 |
- 19815 | if (finishedWork !== null) {
- View compiled
- performWork
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:19722
- 19719 | }
- 19720 | } else {
- 19721 | while (nextFlushedRoot !== null && nextFlushedExpirationTime !== NoWork && minExpirationTime <= nextFlushedExpirationTime) {
- > 19722 | performWorkOnRoot(nextFlushedRoot, nextFlushedExpirationTime, false);
- | ^ 19723 | findHighestPriorityRoot();
- 19724 | }
- 19725 | } // We're done flushing work. Either we ran out of time in this callback,
- View compiled
- performSyncWork
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:19696
- 19693 | }
- 19694 |
- 19695 | function performSyncWork() {
- > 19696 | performWork(Sync, false);
- | ^ 19697 | }
- 19698 |
- 19699 | function performWork(minExpirationTime, isYieldy) {
- View compiled
- requestWork
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:19551
- 19548 |
- 19549 |
- 19550 | if (expirationTime === Sync) {
- > 19551 | performSyncWork();
- | ^ 19552 | } else {
- 19553 | scheduleCallbackWithExpirationTime(root, expirationTime);
- 19554 | }
- View compiled
- scheduleWork
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:19358
- 19355 | !isWorking || isCommitting$1 || // ...unless this is a different root than the one we're rendering.
- 19356 | nextRoot !== root) {
- 19357 | var rootExpirationTime = root.expirationTime;
- > 19358 | requestWork(root, rootExpirationTime);
- | ^ 19359 | }
- 19360 |
- 19361 | if (nestedUpdateCount > NESTED_UPDATE_LIMIT) {
- View compiled
- scheduleRootUpdate
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:20062
- 20059 |
- 20060 | flushPassiveEffects();
- 20061 | enqueueUpdate(current$$1, update);
- > 20062 | scheduleWork(current$$1, expirationTime);
- | ^ 20063 | return expirationTime;
- 20064 | }
- 20065 |
- View compiled
- updateContainerAtExpirationTime
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:20088
- 20085 | container.pendingContext = context;
- 20086 | }
- 20087 |
- > 20088 | return scheduleRootUpdate(current$$1, element, expirationTime, callback);
- | ^ 20089 | }
- 20090 |
- 20091 | function findHostInstance(component) {
- View compiled
- updateContainer
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:20156
- 20153 | var current$$1 = container.current;
- 20154 | var currentTime = requestCurrentTime();
- 20155 | var expirationTime = computeExpirationForFiber(currentTime, current$$1);
- > 20156 | return updateContainerAtExpirationTime(element, container, parentComponent, expirationTime, callback);
- | ^ 20157 | }
- 20158 |
- 20159 | function getPublicRootInstance(container) {
- View compiled
- ReactRoot.push../node_modules/react-dom/cjs/react-dom.development.js.ReactRoot.render
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:20435
- 20432 | work.then(callback);
- 20433 | }
- 20434 |
- > 20435 | updateContainer(children, root, null, work._onCommit);
- | ^ 20436 | return work;
- 20437 | };
- 20438 |
- View compiled
- (anonymous function)
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:20589
- 20586 | if (parentComponent != null) {
- 20587 | root.legacy_renderSubtreeIntoContainer(parentComponent, children, callback);
- 20588 | } else {
- > 20589 | root.render(children, callback);
- | ^ 20590 | }
- 20591 | });
- 20592 | } else {
- View compiled
- unbatchedUpdates
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:19939
- 19936 | }
- 19937 | }
- 19938 |
- > 19939 | return fn(a);
- | ^ 19940 | } // TODO: Batching should be implemented at the renderer level, not within
- 19941 | // the reconciler.
- 19942 |
- View compiled
- legacyRenderSubtreeIntoContainer
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:20585
- 20582 | } // Initial mount should not be batched.
- 20583 |
- 20584 |
- > 20585 | unbatchedUpdates(function () {
- | ^ 20586 | if (parentComponent != null) {
- 20587 | root.legacy_renderSubtreeIntoContainer(parentComponent, children, callback);
- 20588 | } else {
- View compiled
- render
- D:/Documents/Web Programming/React/neis-guy-painting/node_modules/react-dom/cjs/react-dom.development.js:20652
- 20649 | return legacyRenderSubtreeIntoContainer(null, element, container, true, callback);
- 20650 | },
- 20651 | render: function render(element, container, callback) {
- > 20652 | return legacyRenderSubtreeIntoContainer(null, element, container, false, callback);
- | ^ 20653 | },
- 20654 | unstable_renderSubtreeIntoContainer: function unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
- 20655 | !(parentComponent != null && has(parentComponent)) ? invariant(false, 'parentComponent must be a valid React Component') : void 0;
- View compiled
- Module../src/index.js
- D:/Documents/Web Programming/React/neis-guy-painting/src/index.js:32
- 29 | }
- 30 | }*/
- 31 |
- > 32 | ReactDOM.render(<App />, document.getElementById('root'));
- 33 |
- 34 | // If you want your app to work offline and load faster, you can change
- 35 | // unregister() to register() below. Note this comes with some pitfalls.
- View compiled
- __webpack_require__
- D:/Documents/Web Programming/React/neis-guy-painting/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
- D:/Documents/Web Programming/React/neis-guy-painting/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:625:18
- __webpack_require__
- D:/Documents/Web Programming/React/neis-guy-painting/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
- D:/Documents/Web Programming/React/neis-guy-painting/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]
- D:/Documents/Web Programming/React/neis-guy-painting/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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement