{"action":"created","issue":{"url":"https://api.github.com/repos/babel/grunt-babel/issues/91","repository_url":"https://api.github.com/repos/babel/grunt-babel","labels_url":"https://api.github.com/repos/babel/grunt-babel/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/babel/grunt-babel/issues/91/comments","events_url":"https://api.github.com/repos/babel/grunt-babel/issues/91/events","html_url":"https://github.com/babel/grunt-babel/issues/91","id":321275136,"number":91,"title":"Warning: Couldn't find preset \"env\" relative to directory","user":{"login":"essteffan","id":423842,"avatar_url":"https://avatars1.githubusercontent.com/u/423842?v=4","gravatar_id":"","url":"https://api.github.com/users/essteffan","html_url":"https://github.com/essteffan","followers_url":"https://api.github.com/users/essteffan/followers","following_url":"https://api.github.com/users/essteffan/following{/other_user}","gists_url":"https://api.github.com/users/essteffan/gists{/gist_id}","starred_url":"https://api.github.com/users/essteffan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essteffan/subscriptions","organizations_url":"https://api.github.com/users/essteffan/orgs","repos_url":"https://api.github.com/users/essteffan/repos","events_url":"https://api.github.com/users/essteffan/events{/privacy}","received_events_url":"https://api.github.com/users/essteffan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-08T17:23:00Z","updated_at":"2018-05-08T17:25:04Z","closed_at":null,"author_association":"NONE","body":"Hi Guys\r\nI need to use babel in one project and I've installed and i get this error when running grunt (edited)\r\nWarning: Couldn't find preset \"env\" relative to directory \"/Users/essteffan/Sites/div//live..ro/web\" Use --force to continue.\r\n\r\nI'm using Grunt \r\n\r\nand i have a concat before babel and after i have an uglify\r\n\r\nMy babel config is:\r\n\r\n babel: {\r\n            options: {\r\n                sourceMap: true,\r\n                presets: ['@babel/preset-env']\r\n            },\r\n            dist: {\r\n                files: {\r\n                    '../js/app.min.js': '../js/app.js'\r\n                }\r\n            }\r\n        },\r\n\r\nIf i comment this line i have no errors:  '../js/app.min.js': '../js/app.js'\r\nSomehow i thing around there is the problem.\r\n\r\nCould you please advice how to make it work?"},"comment":{"url":"https://api.github.com/repos/babel/grunt-babel/issues/comments/387478606","html_url":"https://github.com/babel/grunt-babel/issues/91#issuecomment-387478606","issue_url":"https://api.github.com/repos/babel/grunt-babel/issues/91","id":387478606,"user":{"login":"xtuc","id":1493671,"avatar_url":"https://avatars3.githubusercontent.com/u/1493671?v=4","gravatar_id":"","url":"https://api.github.com/users/xtuc","html_url":"https://github.com/xtuc","followers_url":"https://api.github.com/users/xtuc/followers","following_url":"https://api.github.com/users/xtuc/following{/other_user}","gists_url":"https://api.github.com/users/xtuc/gists{/gist_id}","starred_url":"https://api.github.com/users/xtuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtuc/subscriptions","organizations_url":"https://api.github.com/users/xtuc/orgs","repos_url":"https://api.github.com/users/xtuc/repos","events_url":"https://api.github.com/users/xtuc/events{/privacy}","received_events_url":"https://api.github.com/users/xtuc/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T17:25:04Z","updated_at":"2018-05-08T17:25:04Z","author_association":"MEMBER","body":"Could you please also share you package.json? have you installed `@babel/preset-env`?"}}
{"actor":{"display_login":"xtuc"}}