Issue #349: Setup failed at front-end-build (conservancy/kallithea)
Nicolas Pinault
nicolasp at aaton.com
Mon Nov 18 16:10:45 UTC 2019
Le 16/11/2019 à 22:07, tibic86 a écrit :
> New issue 349: Setup failed at front-end-build
> https://bitbucket.org/conservancy/kallithea/issues/349/setup-failed-at-front-end-build
>
> Csécsei Tibor:
>
> I got the following error when run kallithea-cli front-end-build when following step-by-step guide:
> \(virtualenv\) pi at raspberrypi:~/kallithea/data $ kallithea-cli front-end-build
> Running 'npm install' to install front-end dependencies from package.json
> \(node:28249\) \[DEP0022\] DeprecationWarning: os.tmpDir\(\) is deprecated. Use os.tmpdir\(\) instead.
> npm WARN package.json codemirror at 4.7.0 No license field.
> npm WARN package.json jquery.caret at 0.3.1 No repository field.
> npm WARN package.json jquery.flot at 0.8.3 No repository field.
> npm WARN package.json jquery.flot at 0.8.3 No license field.
> npm WARN package.json less-plugin-clean-css at 1.5.1 No license field.
> npm WARN package.json select2 at 3.5.1 No license field.
> Building CSS styling based on Bootstrap
> Traceback \(most recent call last\):
> File "/home/pi/kallithea/virtualenv/bin/kallithea-cli", line 8, in <module>
> sys.exit\(cli\(\)\)
> File "/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/click/core.py", line 764, in **call**
> return self.main\(\*args, \*\*kwargs\)
> File "/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/click/core.py", line 717, in main
> rv = self.invoke\(ctx\)
> File "/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
> return \_process\_result\(sub\_ctx.command.invoke\(sub\_ctx\)\)
> File "/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
> return ctx.invoke\(self.callback, \*\*ctx.params\)
> File "/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
> return callback\(\*args, \*\*kwargs\)
> File "/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/kallithea/bin/kallithea\_cli\_front\_end.py", line 64, in front\_end\_build
> cwd=front\_end\_dir, shell=kallithea.is\_windows\)
> File "/usr/lib/python2.7/subprocess.py", line 186, in check\_call
> raise CalledProcessError\(retcode, cmd\)
> subprocess.CalledProcessError: Command '\['/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/kallithea/front-end/node\_modules/.bin/lessc', '--source-map', '--source-map-less-inline', '/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/kallithea/front-end/main.less', '/home/pi/kallithea/virtualenv/local/lib/python2.7/site-packages/kallithea/public/css/style.css'\]' returned non-zero exit status 1
> \(virtualenv\) pi at raspberrypi:~/kallithea/data $
I've had a similar problem when I tried to upgrade one of my my
Kallithea instance from V 0.3.3 to V 0.4.1.
My server is a RaspberryPi running Raspian jessie.
I've found that Raspian version was too old. With a newer version of
Raspian (buster), it works. (I tried on another RaspberryPi with a fresh
Raspian install).
>
> I can start the server by calling `gearbox serve -c my.ini` after that, but the configuration is not user friendly without css file\(s\).
> I do not access the web-page outside the server \(I mean from another server in same LAN\). Can it be because unsuccessful setup?
>
> Is Apache required to be intalled and configured correctly for kallithea?
No.
Regards,
Nicolas
More information about the kallithea-general
mailing list