{"action":"created","issue":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/2897","repository_url":"https://api.github.com/repos/typeorm/typeorm","labels_url":"https://api.github.com/repos/typeorm/typeorm/issues/2897/labels{/name}","comments_url":"https://api.github.com/repos/typeorm/typeorm/issues/2897/comments","events_url":"https://api.github.com/repos/typeorm/typeorm/issues/2897/events","html_url":"https://github.com/typeorm/typeorm/issues/2897","id":367089601,"node_id":"MDU6SXNzdWUzNjcwODk2MDE=","number":2897,"title":"Column type for UserModel#userId is not defined and cannot be guessed. Make sure you have turned on an \"emitDecoratorMetadata\": true option in tsconfig.json.","user":{"login":"vjsingh96","id":25844227,"node_id":"MDQ6VXNlcjI1ODQ0MjI3","avatar_url":"https://avatars1.githubusercontent.com/u/25844227?v=4","gravatar_id":"","url":"https://api.github.com/users/vjsingh96","html_url":"https://github.com/vjsingh96","followers_url":"https://api.github.com/users/vjsingh96/followers","following_url":"https://api.github.com/users/vjsingh96/following{/other_user}","gists_url":"https://api.github.com/users/vjsingh96/gists{/gist_id}","starred_url":"https://api.github.com/users/vjsingh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjsingh96/subscriptions","organizations_url":"https://api.github.com/users/vjsingh96/orgs","repos_url":"https://api.github.com/users/vjsingh96/repos","events_url":"https://api.github.com/users/vjsingh96/events{/privacy}","received_events_url":"https://api.github.com/users/vjsingh96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-05T07:22:20Z","updated_at":"2018-10-06T06:07:24Z","closed_at":null,"author_association":"NONE","body":"Column type for UserModel#userId is not defined and cannot be guessed. Make sure you have turned on an \"emitDecoratorMetadata\": true option in tsconfig.json. Also make sure you have imported \"reflect-metadata\" on top of the main entry file in your application (before any entity imported).If you are using JavaScript instead of TypeScript you must explicitly provide a column type.\r\nExceptionsManager.js:76\r\nModule AppRegistry is not a registered callable module (calling runApplication)\r\n\r\n\r\n\r\n**package.json**\r\n\r\n`{\r\n  \"name\": \"janmanch\",\r\n  \"version\": \"0.0.1\",\r\n  \"private\": true,\r\n  \"scripts\": {\r\n    \"start\": \"node node_modules/react-native/local-cli/cli.js start\",\r\n    \"test\": \"jest\"\r\n  },\r\n  \"dependencies\": {\r\n    \"@babel/runtime\": \"^7.1.2\",\r\n    \"@ldn0x7dc/react-native-view-pager\": \"0.0.9\",\r\n    \"npm\": \"^6.1.0\",\r\n    \"react\": \"16.3.1\",\r\n    \"react-native\": \"0.57.0\",\r\n    \"react-native-bottomsheet\": \"^1.9.0\",\r\n    \"react-native-datepicker\": \"^1.7.2\",\r\n    \"react-native-device-info\": \"^0.21.5\",\r\n    \"react-native-elements\": \"^0.19.1\",\r\n    \"react-native-flexi-radio-button\": \"^0.2.2\",\r\n    \"react-native-localization\": \"^1.0.10\",\r\n    \"react-native-permissions\": \"^1.1.1\",\r\n    \"react-native-splash-screen\": \"^3.0.9\",\r\n    \"react-native-sqlite-storage\": \"^3.3.6\",\r\n    \"react-native-swiper\": \"^1.5.13\",\r\n    \"react-native-vector-icons\": \"^4.6.0\",\r\n    \"react-navigation\": \"^2.3.1\",\r\n    \"realm\": \"^2.8.4\",\r\n    \"reflect-metadata\": \"^0.1.12\",\r\n    \"remove\": \"^0.1.5\",\r\n    \"typeorm\": \"^0.2.7\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"@babel/plugin-external-helpers\": \"^7.0.0\",\r\n    \"@babel/plugin-proposal-decorators\": \"^7.1.2\",\r\n    \"@types/jest\": \"23.1.0\",\r\n    \"@types/react\": \"16.3.18\",\r\n    \"@types/react-native\": \"0.55.20\",\r\n    \"@types/react-native-datepicker\": \"^1.6.3\",\r\n    \"@types/react-navigation\": \"^2.0.5\",\r\n    \"@types/react-test-renderer\": \"16.0.1\",\r\n    \"babel-jest\": \"23.0.1\",\r\n    \"babel-plugin-transform-async-to-generator\": \"^6.24.1\",\r\n    \"babel-preset-react-native\": \"4.0.0\",\r\n    \"jest\": \"23.1.0\",\r\n    \"metro-react-native-babel-preset\": \"^0.47.0\",\r\n    \"react-native-typescript-transformer\": \"1.2.10\",\r\n    \"react-test-renderer\": \"16.3.1\",\r\n    \"schedule\": \"0.4.0\",\r\n    \"ts-jest\": \"22.4.6\",\r\n    \"typescript\": \"2.9.2\"\r\n  },\r\n  \"jest\": {\r\n    \"preset\": \"react-native\",\r\n    \"transform\": {\r\n      \"^.+\\\\.(js)$\": \"<rootDir>/node_modules/babel-jest\",\r\n      \"\\\\.(ts|tsx)$\": \"<rootDir>/node_modules/ts-jest/preprocessor.js\"\r\n    },\r\n    \"testRegex\": \"(/__tests__/.*|(\\\\.|/)(test|spec))\\\\.(jsx?|tsx?)$\",\r\n    \"moduleFileExtensions\": [\r\n      \"ts\",\r\n      \"tsx\",\r\n      \"js\",\r\n      \"jsx\",\r\n      \"json\",\r\n      \"node\"\r\n    ],\r\n    \"modulePaths\": [\r\n      \"<rootDir>\"\r\n    ]\r\n  }\r\n}\r\n`\r\n\r\n**tsconfig**\r\n\r\n`{\r\n  \"compilerOptions\": {\r\n    \"allowSyntheticDefaultImports\": true,\r\n    \"allowJs\": true,\r\n    \"esModuleInterop\": true,\r\n    \"jsx\": \"react\",\r\n    \"module\": \"es6\",\r\n    \"moduleResolution\": \"node\",\r\n    \"noEmit\": true,\r\n    \"noImplicitAny\": true,\r\n    \"target\": \"es6\",\r\n/*Below code custom added*/\r\n    \"baseUrl\": \"./src\",\r\n    // \"skipLibCheck\": true,\r\n    \"sourceMap\": true,\r\n    \"emitDecoratorMetadata\": true,\r\n    \"experimentalDecorators\": true,\r\n    // \"outDir\": \"./build\"\r\n  },\r\n  \"include\": [\"./src\"],\r\n  \"exclude\": [\"node_modules\"]\r\n}\r\n`"},"comment":{"url":"https://api.github.com/repos/typeorm/typeorm/issues/comments/427549467","html_url":"https://github.com/typeorm/typeorm/issues/2897#issuecomment-427549467","issue_url":"https://api.github.com/repos/typeorm/typeorm/issues/2897","id":427549467,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU0OTQ2Nw==","user":{"login":"vjsingh96","id":25844227,"node_id":"MDQ6VXNlcjI1ODQ0MjI3","avatar_url":"https://avatars1.githubusercontent.com/u/25844227?v=4","gravatar_id":"","url":"https://api.github.com/users/vjsingh96","html_url":"https://github.com/vjsingh96","followers_url":"https://api.github.com/users/vjsingh96/followers","following_url":"https://api.github.com/users/vjsingh96/following{/other_user}","gists_url":"https://api.github.com/users/vjsingh96/gists{/gist_id}","starred_url":"https://api.github.com/users/vjsingh96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjsingh96/subscriptions","organizations_url":"https://api.github.com/users/vjsingh96/orgs","repos_url":"https://api.github.com/users/vjsingh96/repos","events_url":"https://api.github.com/users/vjsingh96/events{/privacy}","received_events_url":"https://api.github.com/users/vjsingh96/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T06:07:24Z","updated_at":"2018-10-06T06:07:24Z","author_association":"NONE","body":"@anicolaides  Still not working"}}
{"actor":{"display_login":"vjsingh96"}}