On Sat, Aug 15, 2020, 09:58 Uwe Brauer <[email protected]> wrote: > >>> "TDS" == Thomas De Schampheleire <[email protected]> writes: > > > Hi Uwe, > > On Fri, Aug 14, 2020, 22:14 Uwe Brauer <[email protected]> wrote: > > So I tried > > pip uninstall kallithea > > > pip install --user kallithea==0.5.2 > > Then I followed the setup > > But > > kallithea-cli front-end-build > > Finished with > > ,---- > | > | > home/oub/.local/lib/python2.7/site-packages/kallithea/front-end/node_modules/npm-normalize-package-bin/index.js:3 > | const {join, basename} = require('path') > | ^ > | > | SyntaxError: Unexpected token { > | at exports.runInThisContext (vm.js:53:16) > | at Module._compile (module.js:374:25) > | at Object.Module._extensions..js (module.js:417:10) > | at Module.load (module.js:344:32) > | at Function.Module._load (module.js:301:12) > | at Module.require (module.js:354:17) > | at require (internal/module.js:12:17) > | at Object.<anonymous> > (/home/oub/.local/lib/python2.7/site-packages/kallithea/front-end/node_modules/read-package-json/read-json.js:14:27) > | at Module._compile (module.js:410:26) > | at Object.Module._extensions..js (module.js:417:10) > | Traceback (most recent call last): > | File "/home/oub/.local/bin/kallithea-cli", line 8, 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 > "/home/oub/.local/lib/python2.7/site-packages/kallithea/bin/kallithea_cli_front_end.py", > line 98, 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 > | > '['/home/oub/.local/lib/python2.7/site-packages/kallithea/front-end/node_modules/.bin/license-checker', > | '--json', '--out', > | > '/home/oub/.local/lib/python2.7/site-packages/kallithea/front-end/tmp/licensing.json']' > | returned non-zero exit status 1 > `---- >
I'm not sure what the problem really is here, but if you only get this for the license check and you are just evaluating if kallithea fits your needs, you could comment out the check in home/oub/.local/lib/python2.7/site-packages/kallithea/bin/kallithea_cli_front_end.py Best regards, Thomas >
_______________________________________________ kallithea-general mailing list [email protected] https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
