This question has been flagged
5 Replies
18104 Views

After installing odoo 10 successfully on windows 10, it will not show page in proper design. I'll check my console it will gives me following warning :



Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8069/web/content/342-135f5fc/web.assets_common.0.css".

login:23 Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8069/web/content/560-1497dfa/web.assets_frontend.0.css".


When I have write "http://localhost:8069/web?debug=assets#" at first in url, it works fine.

Is it problem of css and js unloaded?

Please help me. Thanks in advance

Avatar
Discard

Clear the cache

Best Answer

Check out the installation of NODE.JS .

In debian wheezy and Ubuntu 13.10 and before you need to install nodejs manually:

$ wget -qO- https://deb.nodesource.com/setup | bash -
$ apt-get install -y nodejs

In later debian (>jessie) and ubuntu (>14.04) you may need to add a symlink as npm packages call node but debian calls the binary nodejs

$ apt-get install -y npm
$ sudo ln -s /usr/bin/nodejs /usr/bin/node

AND restart
Avatar
Discard
Author Best Answer

I tried with clearing cache many times, but didn't work.


One more time I tried to uninstalled odoo and installed again. at first screen (http://localhost:8069/web/database/selector) It will give me error with 


In firefox : 

The stylesheet http://localhost:8069/web/static/lib/fontawesome/css/font-awesome.css was not loaded because its MIME type, “application/x-css”, is not “text/css”.  

The stylesheet http://localhost:8069/web/static/lib/bootstrap/css/bootstrap.css was not loaded because its MIME type, “application/x-css”, is not “text/css”.


in chrome : 

Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8069/web/static/lib/fontawesome/css/font-awesome.css".

Resource interpreted as Stylesheet but transferred with MIME type application/x-css: "http://localhost:8069/web/static/lib/bootstrap/css/bootstrap.css".


 Please help me.

Avatar
Discard

Enterprise or community?

Author

Community I tihnk. I am working on localhost.