[Solved]-Django Migration Error – NodeNotFoundError

12👍

You are getting the error because the migration you are trying to run, weather.0001_initial, depends on a migration machines.0006_auto_20150921_1327 which does not exist.

If you can’t find the missing migration file, you’ll have to delete and recreate the migrations for the weather app, so that they don’t depend on the missing migration.

0👍

You are getting this error because you are missing the

__init__.py

file in your migrations folder.

For me, it worked after adding this file.

Leave a comment