{"action":"created","issue":{"url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/41","repository_url":"https://api.github.com/repos/shakacode/bootstrap-loader","labels_url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/41/comments","events_url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/41/events","html_url":"https://github.com/shakacode/bootstrap-loader/issues/41","id":132929752,"number":41,"title":" Cannot find module './lib/bootstrap.loader!./no-op.js' when using on server","user":{"login":"okendoken","id":1212194,"avatar_url":"https://avatars.githubusercontent.com/u/1212194?v=3","gravatar_id":"","url":"https://api.github.com/users/okendoken","html_url":"https://github.com/okendoken","followers_url":"https://api.github.com/users/okendoken/followers","following_url":"https://api.github.com/users/okendoken/following{/other_user}","gists_url":"https://api.github.com/users/okendoken/gists{/gist_id}","starred_url":"https://api.github.com/users/okendoken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okendoken/subscriptions","organizations_url":"https://api.github.com/users/okendoken/orgs","repos_url":"https://api.github.com/users/okendoken/repos","events_url":"https://api.github.com/users/okendoken/events{/privacy}","received_events_url":"https://api.github.com/users/okendoken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-11T09:53:33Z","updated_at":"2016-02-19T13:16:13Z","closed_at":null,"body":"When using bootstrap loader on a server getting the following error:\r\n\r\n```\r\nError: Cannot find module './lib/bootstrap.loader!./no-op.js'\r\n    at Function.Module._resolveFilename (module.js:326:15)\r\n    at Function.Module._load (module.js:277:25)\r\n    at Module.require (module.js:354:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (d:\\projects\\react-dashboard\\node_modules\\bootstrap-loader\\loader.js:1:1)\r\n    at Module._compile (module.js:398:26)\r\n    at Object.Module._extensions..js (module.js:405:10)\r\n    at Module.load (module.js:344:32)\r\n    at Function.Module._load (module.js:301:12)\r\n    at Module.require (module.js:354:17)\r\n```\r\n\r\nAdding bootstrap-loader to an entry point does not work:\r\n\r\n    entry: ['bootstrap-loader', './src/client.js'],\r\n\r\nRefs: https://github.com/kriasoft/react-starter-kit/issues/179"},"comment":{"url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/comments/186208995","html_url":"https://github.com/shakacode/bootstrap-loader/issues/41#issuecomment-186208995","issue_url":"https://api.github.com/repos/shakacode/bootstrap-loader/issues/41","id":186208995,"user":{"login":"jenyckee","id":1511148,"avatar_url":"https://avatars.githubusercontent.com/u/1511148?v=3","gravatar_id":"","url":"https://api.github.com/users/jenyckee","html_url":"https://github.com/jenyckee","followers_url":"https://api.github.com/users/jenyckee/followers","following_url":"https://api.github.com/users/jenyckee/following{/other_user}","gists_url":"https://api.github.com/users/jenyckee/gists{/gist_id}","starred_url":"https://api.github.com/users/jenyckee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenyckee/subscriptions","organizations_url":"https://api.github.com/users/jenyckee/orgs","repos_url":"https://api.github.com/users/jenyckee/repos","events_url":"https://api.github.com/users/jenyckee/events{/privacy}","received_events_url":"https://api.github.com/users/jenyckee/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T13:16:13Z","updated_at":"2016-02-19T13:16:13Z","body":"I didn't used to but now I get an error about the babel polyfill missing too. However, this is the full output\r\n\r\n```\r\n\r\n> webpack@0.0.1 start /Users/jenyckee/Appstrakt/frontend-standard-webpack\r\n> node .\r\n\r\n[BS] Access URLs:\r\n --------------------------------------\r\n       Local: http://localhost:3000\r\n --------------------------------------\r\n          UI: http://localhost:3001\r\n --------------------------------------\r\n[BS] Serving files from: app\r\n[BS] Watching files...\r\nwebpack: wait until bundle finished: /\r\nwebpack built ad3dff1f409531bb2031 in 1357ms\r\nHash: ad3dff1f409531bb2031\r\nVersion: webpack 1.12.13\r\nTime: 1357ms\r\n     Asset       Size  Chunks             Chunk Names\r\n   main.js    12.2 kB       0  [emitted]  main\r\nindex.html  331 bytes          [emitted]  \r\nchunk    {0} main.js (main) 10 kB [rendered]\r\n    [0] multi main 52 bytes {0} [built] [1 error]\r\n    [1] ./~/bootstrap-loader/loader.js 46 bytes {0} [built] [1 error]\r\n    [2] ./~/css-loader!./~/sass-loader!./app/css/main.scss 185 bytes {0} [built]\r\n    [3] ./~/css-loader/lib/css-base.js 1.51 kB {0} [built]\r\n    [4] ./~/style-loader/addStyles.js 7.21 kB {0} [built]\r\n    [5] ./app/css/main.scss 1.04 kB {0} [built]\r\n\r\nERROR in multi main\r\nModule not found: Error: Cannot resolve module 'babel' in /Users/jenyckee/Appstrakt/frontend-standard-webpack\r\n @ multi main\r\n\r\nERROR in \r\n      For Node <= v0.12.x Babel polyfill is required.\r\n      Make sure it's installed in your 'node_modules/' directory.\r\n    \r\n @ ./~/bootstrap-loader/loader.js 1:0-44\r\nChild html-webpack-plugin for \"index.html\":\r\n         Asset    Size  Chunks       Chunk Names\r\n    index.html  426 kB       0       \r\n    chunk    {0} index.html 412 kB [rendered]\r\n        [0] ./~/html-webpack-plugin/lib/loader.js!./app/index.ejs 546 bytes {0} [built]\r\n        [1] ./~/html-webpack-plugin/~/lodash/index.js 411 kB {0} [built]\r\n        [2] (webpack)/buildin/module.js 251 bytes {0} [built]\r\nwebpack: bundle is now VALID.\r\n\r\n```\r\n"}}