Vulcan icon indicating copy to clipboard operation
Vulcan copied to clipboard

CSS native is not working :(

Open Purexo opened this issue 12 years ago • 15 comments

Hi, I've install Telescope on my VPS. and I have no CSS

my Telescope

I tried on master and release v0.9.11, and I've the same matter.

Purexo avatar Dec 03 '14 13:12 Purexo

Any errors? It sounds like you're probably having trouble with the new SCSS compilation using the fourseven:scss package. What's your environment? If it's not the standard Linux 64bit, that package's binary might not be compiled for it…

SachaG avatar Dec 04 '14 02:12 SachaG

It's a debian7 64bit. I've no errors. And running => http://localhost:3000/

Purexo avatar Dec 04 '14 10:12 Purexo

Hmm, what if you try accessing the CSS file directly? Do you get a 404?

SachaG avatar Dec 04 '14 14:12 SachaG

http://purexo.eu:3000/8c8ff99dc275f663d7262bf612b88b5931f5d46d.css

I can access to the files. but css not working at all.

Purexo avatar Dec 06 '14 10:12 Purexo

Finaly, next an other test :

root@purexo:~/test/Telescope# meteor
root, this is your first time using Meteor!
Installing a Meteor distribution in your home directory.
######################################################################## 100.0%
[[[[[ ~/test/Telescope ]]]]]

=> Started proxy.
=> Started MongoDB.
telescope-rss: updating npm dependencies -- rss...
telescope-email: updating npm dependencies -- html-to-text...
telescope-newsletter: updating npm dependencies -- html-to-text, later...
=> Errors prevented startup:

While Loading plugin `fourseven:scss` from package `fourseven:scss`:
module.js:356:32: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /root/.meteor/packages/fourseven:scss/.1.0.0.1ihlxvz++os.linux.x86_64+web.browser+web.cordova/plugin.fourseven:scss.os.linux.x86_64/npm/fourseven:scss/node_modules/node-sass/bin/linux-x64-v8-3.14/binding.node)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at requireBinding (/root/.meteor/packages/fourseven:scss/.1.0.0.1ihlxvz++os.linux.x86_64+web.browser+web.cordova/plugin.fourseven:scss.os.linux.x86_64/npm/fourseven:scss/node_modules/node-sass/sass.js:18:14)
  at Object.<anonymous> (/root/.meteor/packages/fourseven:scss/.1.0.0.1ihlxvz++os.linux.x86_64+web.browser+web.cordova/plugin.fourseven:scss.os.linux.x86_64/npm/fourseven:scss/node_modules/node-sass/sass.js:25:15)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object._.extend.Npm.require (/root/.meteor/packages/meteor-tool/.1.0.35.ftql1v++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1295:22)
  at Package (packages/fourseven:scss/plugin/compile-scss.js:2)
  at <runJavaScript-76>:102:4
  at <runJavaScript-76>:109:3


=> Your application has errors. Waiting for file change.

Purexo avatar Dec 07 '14 23:12 Purexo

I tried :

root@purexo:~/test/Telescope# npm install scss
[email protected] node_modules/scss
âââ [email protected]
root@purexo:~/test/Telescope# meteor
[[[[[ ~/test/Telescope ]]]]]

=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:

While Building the application:
node_modules/scss/node_modules/ometa/OMeta_WJS_Mods.js:4:27: Unexpected token {
node_modules/scss/node_modules/ometa/Worlds2.js:14:7: Unexpected identifier
node_modules/scss/node_modules/ometa/index.html:26: bad formatting in HTML templ                           ate
node_modules/scss/node_modules/ometa/standalone.html:1: bad formatting in HTML t                           emplate

=> Your application has errors. Waiting for file change.

I don't what I can do.

Purexo avatar Dec 07 '14 23:12 Purexo

Sorry but those errors do not seem related to Telescope. You should probably ask the maintainer of the SCSS package directly. Maybe try reproducing the error with a new Meteor app that only contains that package and nothing else?

SachaG avatar Dec 08 '14 00:12 SachaG

@purexo be sure to have packages installed : build-essential libstdc++6-4.6-dev libstdc++6-4.4-dev It will install also gcc and other packages

The compilation is done, no more errors ;

BUT the problem is still here : no css displayed =/

Gounlaf avatar Dec 11 '14 14:12 Gounlaf

Did you modify the app in any way? Or is this happening with a vanilla Telescope repo? And again, make sure it's not a problem with fourseven:scss first (by using it in a different Meteor app), I won't be able to help you if it's not something related to Telescope.

SachaG avatar Dec 11 '14 23:12 SachaG

Did you modify the app in any way?

Nop

Or is this happening with a vanilla Telescope repo?

Yes

Tested on a Debian 32 bits instead of 64 bits : it's working

I don't know how to test fourseven:scss only : I have never done a Meteor app ; can you provide a simple example please ?

Gounlaf avatar Dec 12 '14 10:12 Gounlaf

meteor create myapp
meteor add fourseven:scss
meteor

should do the trick :)

On Fri, Dec 12, 2014 at 7:03 PM, Levis Florian [email protected] wrote:

Did you modify the app in any way?

Nop

Or is this happening with a vanilla Telescope repo?

Yes

Tested on a Debian 32 bits instead of 64 bits : it's working

I don't know how to test fourseven:scss only : I have never done a Meteor app ; can you provide a simple example please ?

— Reply to this email directly or view it on GitHub https://github.com/TelescopeJS/Telescope/issues/593#issuecomment-66753432 .

SachaG avatar Dec 12 '14 10:12 SachaG

OK thanks ; I will test asap

Gounlaf avatar Dec 12 '14 10:12 Gounlaf

@Gounlaf As you ask, I install : build-essential libstdc++6-4.6-dev libstdc++6-4.4-dev

@SachaG I tried meteor create myapp && cd myapp meteor add fourseven:scss meteor ==>

at require (module.js:380:17) at requireBinding (/home/purexo/.meteor/packages/fourseven:scss/.1.0.0.4ppbbj++os.linux.x86_64+web.browser+web.cordova/plugin.fourseven:scss.os.linux.x86_64/npm/fourseven:scss/node_modules/node-sass/sass.js:18:14) at Object. (/home/purexo/.meteor/packages/fourseven:scss/.1.0.0.4ppbbj++os.linux.x86_64+web.browser+web.cordova/plugin.fourseven:scss.os.linux.x86_64/npm/fourseven:scss/node_modules/node-sass/sass.js:25:15) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module.load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object..extend.Npm.require (/home/purexo/.meteor/packages/meteor-tool/.1.0.36.1vmfcsz++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1295:22) at Package (packages/fourseven:scss/plugin/compile-scss.js:2) at :102:4 at :109:3

:( I don't know whhat to do.

Purexo avatar Dec 16 '14 22:12 Purexo

As I said already, this is probably a problem with that package, not with Telescope. If that's the case I can't really help you.

SachaG avatar Dec 17 '14 00:12 SachaG

@purexo What is your OS version? According to my thoughts, your system is not supported GLIBC_2.14 Check this: http://unix.stackexchange.com/questions/176489/how-to-update-glibc-to-2-14-in-centos-6-5

thanhluu avatar Jan 15 '15 08:01 thanhluu