Fixed an issue preventing the iOS simulator from running the app by moving the moment-timezone package to the correct section in package.json:
Changes Made
Relocated moment-timezone from the devDependencies section to the dependencies section in package.json.
Reason for Changes
The moment-timezone package was incorrectly listed under devDependencies, which caused the app to fail at runtime in the production environment since it wasn't available.
Summary
Fixed an issue preventing the iOS simulator from running the app by moving the
moment-timezone
package to the correct section inpackage.json
:Changes Made
moment-timezone
from thedevDependencies
section to thedependencies
section inpackage.json
.Reason for Changes
The
moment-timezone
package was incorrectly listed underdevDependencies
, which caused the app to fail at runtime in the production environment since it wasn't available.