cannot set up Kallithea in Ubuntu 16.04

Thomas De Schampheleire patrickdepinguin at gmail.com
Thu Aug 13 08:04:56 UTC 2020


Hi Uwe Brauer,

The 'node' program cannot be found. Kallithea requires the 'npm' package to
be installed, which should provide node. You should be able to use apt-get
to install it.

Best regards,
Thomas

On Thu, Aug 13, 2020, 09:24 Uwe Brauer <oub at mat.ucm.es> wrote:

>
>
> Hi
>
> I managed to install kallithea using pip.
> However the last step in the setup, namely
> sudo kallithea-cli front-end-build
>
> Failed:
>
> ,----
> | Running 'npm install' to install front-end dependencies from package.json
> | Building CSS styling based on Bootstrap
> | /usr/bin/env: ‘node’: No such file or directory
> | Traceback (most recent call last):
> |   File "/usr/local/bin/kallithea-cli", line 10, in <module>
> |     sys.exit(cli())
> |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 764,
> in __call__
> |     return self.main(*args, **kwargs)
> |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 717,
> in main
> |     rv = self.invoke(ctx)
> |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line
> 1137, in invoke
> |     return _process_result(sub_ctx.command.invoke(sub_ctx))
> |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 956,
> in invoke
> |     return ctx.invoke(self.callback, **ctx.params)
> |   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 555,
> in invoke
> |     return callback(*args, **kwargs)
> |   File
> "/usr/local/lib/python2.7/dist-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 541, in check_call
> |     raise CalledProcessError(retcode, cmd)
> |
> | subprocess.CalledProcessError: Command
> |
> '['/usr/local/lib/python2.7/dist-packages/kallithea/front-end/node_modules/.bin/lessc',
> | '--source-map', '--source-map-less-inline',
> | '/usr/local/lib/python2.7/dist-packages/kallithea/front-end/main.less',
> | '/usr/local/lib/python2.7/dist-packages/kallithea/public/css/style.css']'
> | returned non-zero exit status 127
> |
> |
> `----
>
> What can I do?
>
> Regards
>
> Uwe Brauer
> _______________________________________________
> kallithea-general mailing list
> kallithea-general at sfconservancy.org
> https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20200813/fbfbf83e/attachment.html>


More information about the kallithea-general mailing list