{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/6761","repository_url":"https://api.github.com/repos/jhipster/generator-jhipster","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/6761/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/6761/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/6761/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/6761","id":277477534,"number":6761,"title":"[React] Error when generate my first react project","user":{"login":"romainlouvet","id":4262374,"avatar_url":"https://avatars2.githubusercontent.com/u/4262374?v=4","gravatar_id":"","url":"https://api.github.com/users/romainlouvet","html_url":"https://github.com/romainlouvet","followers_url":"https://api.github.com/users/romainlouvet/followers","following_url":"https://api.github.com/users/romainlouvet/following{/other_user}","gists_url":"https://api.github.com/users/romainlouvet/gists{/gist_id}","starred_url":"https://api.github.com/users/romainlouvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainlouvet/subscriptions","organizations_url":"https://api.github.com/users/romainlouvet/orgs","repos_url":"https://api.github.com/users/romainlouvet/repos","events_url":"https://api.github.com/users/romainlouvet/events{/privacy}","received_events_url":"https://api.github.com/users/romainlouvet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-28T17:48:48Z","updated_at":"2017-11-28T18:07:26Z","closed_at":null,"author_association":"NONE","body":"[at-loader] Checking finished with 3 errors\r\n1022ms asset optimization\r\nHash: 81e6c356c906de705f5f\r\nVersion: webpack 3.8.1\r\nTime: 16994ms\r\n 7 assets\r\n[./src/main/webapp/app/app.css] ./src/main/webapp/app/app.css 1.04 kB {1} [built]\r\n       [] -> factory:1171ms building:23ms = 1194ms\r\n[./src/main/webapp/app/app.tsx] ./src/main/webapp/app/app.tsx 3.59 kB {1} [built]\r\n       [] -> factory:406ms building:587ms dependencies:94ms = 1087ms\r\n[./src/main/webapp/app/config/axios-interceptor.ts] ./src/main/webapp/app/config/axios-interceptor.ts 2.33 kB {1} [built]\r\n       [] -> factory:405ms building:182ms = 587ms\r\n[./src/main/webapp/app/config/devtools.tsx] ./src/main/webapp/app/config/devtools.tsx 1.68 kB {1} [built]\r\n       [] -> factory:408ms building:643ms dependencies:30ms = 1081ms\r\n[./src/main/webapp/app/config/error-middleware.ts] ./src/main/webapp/app/config/error-middleware.ts 2.5 kB {1} [built]\r\n       [] -> factory:596ms building:84ms = 680ms\r\n[./src/main/webapp/app/config/logger-middleware.ts] ./src/main/webapp/app/config/logger-middleware.ts 1.57 kB {1} [built]\r\n       [] -> factory:598ms building:155ms = 753ms\r\n[./src/main/webapp/app/config/notification-middleware.ts] ./src/main/webapp/app/config/notification-middleware.ts 2.03 kB {1} [built]\r\n       [] -> factory:597ms building:120ms dependencies:1346ms = 2063ms\r\n[./src/main/webapp/app/config/store.ts] ./src/main/webapp/app/config/store.ts 2.85 kB {1} [built]\r\n       [] -> factory:404ms building:112ms dependencies:572ms = 1088ms\r\n[./src/main/webapp/app/index.tsx] ./src/main/webapp/app/index.tsx 2.54 kB {1} [built]\r\n       [] -> factory:89ms building:3158ms = 3247ms\r\n[./src/main/webapp/app/reducers/action-type.util.ts] ./src/main/webapp/app/reducers/action-type.util.ts 1.47 kB {1} [built]\r\n       [] -> factory:345ms building:178ms = 523ms\r\n[./src/main/webapp/app/reducers/authentication.ts] ./src/main/webapp/app/reducers/authentication.ts 9.02 kB {1} [built]\r\n       [] -> factory:405ms building:365ms dependencies:1394ms = 2164ms\r\n[./src/main/webapp/app/reducers/index.ts] ./src/main/webapp/app/reducers/index.ts 1.65 kB {1} [built]\r\n       [] -> factory:1696ms building:418ms dependencies:2ms = 2116ms\r\n   [0] multi react-hot-loader/patch ./src/main/webapp/app/index 40 bytes {1} [built]\r\n        factory:0ms building:2ms = 2ms\r\n[./src/main/webapp/app/shared/layout/header/header.tsx] ./src/main/webapp/app/shared/layout/header/header.tsx 9.62 kB {1} [built] [1 warning]\r\n       [] -> factory:312ms building:812ms dependencies:457ms = 1581ms\r\n[./src/main/webapp/app/shared/util/storage-util.ts] ./src/main/webapp/app/shared/util/storage-util.ts 2.55 kB {1} [built]\r\n       [] -> factory:548ms building:229ms = 777ms\r\n    + 1703 hidden modules\r\n\r\nWARNING in ./src/main/webapp/app/shared/layout/header/header.tsx\r\n[58, 98]: Multiple spaces found before ']'.\r\n\r\n @ ./src/main/webapp/app/app.tsx 20:15-55\r\n @ ./src/main/webapp/app/index.tsx\r\n @ multi react-hot-loader/patch ./src/main/webapp/app/index\r\n\r\nERROR in [at-loader] ./src/main/webapp/app/shared/layout/header/header.tsx:46:13\r\n    TS2459: Type 'Readonly<{ children?: ReactNode; }> & Readonly<{}>' has no property 'currentLocale' and no string index signature.\r\n\r\nERROR in [at-loader] ./src/main/webapp/app/shared/layout/header/header.tsx:46:28\r\n    TS2459: Type 'Readonly<{ children?: ReactNode; }> & Readonly<{}>' has no property 'isAuthenticated' and no string index signature.\r\n\r\nERROR in [at-loader] ./src/test/javascript/spec/app/shared/layout/header.spec.tsx:19:17\r\n    TS2339: Property 'isAuthenticated' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Header> & Readonly<{ children?: ReactNode; }> & Re...'.\r\nerror Command failed with exit code 2.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command."},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/347611859","html_url":"https://github.com/jhipster/generator-jhipster/issues/6761#issuecomment-347611859","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/6761","id":347611859,"user":{"login":"romainlouvet","id":4262374,"avatar_url":"https://avatars2.githubusercontent.com/u/4262374?v=4","gravatar_id":"","url":"https://api.github.com/users/romainlouvet","html_url":"https://github.com/romainlouvet","followers_url":"https://api.github.com/users/romainlouvet/followers","following_url":"https://api.github.com/users/romainlouvet/following{/other_user}","gists_url":"https://api.github.com/users/romainlouvet/gists{/gist_id}","starred_url":"https://api.github.com/users/romainlouvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainlouvet/subscriptions","organizations_url":"https://api.github.com/users/romainlouvet/orgs","repos_url":"https://api.github.com/users/romainlouvet/repos","events_url":"https://api.github.com/users/romainlouvet/events{/privacy}","received_events_url":"https://api.github.com/users/romainlouvet/received_events","type":"User","site_admin":false},"created_at":"2017-11-28T18:07:26Z","updated_at":"2017-11-28T18:07:26Z","author_association":"NONE","body":"Step to reproduce:"}}
{"actor":{"display_login":"romainlouvet"}}