Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

error MSB4019: #41

Closed
miecio1212 opened this issue Oct 23, 2016 · 5 comments
Closed

error MSB4019: #41

miecio1212 opened this issue Oct 23, 2016 · 5 comments

Comments

@miecio1212
Copy link

durring npm install:
Can't find solution.
error MSB4019: The imported project "G:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.

@SimulatedGREG
Copy link
Owner

Based on the little information provided, I am able to know that you are on the Windows platform. I don't know if this the the problem, but make sure you have windows-build-tools installed as electron and other dependencies require specific node-gyp functions that may fail without them.

@miecio1212
Copy link
Author

npm ERR! node v6.0.0
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE

npm ERR! nslog@3.0.0 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nslog@3.0.0 install script 'node-gyp rebuild'.

I have windows-build-tools and .NET framework 4.5 sdk

@SimulatedGREG
Copy link
Owner

SimulatedGREG commented Oct 23, 2016

Yeah, I thought this would be a node-gyp issue. As this isn't a direct problem with electron-vue, I'm going to close this. Although windows-build-tools covers most cases there's probably a chance you might need a full installation of Visual Studio.

@lmvdz
Copy link

lmvdz commented Oct 24, 2016

@miecio1212 check out this link:
http://www.flavienbeninca.fr/2016/10/13/electron-vuejs-electron-vue.html
(just auto translate with chrome to English if you can't read french like me!)

I was also having the same error, but i had Visual Studio 💯% installed.
Now i'm able to 'npm run dev'

my versions:

npm v4.0.0
node v6.9.1

@SimulatedGREG
Copy link
Owner

@XeonPowder Thanks for the info. I've been meaning to add some documentation for Windows Users. I've seen many different scenarios where users are unable to scaffold electron-vue, but haven't had much of a chance to look into the problems as I am on macOS. Going to definitely add windows-build-tools, python, etc to the docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants