Forum Discussion
jaread83 I'd recommend NodeJS 4.x which is what I use, I've seen some odd quirks with 6.x so I'm not sure that's fully supported yet.
Generally I will keep all my code bases in a seperate partition of the HDD - I got around 20 repos that I work on so it makes sense to do this.
As an experiment, I just tried creating the lithium project in my home directory. That seemed to work! So that means the lithium SDK repo needs fixing up as it doesn't seem to like it when I create a project on a seperate drive.
- jaread838 years agoChampion
Hi RobertT, thanks for your help so far. I managed to create the project in my home directory and am now playing about with it.
Trying to get my SASS compiler to work but my browser is blocking the localhost CSS being displayed. Something about mixed content so I suspect this is an issue with the localhost being served under http and the staging site being served under https. When trying to serve my localhost CSS with https it fails to load the file entirely.
How did you get around this?
- RobertT8 years agoBoss
This one is a pain, it either requires you to build a HTTPS service on your machine which points to the directory that the SASS is compiled from or you need to adjust browser settings to add an exception to allow mixed content.
We're not using HTTPS on our staging environment at the moment but I have played around with running a HTTPS server from my machine for testing, this is one of the areas that Lithium will need to address as more and more communities switch over to HTTPS default traffic.
For Chrome the following should work in terminal to allow mixed-content mode:
open /Applications/Google\ Chrome.app --args --allow-running-insecure-content
- jaread838 years agoChampion
Ah that did it! Nice :) thanks for your help with this. I am always learning something new with this platform.
I also agree with the http/https configuration stuff. It would make sense for the SDK to serve up a https version (or at the very least base the protocol on the staging url provided). I may have more questions after having a play around :)
Related Content
- 10 years ago
- 10 years ago
- 10 years ago