{"action":"created","issue":{"url":"https://api.github.com/repos/lovell/sharp/issues/710","repository_url":"https://api.github.com/repos/lovell/sharp","labels_url":"https://api.github.com/repos/lovell/sharp/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/lovell/sharp/issues/710/comments","events_url":"https://api.github.com/repos/lovell/sharp/issues/710/events","html_url":"https://github.com/lovell/sharp/issues/710","id":207077518,"number":710,"title":"Error: The specified module could not be found.","user":{"login":"novascreen","id":1596280,"avatar_url":"https://avatars.githubusercontent.com/u/1596280?v=3","gravatar_id":"","url":"https://api.github.com/users/novascreen","html_url":"https://github.com/novascreen","followers_url":"https://api.github.com/users/novascreen/followers","following_url":"https://api.github.com/users/novascreen/following{/other_user}","gists_url":"https://api.github.com/users/novascreen/gists{/gist_id}","starred_url":"https://api.github.com/users/novascreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novascreen/subscriptions","organizations_url":"https://api.github.com/users/novascreen/orgs","repos_url":"https://api.github.com/users/novascreen/repos","events_url":"https://api.github.com/users/novascreen/events{/privacy}","received_events_url":"https://api.github.com/users/novascreen/received_events","type":"User","site_admin":false},"labels":[{"id":52750126,"url":"https://api.github.com/repos/lovell/sharp/labels/question","name":"question","color":"fef2c0","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-12T20:48:55Z","updated_at":"2017-02-13T03:22:20Z","closed_at":null,"body":"I'm on Windows 10 Pro (x64), build seems to work, but `require` fails.\r\n```\r\nnpm i sharp\r\n\r\n> sharp@0.17.2 install D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\r\n> node-gyp rebuild\r\n\r\n\r\nD:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp>if not defined npm_config_node_gyp (node \"C:\\Users\\novas\\AppData\\Roaming\\nvm\\v7.3.0\\node_modules\\npm\\bin\\node-gyp-bin\\\\..\\..\\node_modules\\node-gyp\\bin\\node-gyp.js\" rebuild )  else (node \"\" rebuild )\r\nBuilding the projects in this solution one at a time. To enable parallel build, please add the \"/m\" switch.\r\n  VError.cpp\r\n  VInterpolate.cpp\r\n  VImage.cpp\r\n  win_delay_load_hook.cc\r\n     Creating library D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\libvips-cpp.lib and object D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\libvips-cpp.exp\r\n  Generating code\r\n  Finished generating code\r\n  libvips-cpp.vcxproj -> D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\\\libvips-cpp.dll\r\n  libvips-cpp.vcxproj -> D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\libvips-cpp.pdb (Full PDB)\r\n  common.cc\r\n  metadata.cc\r\n  operations.cc\r\n  pipeline.cc\r\n  sharp.cc\r\n  utilities.cc\r\n  win_delay_load_hook.cc\r\n     Creating library D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\sharp.lib and object D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\sharp.exp\r\n  Generating code\r\n  Finished generating code\r\n  sharp.vcxproj -> D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\\\sharp.node\r\n  sharp.vcxproj -> D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\sharp.pdb (Full PDB)\r\n  Copying vendor/lib/libcroco-0.6-3.dll to build/Release\\libcroco-0.6-3.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libfreetype-6.dll to build/Release\\libfreetype-6.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libcairo-2.dll to build/Release\\libcairo-2.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libexif-12.dll to build/Release\\libexif-12.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libgdk_pixbuf-2.0-0.dll to build/Release\\libgdk_pixbuf-2.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libtiff-5.dll to build/Release\\libtiff-5.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/liblcms2-2.dll to build/Release\\liblcms2-2.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libcairo-gobject-2.dll to build/Release\\libcairo-gobject-2.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libgif-7.dll to build/Release\\libgif-7.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libxml2-2.dll to build/Release\\libxml2-2.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libiconv-2.dll to build/Release\\libiconv-2.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libjpeg-62.dll to build/Release\\libjpeg-62.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libglib-2.0-0.dll to build/Release\\libglib-2.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libfftw3-3.dll to build/Release\\libfftw3-3.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libcairo-script-interpreter-2.dll to build/Release\\libcairo-script-interpreter-2.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libgmodule-2.0-0.dll to build/Release\\libgmodule-2.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libwebp-6.dll to build/Release\\libwebp-6.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libgthread-2.0-0.dll to build/Release\\libgthread-2.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libfontconfig-1.dll to build/Release\\libfontconfig-1.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/librsvg-2-2.dll to build/Release\\librsvg-2-2.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/GNU.Gettext.dll to build/Release\\GNU.Gettext.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/zlib1.dll to build/Release\\zlib1.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libstdc++-6.dll to build/Release\\libstdc++-6.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libasprintf-0.dll to build/Release\\libasprintf-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libgobject-2.0-0.dll to build/Release\\libgobject-2.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libgio-2.0-0.dll to build/Release\\libgio-2.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libgcc_s_seh-1.dll to build/Release\\libgcc_s_seh-1.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libquadmath-0.dll to build/Release\\libquadmath-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libintl-8.dll to build/Release\\libintl-8.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libpng16-16.dll to build/Release\\libpng16-16.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libpango-1.0-0.dll to build/Release\\libpango-1.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libpixman-1-0.dll to build/Release\\libpixman-1-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libcharset-1.dll to build/Release\\libcharset-1.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libpangocairo-1.0-0.dll to build/Release\\libpangocairo-1.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libvips-42.dll to build/Release\\libvips-42.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libgsf-1-114.dll to build/Release\\libgsf-1-114.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libpangowin32-1.0-0.dll to build/Release\\libpangowin32-1.0-0.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libffi-6.dll to build/Release\\libffi-6.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libexpat-1.dll to build/Release\\libexpat-1.dll\r\n          1 file(s) copied.\r\n  Copying vendor/lib/libssp-0.dll to build/Release\\libssp-0.dll\r\n          1 file(s) copied.\r\nAspnetcoreSpa@0.0.0 D:\\Code\\novascreen\\aspnetcore-spa\r\n`-- sharp@0.17.2\r\n  `-- color@1.0.3\r\n    `-- color-string@1.4.0\r\n\r\nnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\\chokidar\\node_modules\\fsevents):\r\nnpm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {\"os\":\"darwin\",\"arch\":\"any\"} (current: {\"os\":\"win32\",\"arch\":\"x64\"})\r\nnpm WARN AspnetcoreSpa@0.0.0 No description\r\nnpm WARN AspnetcoreSpa@0.0.0 No repository field.\r\nnpm WARN AspnetcoreSpa@0.0.0 No license field.\r\n```\r\n```\r\nnode\r\n> require('sharp')\r\nError: The specified module could not be found.\r\n\\\\?\\D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\build\\Release\\sharp.node\r\n    at Object.Module._extensions..node (module.js:598:18)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (D:\\Code\\novascreen\\aspnetcore-spa\\node_modules\\sharp\\lib\\constructor.js:8:15)\r\n    at Module._compile (module.js:571:32)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/lovell/sharp/issues/comments/279285914","html_url":"https://github.com/lovell/sharp/issues/710#issuecomment-279285914","issue_url":"https://api.github.com/repos/lovell/sharp/issues/710","id":279285914,"user":{"login":"novascreen","id":1596280,"avatar_url":"https://avatars.githubusercontent.com/u/1596280?v=3","gravatar_id":"","url":"https://api.github.com/users/novascreen","html_url":"https://github.com/novascreen","followers_url":"https://api.github.com/users/novascreen/followers","following_url":"https://api.github.com/users/novascreen/following{/other_user}","gists_url":"https://api.github.com/users/novascreen/gists{/gist_id}","starred_url":"https://api.github.com/users/novascreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novascreen/subscriptions","organizations_url":"https://api.github.com/users/novascreen/orgs","repos_url":"https://api.github.com/users/novascreen/repos","events_url":"https://api.github.com/users/novascreen/events{/privacy}","received_events_url":"https://api.github.com/users/novascreen/received_events","type":"User","site_admin":false},"created_at":"2017-02-13T03:22:20Z","updated_at":"2017-02-13T03:22:20Z","body":"I suppose i should create an issue in https://github.com/zeit/hyper\r\nThis is really weird, so when I run this in PowerShell or Hyper when it starts up it works fine. As soon as i open a second tab it fails.\r\nEven when it works inspecting the `sharp.node` file gives all the same errors as above though."}}
{"actor":{"display_login":"novascreen"}}