Running ./scripts/bootstrap as described in the tutorial fails with the following error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: invenio-assets@1.0.0
npm ERR! Found: react-overridable@0.0.2
npm ERR! node_modules/react-overridable
npm ERR! react-overridable@"^0.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react-overridable@"^0.0.3" from react-searchkit@1.0.0-alpha.13
npm ERR! node_modules/react-searchkit
npm ERR! react-searchkit@"^1.0.0-alpha.12" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /home/xxx/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/xxx/.npm/_logs/2021-02-18T14_22_16_749Z-debug.log
Traceback (most recent call last):
File "/home/xxx/venv/bin/invenio", line 8, in <module>
sys.exit(cli())
File "/home/xxx/venv/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/xxx/venv/lib/python3.8/site-packages/flask/cli.py", line 586, in main
return super(FlaskGroup, self).main(*args, **kwargs)
File "/home/xxx/venv/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/xxx/venv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/xxx/venv/lib/python3.8/site-packages/click/core.py", line 1289, in invoke
rv.append(sub_ctx.command.invoke(sub_ctx))
File "/home/xxx/venv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/xxx/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/xxx/venv/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/xxx/venv/lib/python3.8/site-packages/flask/cli.py", line 426, in decorator
return __ctx.invoke(f, *args, **kwargs)
File "/home/xxx/venv/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/xxx/venv/lib/python3.8/site-packages/flask_webpackext/cli.py", line 72, in buildall
current_webpack.project.buildall()
File "/home/xxx/venv/lib/python3.8/site-packages/pywebpack/project.py", line 141, in buildall
super(WebpackTemplateProject, self).buildall()
File "/home/xxx/venv/lib/python3.8/site-packages/pywebpack/project.py", line 69, in buildall
self.install()
File "/home/xxx/venv/lib/python3.8/site-packages/pywebpack/helpers.py", line 48, in inner
raise RuntimeError("Process exited with code {}".format(exit_code))
RuntimeError: Process exited with code 1
Package version (if known): 3.4.0
Describe the bug
Running
./scripts/bootstrap
as described in the tutorial fails with the following error:Steps to Reproduce
curl -fsSL https://deb.nodesource.com/setup_15.x | sudo -E bash - && sudo apt install -y nodejs
node --version
v15.8.0,npm --version
7.5.4./scripts/bootstrap
Expected behavior
The script finishes without errors
Please let me know if this is actually an issue with react-overridable or npm rather than invenio's bootstrap script.