Unable to install (failed migrations)
Summary
Can't use the package, unable to do makemigrations
, migrate
or runserver
after installing the package.
Steps to reproduce
$ python3 version
Python 3.8.2
$ pip list
Package Version
asgiref 3.2.10
Django 3.1
django-bootstrap-breadcrumbs 0.9.2
django-countries 6.1.2
django-koalalms-learning 1.1.1
django-markdownx 3.0.1
django-taggit 1.3.0
Markdown 3.2.2
mysqlclient 2.0.1
Pillow 7.2.0
pip 20.0.2
pkg-resources 0.0.0
pytz 2020.1
setuptools 44.0.0
six 1.15.0
sqlparse 0.3.1
after performing install instructions
I got the error :
Migration learning.0002_registration_on_course dependencies reference nonexistent parent node ('accounts', '0003_groups')
What is the current bug behavior?
break
What is the expected correct behavior?
successful migration after installing the package.
Relevant logs and/or screenshots
$ python3 manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 22, in <module>
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/path/to/project/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
File "/path/to/project/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/path/to/project/lib/python3.8/site-packages/django/core/management/base.py", line 330, in run_from_argv
self.execute(*args, **cmd_options)
File "/path/to/project/lib/python3.8/site-packages/django/core/management/base.py", line 371, in execute
output = self.handle(*args, **options)
File "/path/to/project/lib/python3.8/site-packages/django/core/management/base.py", line 85, in wrapped
res = handle_func(*args, **kwargs)
File "/path/to/project/lib/python3.8/site-packages/django/core/management/commands/makemigrations.py", line 87, in handle
loader = MigrationLoader(None, ignore_no_migrations=True)
File "/path/to/project/lib/python3.8/site-packages/django/db/migrations/loader.py", line 53, in __init__
self.build_graph()
File "/path/to/project/lib/python3.8/site-packages/django/db/migrations/loader.py", line 255, in build_graph
self.graph.validate_consistency()
File "/path/to/project/lib/python3.8/site-packages/django/db/migrations/graph.py", line 195, in validate_consistency
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/path/to/project/lib/python3.8/site-packages/django/db/migrations/graph.py", line 195, in <listcomp>
[n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)]
File "/path/to/project/lib/python3.8/site-packages/django/db/migrations/graph.py", line 58, in raise_error
raise NodeNotFoundError(self.error_message, self.key, origin=self.origin)
django.db.migrations.exceptions.NodeNotFoundError: Migration learning.0002_registration_on_course dependencies reference nonexistent parent node ('accounts', '0003_groups')