{"action":"created","issue":{"url":"https://api.github.com/repos/css-modules/css-modules-loader-core/issues/16","labels_url":"https://api.github.com/repos/css-modules/css-modules-loader-core/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/css-modules/css-modules-loader-core/issues/16/comments","events_url":"https://api.github.com/repos/css-modules/css-modules-loader-core/issues/16/events","html_url":"https://github.com/css-modules/css-modules-loader-core/issues/16","id":100607551,"number":16,"title":"Completely Fails on Windows","user":{"login":"joezimjs","id":1313898,"avatar_url":"https://avatars.githubusercontent.com/u/1313898?v=3","gravatar_id":"","url":"https://api.github.com/users/joezimjs","html_url":"https://github.com/joezimjs","followers_url":"https://api.github.com/users/joezimjs/followers","following_url":"https://api.github.com/users/joezimjs/following{/other_user}","gists_url":"https://api.github.com/users/joezimjs/gists{/gist_id}","starred_url":"https://api.github.com/users/joezimjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joezimjs/subscriptions","organizations_url":"https://api.github.com/users/joezimjs/orgs","repos_url":"https://api.github.com/users/joezimjs/repos","events_url":"https://api.github.com/users/joezimjs/events{/privacy}","received_events_url":"https://api.github.com/users/joezimjs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-12T18:37:28Z","updated_at":"2015-10-28T21:27:10Z","closed_at":null,"body":"I tried using css-modulesify and it kept having issues with loading my files. I traced the issues back to this project. I cloned the repo and ran the tests and every single one failed. It keeps injecting `C:\\C:\\` into the file path where it thinks the \"root\" is (that's how it appears to me anyway).\r\n\r\n**Full Test Output:**\r\n```\r\n> css-modules-loader-core@0.0.12 test C:\\Users\\u659408\\localhost\\css-modules-loader-core\r\n> mocha --compilers js:babel/register\r\n\r\n\r\n\r\n  test-cases\r\n    1) should compose node module\r\n    2) should localise export\r\n{ [Error: ENOENT, open 'C:\\Users\\u659408\\localhost\\css-modules-loader-core\\test\\test-cases\\C:\\C:\\multiple-dependencies\\b.css']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  path: 'C:\\\\Users\\\\u659408\\\\localhost\\\\css-modules-loader-core\\\\test\\\\test-cases\\\\C:\\\\C:\\\\multiple-dependencies\\\\b.css' }\r\n{ [Error: ENOENT, open 'C:\\Users\\u659408\\localhost\\css-modules-loader-core\\test\\test-cases\\C:\\C:\\multiple-dependencies\\c.css']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  path: 'C:\\\\Users\\\\u659408\\\\localhost\\\\css-modules-loader-core\\\\test\\\\test-cases\\\\C:\\\\C:\\\\multiple-dependencies\\\\c.css' }\r\n    3) should multiple dependencies\r\n    4) should simple export\r\n{ [Error: ENOENT, open 'C:\\Users\\u659408\\localhost\\css-modules-loader-core\\test\\test-cases\\C:\\C:\\single-import-export\\colors.css']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  path: 'C:\\\\Users\\\\u659408\\\\localhost\\\\css-modules-loader-core\\\\test\\\\test-cases\\\\C:\\\\C:\\\\single-import-export\\\\colors.css' }\r\n    5) should single import export\r\n\r\n  cssi\r\n{ [Error: ENOENT, open 'C:\\Users\\u659408\\localhost\\css-modules-loader-core\\test\\cssi\\C:\\C:\\interchange-format\\colors.css']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  path: 'C:\\\\Users\\\\u659408\\\\localhost\\\\css-modules-loader-core\\\\test\\\\cssi\\\\C:\\\\C:\\\\interchange-format\\\\colors.css' }\r\n    6) should interchange format\r\n{ [Error: ENOENT, open 'C:\\Users\\u659408\\localhost\\css-modules-loader-core\\test\\cssi\\C:\\C:\\pseudo-variables\\colors.css']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  path: 'C:\\\\Users\\\\u659408\\\\localhost\\\\css-modules-loader-core\\\\test\\\\cssi\\\\C:\\\\C:\\\\pseudo-variables\\\\colors.css' }\r\n    7) should pseudo variables\r\n\r\n  multiple sources\r\n{ [Error: ENOENT, open 'C:\\Users\\u659408\\localhost\\css-modules-loader-core\\test\\test-cases\\C:\\C:\\multiple-sources\\b.css']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  path: 'C:\\\\Users\\\\u659408\\\\localhost\\\\css-modules-loader-core\\\\test\\\\test-cases\\\\C:\\\\C:\\\\multiple-sources\\\\b.css' }\r\n{ [Error: ENOENT, open 'C:\\Users\\u659408\\localhost\\css-modules-loader-core\\test\\test-cases\\C:\\C:\\multiple-sources\\c.css']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  path: 'C:\\\\Users\\\\u659408\\\\localhost\\\\css-modules-loader-core\\\\test\\\\test-cases\\\\C:\\\\C:\\\\multiple-sources\\\\c.css' }\r\n{ [Error: ENOENT, open 'C:\\Users\\u659408\\localhost\\css-modules-loader-core\\test\\test-cases\\C:\\C:\\multiple-sources\\b.css']\r\n  errno: -4058,\r\n  code: 'ENOENT',\r\n  path: 'C:\\\\Users\\\\u659408\\\\localhost\\\\css-modules-loader-core\\\\test\\\\test-cases\\\\C:\\\\C:\\\\multiple-sources\\\\b.css' }\r\n    8) should multiple sources\r\n\r\n\r\n  0 passing (251ms)\r\n  8 failing\r\n\r\n  1) test-cases should compose node module:\r\n\r\n      AssertionError: '._C_C_C_compose_node_module_cool_styles_foo__example {\\n  color: #F00;\\n}\\n._C_C_compose_node_module_source__foo {\\n}\\n' == '._compose_node_module_cool_styles_foo__example {\\n  color: #F00;\\n}\\n._compose_node_module_source__foo {\\n}\\n'\r\n      + expected - actual\r\n\r\n      -._C_C_C_compose_node_module_cool_styles_foo__example {\r\n      +._compose_node_module_cool_styles_foo__example {\r\n         color: #F00;\r\n       }\r\n      -._C_C_compose_node_module_source__foo {\r\n      +._compose_node_module_source__foo {\r\n       }\r\n\r\n      at C:/Users/u659408/localhost/css-modules-loader-core/test/test-cases.js:27:20\r\n\r\n  2) test-cases should localise export:\r\n\r\n      AssertionError: '._C_C_localise_export_source__one {\\n  color: red;\\n}\\n._C_C_localise_export_source__two {\\n  color: green;\\n}\\n._C_C_localise_ == '._localise_export_source__one {\\n\r\ncolor: red;\\n}\\n._localise_export_source__two {\\n  color: green;\\n}\\n._localise_export_sourc\r\n      + expected - actual\r\n\r\n      -._C_C_localise_export_source__one {\r\n      +._localise_export_source__one {\r\n         color: red;\r\n       }\r\n      -._C_C_localise_export_source__two {\r\n      +._localise_export_source__two {\r\n         color: green;\r\n       }\r\n      -._C_C_localise_export_source__three {\r\n      +._localise_export_source__three {\r\n         color: blue;\r\n       }\r\n\r\n      at C:/Users/u659408/localhost/css-modules-loader-core/test/test-cases.js:27:20\r\n\r\n  3) test-cases should multiple dependencies:\r\n\r\n      AssertionError: ':import(\"./b.css\") {\\n  i__imported_b1_0: b1;\\n  i__imported_b2_1: b2;\\n}\\n:import(\"./c.css\") {\\n  i__imported_c_2: c;\\n}\\n._C_ == '._multiple_dependencies_d__d1 {\\n\r\ncolor: #d1d1d1;\\n}\\n._multiple_dependencies_d__d2 {\\n  color: #d2d2d2;\\n}\\n._multiple_depend\r\n      + expected - actual\r\n\r\n      -:import(\"./b.css\") {\r\n      -  i__imported_b1_0: b1;\r\n      -  i__imported_b2_1: b2;\r\n      +._multiple_dependencies_d__d1 {\r\n      +  color: #d1d1d1;\r\n       }\r\n      -:import(\"./c.css\") {\r\n      -  i__imported_c_2: c;\r\n      +._multiple_dependencies_d__d2 {\r\n      +  color: #d2d2d2;\r\n       }\r\n      -._C_C_multiple_dependencies_source__a {\r\n      +._multiple_dependencies_b__b1 {\r\n      +  color: #b1b1b1;\r\n      +}\r\n      +\r\n      +._multiple_dependencies_b__b2 {\r\n      +  color: #b2b2b2;\r\n      +}\r\n      +._multiple_dependencies_c__c {\r\n      +  color: #ccc;\r\n      +}\r\n      +._multiple_dependencies_source__a {\r\n         color: #aaa;\r\n       }\r\n\r\n\r\n      at C:/Users/u659408/localhost/css-modules-loader-core/test/test-cases.js:27:20\r\n\r\n  4) test-cases should simple export:\r\n\r\n      AssertionError: '._C_C_simple_export_source__localName {\\n  color: red;\\n}\\n\\n._C_C_simple_export_source__localName:hover {\\n  color: blue;\\n}\\n == '._simple_export_source__localName {\\n  color: red;\\n}\\n\\n._simple_export_source__localName:hover {\\n  color: blue;\\n}\\n'\r\n      + expected - actual\r\n\r\n      -._C_C_simple_export_source__localName {\r\n      +._simple_export_source__localName {\r\n         color: red;\r\n       }\r\n\r\n      -._C_C_simple_export_source__localName:hover {\r\n      +._simple_export_source__localName:hover {\r\n         color: blue;\r\n       }\r\n\r\n      at C:/Users/u659408/localhost/css-modules-loader-core/test/test-cases.js:27:20\r\n\r\n  5) test-cases should single import export:\r\n\r\n      AssertionError: ':import(\"./colors.css\") {\\n  i__imported_blackShadow_0: blackShadow;\\n\r\ni__imported_redBorder_1: redBorder;\\n}\\n._C_C_single_im == '._single_import_export_colors__blackShadow {\\n  box-shadow: 0 0 10px -2px black;\\n}\\n\\n._single_import_export_colors__redBorder\r\n      + expected - actual\r\n\r\n      -:import(\"./colors.css\") {\r\n      -  i__imported_blackShadow_0: blackShadow;\r\n      -  i__imported_redBorder_1: redBorder;\r\n      +._single_import_export_colors__blackShadow {\r\n      +  box-shadow: 0 0 10px -2px black;\r\n       }\r\n      -._C_C_single_import_export_source__localName {\r\n      +\r\n      +._single_import_export_colors__redBorder {\r\n      +  border: 1px solid red;\r\n      +}\r\n      +._single_import_export_source__localName {\r\n         color: red;\r\n       }\r\n\r\n      at C:/Users/u659408/localhost/css-modules-loader-core/test/test-cases.js:27:20\r\n\r\n  6) cssi should interchange format:\r\n\r\n      AssertionError: ':import(\"./colors.css\") {\\n  i__tmp_import_djhgdsag: blackShadow;\\n}\\n\\n.x__single_import_export_source__localName {\\n  color:  == '.x__single_import_export_colors__blackShadow {\\n  box-shadow: 0 0 10px -2px black;\\n}\\n.x__single_import_export_source__localNa\r\n      + expected - actual\r\n\r\n      -:import(\"./colors.css\") {\r\n      -  i__tmp_import_djhgdsag: blackShadow;\r\n      +.x__single_import_export_colors__blackShadow {\r\n      +  box-shadow: 0 0 10px -2px black;\r\n       }\r\n      -\r\n       .x__single_import_export_source__localName {\r\n         color: red;\r\n       }\r\n\r\n      at C:/Users/u659408/localhost/css-modules-loader-core/test/test-cases.js:27:20\r\n\r\n  7) cssi should pseudo variables:\r\n\r\n      AssertionError: ':import(\"./colors.css\") {\\n  i__black: black;\\n  i__white: white;\\n}\\n\\n.x__lol {\\n  color: i__black;\\n  background: i__white;\\ == '\\n.x__lol {\\n  color: #222;\\n  background: #ddd;\\n}\\n'\r\n      + expected - actual\r\n\r\n      -:import(\"./colors.css\") {\r\n      -  i__black: black;\r\n      -  i__white: white;\r\n      -}\r\n\r\n       .x__lol {\r\n      -  color: i__black;\r\n      -  background: i__white;\r\n      +  color: #222;\r\n      +  background: #ddd;\r\n       }\r\n\r\n      at C:/Users/u659408/localhost/css-modules-loader-core/test/test-cases.js:27:20\r\n\r\n  8) multiple sources should multiple sources:\r\n\r\n      AssertionError: ':import(\"./b.css\") {\\n  i__imported_b_0: b;\\n}\\n:import(\"./c.css\") {\\n\r\ni__imported_c_1: c;\\n}\\n._C_C_multiple_sources_source1_ == '._multiple_sources_d__d {\\n  color: #ddd;\\n}\\n._multiple_sources_b__b {\\n  color: #bbb;\\n}\\n._multiple_sources_c__c {\\n  color:\r\n      + expected - actual\r\n\r\n      -:import(\"./b.css\") {\r\n      -  i__imported_b_0: b;\r\n      +._multiple_sources_d__d {\r\n      +  color: #ddd;\r\n       }\r\n      -:import(\"./c.css\") {\r\n      -  i__imported_c_1: c;\r\n      +._multiple_sources_b__b {\r\n      +  color: #bbb;\r\n       }\r\n      -._C_C_multiple_sources_source1__a {\r\n      +._multiple_sources_c__c {\r\n      +  color: #ccc;\r\n      +}\r\n      +._multiple_sources_source1__a {\r\n         color: #aaa;\r\n       }\r\n      -:import(\"./b.css\") {\r\n      -  i__imported_b_0: b;\r\n      -}\r\n      -._C_C_multiple_sources_source2__foo {\r\n      +._multiple_sources_source2__foo {\r\n         color: #f00;\r\n       }\r\n\r\n      at C:/Users/u659408/localhost/css-modules-loader-core/test/test-cases.js:48:18\r\n```"},"comment":{"url":"https://api.github.com/repos/css-modules/css-modules-loader-core/issues/comments/151996713","html_url":"https://github.com/css-modules/css-modules-loader-core/issues/16#issuecomment-151996713","issue_url":"https://api.github.com/repos/css-modules/css-modules-loader-core/issues/16","id":151996713,"user":{"login":"tivac","id":49545,"avatar_url":"https://avatars.githubusercontent.com/u/49545?v=3","gravatar_id":"","url":"https://api.github.com/users/tivac","html_url":"https://github.com/tivac","followers_url":"https://api.github.com/users/tivac/followers","following_url":"https://api.github.com/users/tivac/following{/other_user}","gists_url":"https://api.github.com/users/tivac/gists{/gist_id}","starred_url":"https://api.github.com/users/tivac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tivac/subscriptions","organizations_url":"https://api.github.com/users/tivac/orgs","repos_url":"https://api.github.com/users/tivac/repos","events_url":"https://api.github.com/users/tivac/events{/privacy}","received_events_url":"https://api.github.com/users/tivac/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T21:27:10Z","updated_at":"2015-10-28T21:27:10Z","body":"Any news on this? @geelen? @sullenor?"}}