{"action":"created","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1410","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1410/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1410/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1410/events","html_url":"https://github.com/phoenixframework/phoenix/issues/1410","id":122637710,"number":1410,"title":"Compiling of 'web/static/js/app.js' failed due to \"es2015\"","user":{"login":"conradwt","id":20219,"avatar_url":"https://avatars.githubusercontent.com/u/20219?v=3","gravatar_id":"","url":"https://api.github.com/users/conradwt","html_url":"https://github.com/conradwt","followers_url":"https://api.github.com/users/conradwt/followers","following_url":"https://api.github.com/users/conradwt/following{/other_user}","gists_url":"https://api.github.com/users/conradwt/gists{/gist_id}","starred_url":"https://api.github.com/users/conradwt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/conradwt/subscriptions","organizations_url":"https://api.github.com/users/conradwt/orgs","repos_url":"https://api.github.com/users/conradwt/repos","events_url":"https://api.github.com/users/conradwt/events{/privacy}","received_events_url":"https://api.github.com/users/conradwt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phoenixframework/phoenix/labels/kind:open%20for%20guidance","name":"kind:open for guidance","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":42,"created_at":"2015-12-17T00:51:06Z","updated_at":"2015-12-29T08:44:14Z","closed_at":null,"body":"For context, I'm working through the example on page 37 of \"Programming Phoenix\" PDF section \"Creating the Project\".  In order to reproduce this issue, I performed the following:\r\n\r\n```\r\n$ mix phoenix.new rumbl\r\n\r\nFetch and install dependencies? [Yn] y\r\n* running npm install && node node_modules/brunch/bin/brunch build * running mix deps.get\r\nWe are all set! Run your Phoenix application:\r\n    $ cd rumbl\r\n    $ mix ecto.create\r\n    $ mix phoenix.server\r\n```\r\n\r\nError\r\n\r\n```\r\n[info] Running Rumbl.Endpoint with Cowboy on http://localhost:4000\r\n16 Dec 16:39:59 - error: Compiling of 'web/static/js/app.js' failed. Couldn't find preset \"es2015\" relative to directory \"web/static/js\" ; Compiling of 'web/static/js/socket.js' failed. Couldn't find preset \"es2015\" relative to directory \"web/static/js\" ; Compiling of 'deps/phoenix/web/static/js/phoenix.js' failed. Couldn't find preset \"es2015\" relative to directory \"deps/phoenix/web/static/js\" ; Compiling of 'deps/phoenix_html/web/static/js/phoenix_html.js' failed. Couldn't find preset \"es2015\" relative to directory \"deps/phoenix_html/web/static/js\"\r\n```\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/comments/167747000","html_url":"https://github.com/phoenixframework/phoenix/issues/1410#issuecomment-167747000","issue_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1410","id":167747000,"user":{"login":"danschultz","id":37429,"avatar_url":"https://avatars.githubusercontent.com/u/37429?v=3","gravatar_id":"","url":"https://api.github.com/users/danschultz","html_url":"https://github.com/danschultz","followers_url":"https://api.github.com/users/danschultz/followers","following_url":"https://api.github.com/users/danschultz/following{/other_user}","gists_url":"https://api.github.com/users/danschultz/gists{/gist_id}","starred_url":"https://api.github.com/users/danschultz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danschultz/subscriptions","organizations_url":"https://api.github.com/users/danschultz/orgs","repos_url":"https://api.github.com/users/danschultz/repos","events_url":"https://api.github.com/users/danschultz/events{/privacy}","received_events_url":"https://api.github.com/users/danschultz/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T08:44:14Z","updated_at":"2015-12-29T08:44:14Z","body":"@paulmillr setting npm enabled to false reverts back to the original error\r\n\r\n```\r\nerror: Compiling of '../../deps/phoenix/web/static/js/phoenix.js' failed. Couldn't find preset \"es2015\" relative to directory \"../../deps/phoenix/web/static/js\" ; Compiling of '../../deps/phoenix_html/web/static/js/phoenix_html.js' failed. Couldn't find preset \"es2015\" relative to directory \"../../deps/phoenix_html/web/static/js\"\r\n```"}}