{"action":"opened","issue":{"url":"https://api.github.com/repos/vinsol-spree-contrib/spree-on-react/issues/16","repository_url":"https://api.github.com/repos/vinsol-spree-contrib/spree-on-react","labels_url":"https://api.github.com/repos/vinsol-spree-contrib/spree-on-react/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/vinsol-spree-contrib/spree-on-react/issues/16/comments","events_url":"https://api.github.com/repos/vinsol-spree-contrib/spree-on-react/issues/16/events","html_url":"https://github.com/vinsol-spree-contrib/spree-on-react/issues/16","id":244968590,"number":16,"title":"Got errors on fresh npm install ","user":{"login":"OmSolution","id":28776871,"avatar_url":"https://avatars2.githubusercontent.com/u/28776871?v=4","gravatar_id":"","url":"https://api.github.com/users/OmSolution","html_url":"https://github.com/OmSolution","followers_url":"https://api.github.com/users/OmSolution/followers","following_url":"https://api.github.com/users/OmSolution/following{/other_user}","gists_url":"https://api.github.com/users/OmSolution/gists{/gist_id}","starred_url":"https://api.github.com/users/OmSolution/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmSolution/subscriptions","organizations_url":"https://api.github.com/users/OmSolution/orgs","repos_url":"https://api.github.com/users/OmSolution/repos","events_url":"https://api.github.com/users/OmSolution/events{/privacy}","received_events_url":"https://api.github.com/users/OmSolution/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-24T04:20:49Z","updated_at":"2017-07-24T04:20:49Z","closed_at":null,"body":"Failed to compile.\r\n\r\nError in ./src/connected-intl-provider.jsx\r\nModule not found: ./../translations/app-translations.json in /Users/Apple/RAILS_PROJECTS/spree-on-react/src\r\n\r\n @ ./src/connected-intl-provider.jsx 11:23-73\r\n\r\nAfter running npm run build:langs got following errors\r\n\r\nspree-on-react@0.1.0 build:langs /Users/Apple/RAILS_PROJECTS/spree-on-react\r\n> babel-node scripts/translate.js\r\n\r\n/Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328\r\n        throw e;\r\n        ^\r\n\r\nError: Using `babel-preset-react-app` requires that you specify `NODE_ENV` or `BABEL_ENV` environment variables. Valid values are \"development\", \"test\", and \"production\". Instead, received: undefined. (While processing preset: \"/Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-preset-react-app/index.js\")\r\n    at Object.<anonymous> (/Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-preset-react-app/index.js:49:9)\r\n    at Module._compile (module.js:571:32)\r\n    at Module._extensions..js (module.js:580:10)\r\n    at Object.require.extensions.(anonymous function) [as .js] (/Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-register/lib/node.js:152:7)\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 /Users/Apple/RAILS_PROJECTS/spree-on-react/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:296:17\r\n\r\nnpm ERR! Darwin 16.6.0\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"run\" \"build:langs\"\r\nnpm ERR! node v7.3.0\r\nnpm ERR! npm  v4.1.2\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! spree-on-react@0.1.0 build:langs: `babel-node scripts/translate.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the spree-on-react@0.1.0 build:langs script 'babel-node scripts/translate.js'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the spree-on-react package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     babel-node scripts/translate.js\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs spree-on-react\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls spree-on-react\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/Apple/RAILS_PROJECTS/spree-on-react/npm-debug.log"}}
{"actor":{"display_login":"OmSolution"}}