icebob / vue-express-mongo-boilerplate

:star: MEVN Full stack JS web app boilerplate with NodeJS, Express, Mongo and VueJS
http://vemapp.moleculer.services/
2.84k stars 757 forks source link

can't get past setup #128

Open JensMarcus opened 5 years ago

JensMarcus commented 5 years ago

Admittedly I'm new to all this tech, but I do "npm install", seems to work fine - up until the below error.

Do I also need to install Python? what is dependent on that? I then try to run the server, first attempt crashes as I dont run mongo locally, I then mod config.js to point at a mongodb - and get a bit further, but then fail out on "compile failed" due to what looks like a missing "node-sass".

Building: C:\Program Files\nodejs\node.exe D:\Temp\vue-express-mongo-boilerplate-master\vue-express-mongo-boilerplate-master\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ 'C:\Program Files\nodejs\node.exe', gyp verb cli 'D:\Temp\vue-express-mongo-boilerplate-master\vue-express-mongo-boilerplate-master\node_modules\node-gyp\bin\node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' ] gyp info using node-gyp@3.8.0 gyp info using node@11.2.0 | win32 | x64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (D:\Temp\vue-express-mongo-boilerplate-master\vue-express-mongo-boilerplate-master\node_modules\which\which.js:13:12) gyp verb which failed at F (D:\Temp\vue-express-mongo-boilerplate-master\vue-express-mongo-boilerplate-master\node_modules\which\which.js:68:19) gyp verb which failed at E (D:\Temp\vue-express-mongo-boilerplate-master\vue-express-mongo-boilerplate-master\node_modules\which\which.js:80:29) gyp verb which failed at D:\Temp\vue-express-mongo-boilerplate-master\vue-express-mongo-boilerplate-master\node_modules\which\which.js:89:16 gyp verb which failed at D:\Temp\vue-express-mongo-boilerplate-master\vue-express-mongo-boilerplate-master\node_modules\isexe\index.js:42:5 gyp verb which failed at D:\Temp\vue-express-mongo-boilerplate-master\vue-express-mongo-boilerplate-master\node_modules\isexe\windows.js:36:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:161:21)

JensMarcus commented 5 years ago

I updated the version "node-sass": "^4.10.0", into packet.js, and I got a bit further, but cant create a new user