The module can't not find the node entity and node id when load the node edit form under entity_browser. We need to add the check for entity browser and get the node id.
#0 www/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(539): show_node_aliases_field_widget_path_form_alter(Array, Object(Drupal\Core\Form\FormState), Array)
#1 www/web/core/lib/Drupal/Core/Field/WidgetBase.php(355): Drupal\Core\Extension\ModuleHandler->alter('field_widget_fo...', Array, Object(Drupal\Core\Form\FormState), Array)
#2 www/web/core/lib/Drupal/Core/Field/WidgetBase.php(211): Drupal\Core\Field\WidgetBase->formSingleElement(Object(Drupal\pathauto\PathautoFieldItemList), 0, Array, Array, Object(Drupal\Core\Form\FormState))
#3 www/web/core/lib/Drupal/Core/Field/WidgetBase.php(113): Drupal\Core\Field\WidgetBase->formMultipleElements(Object(Drupal\pathauto\PathautoFieldItemList), Array, Object(Drupal\Core\Form\FormState))
#4 www/web/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(178): Drupal\Core\Field\WidgetBase->form(Object(Drupal\pathauto\PathautoFieldItemList), Array, Object(Drupal\Core\Form\FormState))
#5 www/web/modules/contrib/inline_entity_form/src/Form/EntityInlineForm.php(170): Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm(Object(Drupal\node\Entity\Node), Array, Object(Drupal\Core\Form\FormState))
#6 www/web/modules/contrib/inline_entity_form/src/Form/NodeInlineForm.php(52): Drupal\inline_entity_form\Form\EntityInlineForm->entityForm(Array, Object(Drupal\Core\Form\FormState))
#7 www/web/modules/contrib/inline_entity_form/src/Element/InlineEntityForm.php(136): Drupal\inline_entity_form\Form\NodeInlineForm->entityForm(Array, Object(Drupal\Core\Form\FormState))
#8 [internal function]: Drupal\inline_entity_form\Element\InlineEntityForm::processEntityForm(Array, Object(Drupal\Core\Form\FormState), Array)
#9 www/web/core/lib/Drupal/Core/Form/FormBuilder.php(999): call_user_func_array(Array, Array)
#10 www/web/core/lib/Drupal/Core/Form/FormBuilder.php(1062): Drupal\Core\Form\FormBuilder->doBuildForm('entity_browser_...', Array, Object(Drupal\Core\Form\FormState))
#11 www/web/core/lib/Drupal/Core/Form/FormBuilder.php(1062): Drupal\Core\Form\FormBuilder->doBuildForm('entity_browser_...', Array, Object(Drupal\Core\Form\FormState))