Can't install Canvas 1.6.13 due to missing Windows 8.1 SDK
I'm trying to install Canvas in order to install chartjs-node, but whenever I try, I get this error:
C:UsersMarkDesktopBot>npm install canvas@1.6.13
> canvas@1.6.13 install C:UsersMarkDesktopBotnode_modulescanvas
> node-gyp rebuild
C:UsersMarkDesktopBotnode_modulescanvas>if not defined npm_config_node_gyp (node "D:Nodenode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin\....node_modulesnode-gypbinnode-gyp.js" rebuild ) else (node "D:Nodenode_modulesnpmnode_modulesnode-gypbinnode-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:UsersMarkD
esktopBotnode_modulescanvasbuildcanvas.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:Program Files (x86)MSBuild14.0binmsbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:Nodenode_modulesnpmnode_modulesnode-gyplibbuild.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "D:\Node\node.exe" "D:\Node\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:UsersMarkDesktopBotnode_modulescanvas
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
I installed microsoft build tools 2017 as well as the actual windows 8.1 sdk, but it still will not work.
node.js canvas
add a comment |
I'm trying to install Canvas in order to install chartjs-node, but whenever I try, I get this error:
C:UsersMarkDesktopBot>npm install canvas@1.6.13
> canvas@1.6.13 install C:UsersMarkDesktopBotnode_modulescanvas
> node-gyp rebuild
C:UsersMarkDesktopBotnode_modulescanvas>if not defined npm_config_node_gyp (node "D:Nodenode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin\....node_modulesnode-gypbinnode-gyp.js" rebuild ) else (node "D:Nodenode_modulesnpmnode_modulesnode-gypbinnode-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:UsersMarkD
esktopBotnode_modulescanvasbuildcanvas.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:Program Files (x86)MSBuild14.0binmsbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:Nodenode_modulesnpmnode_modulesnode-gyplibbuild.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "D:\Node\node.exe" "D:\Node\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:UsersMarkDesktopBotnode_modulescanvas
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
I installed microsoft build tools 2017 as well as the actual windows 8.1 sdk, but it still will not work.
node.js canvas
Did you restart after installing SDK 8.1?
– Moab
Jan 11 at 0:34
@Moab no, so i restarted. and.... it worked.
– Mark
Jan 11 at 1:14
wait no i accidentally made a typo. it didnt work after restarting.
– Mark
Jan 11 at 1:16
add a comment |
I'm trying to install Canvas in order to install chartjs-node, but whenever I try, I get this error:
C:UsersMarkDesktopBot>npm install canvas@1.6.13
> canvas@1.6.13 install C:UsersMarkDesktopBotnode_modulescanvas
> node-gyp rebuild
C:UsersMarkDesktopBotnode_modulescanvas>if not defined npm_config_node_gyp (node "D:Nodenode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin\....node_modulesnode-gypbinnode-gyp.js" rebuild ) else (node "D:Nodenode_modulesnpmnode_modulesnode-gypbinnode-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:UsersMarkD
esktopBotnode_modulescanvasbuildcanvas.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:Program Files (x86)MSBuild14.0binmsbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:Nodenode_modulesnpmnode_modulesnode-gyplibbuild.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "D:\Node\node.exe" "D:\Node\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:UsersMarkDesktopBotnode_modulescanvas
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
I installed microsoft build tools 2017 as well as the actual windows 8.1 sdk, but it still will not work.
node.js canvas
I'm trying to install Canvas in order to install chartjs-node, but whenever I try, I get this error:
C:UsersMarkDesktopBot>npm install canvas@1.6.13
> canvas@1.6.13 install C:UsersMarkDesktopBotnode_modulescanvas
> node-gyp rebuild
C:UsersMarkDesktopBotnode_modulescanvas>if not defined npm_config_node_gyp (node "D:Nodenode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin\....node_modulesnode-gypbinnode-gyp.js" rebuild ) else (node "D:Nodenode_modulesnpmnode_modulesnode-gypbinnode-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:Program Files (x86)MSBuildMicrosoft.Cppv4.0V140Platformsx64PlatformToolsetsv140Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:UsersMarkD
esktopBotnode_modulescanvasbuildcanvas.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:Program Files (x86)MSBuild14.0binmsbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (D:Nodenode_modulesnpmnode_modulesnode-gyplibbuild.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "D:\Node\node.exe" "D:\Node\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:UsersMarkDesktopBotnode_modulescanvas
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
I installed microsoft build tools 2017 as well as the actual windows 8.1 sdk, but it still will not work.
node.js canvas
node.js canvas
asked Jan 11 at 0:28
MarkMark
61
61
Did you restart after installing SDK 8.1?
– Moab
Jan 11 at 0:34
@Moab no, so i restarted. and.... it worked.
– Mark
Jan 11 at 1:14
wait no i accidentally made a typo. it didnt work after restarting.
– Mark
Jan 11 at 1:16
add a comment |
Did you restart after installing SDK 8.1?
– Moab
Jan 11 at 0:34
@Moab no, so i restarted. and.... it worked.
– Mark
Jan 11 at 1:14
wait no i accidentally made a typo. it didnt work after restarting.
– Mark
Jan 11 at 1:16
Did you restart after installing SDK 8.1?
– Moab
Jan 11 at 0:34
Did you restart after installing SDK 8.1?
– Moab
Jan 11 at 0:34
@Moab no, so i restarted. and.... it worked.
– Mark
Jan 11 at 1:14
@Moab no, so i restarted. and.... it worked.
– Mark
Jan 11 at 1:14
wait no i accidentally made a typo. it didnt work after restarting.
– Mark
Jan 11 at 1:16
wait no i accidentally made a typo. it didnt work after restarting.
– Mark
Jan 11 at 1:16
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392978%2fcant-install-canvas-1-6-13-due-to-missing-windows-8-1-sdk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1392978%2fcant-install-canvas-1-6-13-due-to-missing-windows-8-1-sdk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you restart after installing SDK 8.1?
– Moab
Jan 11 at 0:34
@Moab no, so i restarted. and.... it worked.
– Mark
Jan 11 at 1:14
wait no i accidentally made a typo. it didnt work after restarting.
– Mark
Jan 11 at 1:16