跳至内容
菜单
此问题已终结
5 回复
20152 查看

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

形象
丢弃

Clear the cache

最佳答案

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
形象
丢弃
编写者 最佳答案

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.

形象
丢弃

Enterprise or community?

编写者

Community I tihnk. I am working on localhost.

相关帖文 回复 查看 活动
2
5月 17
4393
0
4月 19
3406
0
6月 18
3855
4
4月 18
5402
0
1月 16
4017