joshmarinacci / ElectronIDE

New web based Arduino IDE
BSD 3-Clause "New" or "Revised" License
246 stars 50 forks source link

Frontend Dependancy Management and SASS Compilation #24

Closed Johnathan closed 8 years ago

Johnathan commented 10 years ago

What's been done?

npm install gulp bower -g
npm install
bower install

That should install all the dependencies along with the frontend libraries being used.

Running gulp will start concatenating the JS, compiling the SASS and will watch the sass files for changes.

chrwei commented 10 years ago

is this required right now? i'm getting a ton of errors about failed packages from npm install gulp bower -g

Johnathan commented 10 years ago

Of course it's not required right now but it sure does make working with the frontend a whole lot easier when things are separated out into their own thing.

What's the errors you're getting trying to install gulp and bower?

chrwei commented 10 years ago

many many red lines, but the final error is

32040 error Error: ENOENT, lstat '/usr/local/lib/node_modules/bower/node_modules/insight/node_modules/request/node_modules/hawk/test/client.js'
32041 error If you need help, you may report this log at:
32041 error     
32041 error or email it to:
32041 error     
32042 error System Linux 3.13.0-29-generic
32043 error command "/usr/bin/nodejs" "/usr/bin/npm" "install" "gulp" "bower" "-g"
32040 error Error: ENOENT, lstat '/usr/local/lib/node_modules/bower/node_modules/insight/node_modules/request/node_modules/hawk/test/client.js'
32041 error If you need help, you may report this log at:
32041 error     
32041 error or email it to:
32041 error     
32042 error System Linux 3.13.0-29-generic
32043 error command "/usr/bin/nodejs" "/usr/bin/npm" "install" "gulp" "bower" "-g"
PixnBits commented 10 years ago

Could we use LESS instead of SASS? One less dependency for development (ruby).