Closed willjjohnson1 closed 4 years ago
So after looking further back at my console logs I discovered like an idiot I had ignored a ton of peer dependencies.
After spending quite a lot of time since posting this issue on acquiring those peer dependencies, I have now discovered the issue is even better (worse) than I imagined.
Inside of scirius/hunt I have been installing all the required peer dependencies.
react and react-dom both have versions installed greater than 16.3.0
and webpack has version 3.11.0 installed..
But as you can see I have modules requesting different versions of each.
Now if I ignore this entirely and run 'npm run build'
I am greated with this lovely error output.
When I try 'npm start' or 'npm test':
What's your setup ? What documentation did you follow to reach that ?
Running CentOS 7 minimal on ESXi. I started out following the documentation here: https://scirius.readthedocs.io/en/latest/installation-ce.html#running-scirius-ce obviously adjusting for the difference between apt-get and yum I also used: https://www.tecmint.com/nvm-install-multiple-nodejs-versions-in-linux/ For installing nvm, node, and npm and: https://www.cyberciti.biz/faq/centos-linux-install-gcc-c-c-compiler/ To make sure I had all the Development Tools. and: https://codeforgeek.com/make-failed-with-exit-code-2/ For fixing an error I had with exit code 2
My issue is the same as #186 However when I run 'npm install' or 'npm run build' with sudo like josass did to resolve his issue, I get this error:
Solved by switching to Ubuntu 18.04. I am still attempting to get this working on CentOS 7 however..
EDIT I originally thought this was my only problem..boy was I wrong This error was originally when I had ignored peer dependencies and a few other now resolved and unresolved errors, and ran 'python manage.py migrate'
Traceback (most recent call last): File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/init.py", line 338, in execute
django.setup()
File "/usr/lib/python2.7/site-packages/django/init.py", line 22, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/usr/lib/python2.7/site-packages/django/utils/log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib64/python2.7/logging/config.py", line 803, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib64/python2.7/logging/config.py", line 585, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler u'elasticsearch': [Errno 2] No such file or directory: u'/var/log/scirius/elasticsearch.log'