> On 8/13/20 10:39 AM, Uwe Brauer wrote:
> We can improve the documentation to say something like > but I don't know if we should go into details on how to do it on each OS. > Googling for "ubuntu /usr/bin/env: ‘node’: No such file or directory" > gives some helpful answers - including https://askubuntu.com/a/1053068 > This stacktrace shows Python catching that license-checker failed. Was > there any output before this, after "Generating LICENSES.txt"? > I guess this perhaps could be caused by partial installation from > previous attempts. Try to delete kallithea/front-end/node_modules/ and > try again. Contrary to my previous email, pip installed kallithea system wide in /usr/local So I deleted this directory and run the command again This is the error ,---- | | Generating LICENSES.txt | /usr/local/lib/python2.7/dist-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> (/usr/local/lib/python2.7/dist-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 "/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 97, 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/license-checker', | '--json', '--out', | '/usr/local/lib/python2.7/dist-packages/kallithea/front-end/tmp/licensing.json']' | returned non-zero exit status 1 oub@Utnapischtim:~ `----
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ kallithea-general mailing list [email protected] https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
