{"action":"created","issue":{"url":"https://api.github.com/repos/telegraf/telegraf/issues/511","repository_url":"https://api.github.com/repos/telegraf/telegraf","labels_url":"https://api.github.com/repos/telegraf/telegraf/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/telegraf/telegraf/issues/511/comments","events_url":"https://api.github.com/repos/telegraf/telegraf/issues/511/events","html_url":"https://github.com/telegraf/telegraf/issues/511","id":361210292,"node_id":"MDU6SXNzdWUzNjEyMTAyOTI=","number":511,"title":"Warning during babel compilation with webpack-dev-server","user":{"login":"SwiTool","id":8834915,"node_id":"MDQ6VXNlcjg4MzQ5MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/8834915?v=4","gravatar_id":"","url":"https://api.github.com/users/SwiTool","html_url":"https://github.com/SwiTool","followers_url":"https://api.github.com/users/SwiTool/followers","following_url":"https://api.github.com/users/SwiTool/following{/other_user}","gists_url":"https://api.github.com/users/SwiTool/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiTool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiTool/subscriptions","organizations_url":"https://api.github.com/users/SwiTool/orgs","repos_url":"https://api.github.com/users/SwiTool/repos","events_url":"https://api.github.com/users/SwiTool/events{/privacy}","received_events_url":"https://api.github.com/users/SwiTool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-18T09:17:11Z","updated_at":"2018-09-19T09:46:50Z","closed_at":null,"author_association":"NONE","body":"## Context\r\n\r\nTested on OSX 10.13.1: no problems\r\nTested on W10 : prevents the app from starting (with webpack-dev-server)\r\n\r\n* Telegraf.js Version: ^3.23.1\r\n* Node.js Version: 8.7.0\r\n* Operating System: Windows 10\r\n\r\n## Expected Behavior\r\n\r\nThere should not be any warning during babel compilation\r\n\r\n## Current Behavior\r\n\r\nI get a warning. My app is locked from starting on Windows.\r\n\r\n## Failure Information\r\n\r\n```\r\n  WARNING in ./node_modules/encoding/lib/iconv-loader.js\r\n  9:12-34 Critical dependency: the request of a dependency is an expression\r\n   @ ./node_modules/encoding/lib/iconv-loader.js\r\n   @ ./node_modules/encoding/lib/encoding.js\r\n   @ ./node_modules/node-fetch/lib/index.mjs\r\n   @ ./node_modules/telegraf/core/network/client.js\r\n   @ ./node_modules/telegraf/telegram.js\r\n   @ ./node_modules/telegraf/telegraf.js\r\n   @ ./src/renderer/main/bot/util/Notifications/Telegram.js\r\n   @ ./src/renderer/main/bot/Bot.js\r\n   @ ./src/renderer/main/app/App.js\r\n   @ ./src/renderer/main/index.js\r\n   @ ./src/renderer/index.js\r\n   @ multi (webpack)-dev-server/client?http://localhost:9080 webpack/hot/dev-server ./src/renderer/index.js\r\n\r\n┏ Renderer -------------------\r\n\r\n  webpack: Compiled with warnings.\r\n\r\n┗ ----------------------------\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\nJust : \r\n```javascript\r\nconst Telegraf = require('telegraf')\r\n```\r\nproduces the error.\r\n"},"comment":{"url":"https://api.github.com/repos/telegraf/telegraf/issues/comments/422732588","html_url":"https://github.com/telegraf/telegraf/issues/511#issuecomment-422732588","issue_url":"https://api.github.com/repos/telegraf/telegraf/issues/511","id":422732588,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjczMjU4OA==","user":{"login":"SwiTool","id":8834915,"node_id":"MDQ6VXNlcjg4MzQ5MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/8834915?v=4","gravatar_id":"","url":"https://api.github.com/users/SwiTool","html_url":"https://github.com/SwiTool","followers_url":"https://api.github.com/users/SwiTool/followers","following_url":"https://api.github.com/users/SwiTool/following{/other_user}","gists_url":"https://api.github.com/users/SwiTool/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiTool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiTool/subscriptions","organizations_url":"https://api.github.com/users/SwiTool/orgs","repos_url":"https://api.github.com/users/SwiTool/repos","events_url":"https://api.github.com/users/SwiTool/events{/privacy}","received_events_url":"https://api.github.com/users/SwiTool/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T09:46:50Z","updated_at":"2018-09-19T09:46:50Z","author_association":"NONE","body":"Edit for the first post : it does not work either on OSX, I just had the window opened and it just refreshed fine. But if I totally close my program and compile it again, it does not run at all, just waiting at \"Compiled with warnings\"."}}
{"actor":{"display_login":"SwiTool"}}