{"action":"opened","issue":{"url":"https://api.github.com/repos/MichalZalecki/connect-rxjs-to-react/issues/7","repository_url":"https://api.github.com/repos/MichalZalecki/connect-rxjs-to-react","labels_url":"https://api.github.com/repos/MichalZalecki/connect-rxjs-to-react/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/MichalZalecki/connect-rxjs-to-react/issues/7/comments","events_url":"https://api.github.com/repos/MichalZalecki/connect-rxjs-to-react/issues/7/events","html_url":"https://github.com/MichalZalecki/connect-rxjs-to-react/issues/7","id":278741272,"number":7,"title":"TypeError: Cannot read property 'Subject' of undefined","user":{"login":"ccerrato147","id":7777980,"avatar_url":"https://avatars3.githubusercontent.com/u/7777980?v=4","gravatar_id":"","url":"https://api.github.com/users/ccerrato147","html_url":"https://github.com/ccerrato147","followers_url":"https://api.github.com/users/ccerrato147/followers","following_url":"https://api.github.com/users/ccerrato147/following{/other_user}","gists_url":"https://api.github.com/users/ccerrato147/gists{/gist_id}","starred_url":"https://api.github.com/users/ccerrato147/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccerrato147/subscriptions","organizations_url":"https://api.github.com/users/ccerrato147/orgs","repos_url":"https://api.github.com/users/ccerrato147/repos","events_url":"https://api.github.com/users/ccerrato147/events{/privacy}","received_events_url":"https://api.github.com/users/ccerrato147/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-03T03:41:37Z","updated_at":"2017-12-03T03:41:37Z","closed_at":null,"author_association":"NONE","body":"I download the program, ran npm install and then npm run build but when I run the tests and load it on the browser I get the error \"TypeError: Cannot read property 'Subject' of undefined\". It seems like it's not loading the rxjs package to the Rx.js variable. I already tried re-installing but didn't work.\r\n\r\nThe full error stack is:\r\n\r\nTypeError: Cannot read property 'Subject' of undefined\r\n    at createAction (/Users/ccerrato147/Projects/connect-rxjs-to-react/src/state/RxState.js:6:14)\r\n    at /Users/ccerrato147/Projects/connect-rxjs-to-react/src/state/RxState.js:10:63\r\n    at Array.reduce (native)\r\n    at createActions (/Users/ccerrato147/Projects/connect-rxjs-to-react/src/state/RxState.js:10:22)\r\n    at Object.<anonymous> (/Users/ccerrato147/Projects/connect-rxjs-to-react/src/actions/counterActions.js:3:16)\r\n    at Module._compile (module.js:571:32)\r\n    at loader (/Users/ccerrato147/Projects/connect-rxjs-to-react/node_modules/babel-register/lib/node.js:144:5)\r\n    at require.extensions.(anonymous function) (/Users/ccerrato147/Projects/connect-rxjs-to-react/node_modules/babel-register/lib/node.js:154:7)\r\n    at extensions.(anonymous function) (/Users/ccerrato147/Projects/connect-rxjs-to-react/node_modules/require-precompiled/index.js:16:3)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/ccerrato147/Projects/connect-rxjs-to-react/node_modules/ava/lib/test-worker.js:92:3)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/Users/ccerrato147/Projects/connect-rxjs-to-react/src/reducers/CounterReducer.spec.js:3:1)\r\n    at Module._compile (module.js:571:32)\r\n    at extensions.(anonymous function) (/Users/ccerrato147/Projects/connect-rxjs-to-react/node_modules/require-precompiled/index.js:13:11)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/ccerrato147/Projects/connect-rxjs-to-react/node_modules/ava/lib/test-worker.js:92:3)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/Users/ccerrato147/Projects/connect-rxjs-to-react/node_modules/ava/lib/test-worker.js:96:1)\r\n    at Module._compile (module.js:571:32)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.runMain (module.js:605:10)\r\n    at run (bootstrap_node.js:420:7)\r\n    at startup (bootstrap_node.js:139:9)\r\n    at bootstrap_node.js:535:3\r\n/Users/ccerrato147/Projects/connect-rxjs-to-react/src/state/RxState.js:42\r\n  return new _rxjs2.default.Subject();"}}
{"actor":{"display_login":"ccerrato147"}}