CKAN Development Install Issue: AttributeError: 'module' object has no attribute 'css/main.debug.css'

前端 未结 4 1213
北恋
北恋 2021-02-05 20:48

I\'ve done a CKAN development install and am running with debug = true in my development.ini file. On visiting localhost:5000 I get an error with a traceback whose end point is

4条回答
  •  梦谈多话
    2021-02-05 21:37

    Beware that apt-get install nodejs installs nodejs and NOT node in /usr/bin, at least in Ubuntu 12.10 (I didn't check in other distributions). This throws errors since both ckan/bin/less as well as ckan/node_modules/less/bin/lessc are calling node. So either create a softlink in /usr/bin or modify the scripts (#!/usr/bin/env nodejs).

提交回复
热议问题