aws-amplify / amplify-js

A declarative JavaScript library for application development using cloud services.
https://docs.amplify.aws/lib/q/platform/js
Apache License 2.0
9.42k stars 2.12k forks source link

Datastore stops syncing after pushing with the 12.12.x cli version #13490

Open mhyassin opened 3 months ago

mhyassin commented 3 months ago

How did you install the Amplify CLI?

npm

If applicable, what version of Node.js are you using?

20.12.2

Amplify CLI Version

12.12.2

What operating system are you using?

Mac

Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.

No

Describe the bug

After doing a amplify push using the most recent 12.12.x amplify cli version, the datastore stops syncing

Expected behavior

The datastore should be able to sync

Reproduction steps

  1. make sure you're using amplify cli v12.12.x
  2. login in app
  3. datastore doesn't sync data

Project Identifier

1f41c9d6304e82061193f8ee2e85ae0a

Log output

``` # Put your logs below this line ```

Additional information

No response

Before submitting, please confirm:

ykethan commented 3 months ago

HeyπŸ‘‹ thanks for raising this! I'm going to transfer this over to our JS repository for better assistance πŸ™‚

cwomack commented 3 months ago

Hello, @mhyassin πŸ‘‹. Would you mind sharing your package.json so we can better understand what version of Amplify you're on and any related dependencies?

mhyassin commented 3 months ago

Hi @cwomack, yeah sure, here you go:

{
  "dependencies": {
    "@aws-amplify/react-native": "1.1.1",
    "@aws-amplify/rtn-web-browser": "1.0.30",
    "@azure/core-asynciterator-polyfill": "1.0.2",
    "@georstat/react-native-image-cache": "2.8.0",
    "@nozbe/watermelondb": "0.27.1",
    "@react-native-async-storage/async-storage": "1.21.0",
    "@react-native-clipboard/clipboard": "1.13.2",
    "@react-native-community/netinfo": "9.4.1",
    "@react-native-firebase/app": "18.7.1",
    "@react-native-firebase/messaging": "18.7.1",
    "@react-native-masked-view/masked-view": "0.3.0",
    "@react-native-picker/picker": "2.4.1",
    "@react-navigation/bottom-tabs": "6.5.12",
    "@react-navigation/elements": "1.3.22",
    "@react-navigation/native": "6.1.10",
    "@react-navigation/native-stack": "6.9.18",
    "@react-navigation/stack": "6.3.21",
    "@sentry/react-native": "5.19.3",
    "@shopify/flash-list": "1.6.4",
    "@types/d3-scale": "4.0.3",
    "@types/lodash": "4.14.185",
    "@types/react": "18.2.6",
    "@types/react-native-vector-icons": "6.4.11",
    "@types/react-native-version-check": "3.4.5",
    "@types/react-test-renderer": "18.0.0",
    "@urql/exchange-auth": "2.1.6",
    "aws-amplify": "6.3.3",
    "axios": "1.6.7",
    "d3": "7.4.4",
    "d3-array": "3.1.6",
    "d3-scale": "4.0.2",
    "d3-shape": "3.1.0",
    "date-fns": "2.28.0",
    "emoji-regex": "10.3.0",
    "graphql": "15.7.0",
    "i18next": "21.8.10",
    "javascript-time-ago": "2.5.9",
    "jotai": "2.7.0",
    "lodash": "4.17.21",
    "lottie-react-native": "6.4.1",
    "moment": "2.29.4",
    "observable-hooks": "4.2.3",
    "polished": "4.2.2",
    "posthog-react-native": "3.1.1",
    "postinstall-postinstall": "2.1.0",
    "react": "18.2.0",
    "react-i18next": "11.18.3",
    "react-native": "0.73.6",
    "react-native-appsflyer": "6.12.2",
    "react-native-autocomplete-input": "5.4.0",
    "react-native-bootsplash": "5.1.3",
    "react-native-config": "1.4.6",
    "react-native-context-menu-view": "1.15.0",
    "react-native-date-picker": "4.3.3",
    "react-native-device-info": "10.12.0",
    "react-native-email-link": "1.14.1",
    "react-native-file-access": "3.0.7",
    "react-native-gesture-handler": "2.15.0",
    "react-native-get-random-values": "1.11.0",
    "react-native-image-crop-picker": "0.39.0",
    "react-native-in-app-review": "4.3.3",
    "react-native-inappbrowser-reborn": "3.7.0",
    "react-native-keyboard-aware-scroll-view": "0.9.5",
    "react-native-keyboard-controller": "1.10.0",
    "react-native-linear-gradient": "2.8.3",
    "react-native-localize": "2.2.4",
    "react-native-marked": "6.0.4",
    "react-native-mmkv": "2.12.2",
    "react-native-picker-select": "8.0.4",
    "react-native-purchases": "7.5.0",
    "react-native-reanimated": "3.6.1",
    "react-native-reanimated-carousel": "3.3.2",
    "react-native-safe-area-context": "4.9.0",
    "react-native-screens": "3.29.0",
    "react-native-share": "10.0.2",
    "react-native-shared-element": "0.8.4",
    "react-native-snackbar": "2.4.0",
    "react-native-svg": "12.4.4",
    "react-native-svg-transformer": "1.3.0",
    "react-native-toast-message": "2.1.5",
    "react-native-track-player": "4.1.1",
    "react-native-vector-icons": "10.0.2",
    "react-native-version-check": "3.4.7",
    "react-native-webview": "13.6.3",
    "react-navigation-shared-element": "3.1.3",
    "react-time-ago": "7.2.1",
    "reselect": "5.1.0",
    "styled-components": "6.0.4",
    "tiny-timer": "1.6.0",
    "urql": "4.0.5",
    "zustand": "4.3.6"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/plugin-proposal-decorators": "^7.22.15",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@commitlint/cli": "^17.0.3",
    "@commitlint/config-conventional": "^17.0.3",
    "@graphql-codegen/cli": "^5.0.0",
    "@graphql-codegen/client-preset": "^4.1.0",
    "@react-native/babel-preset": "0.73.21",
    "@react-native/eslint-config": "0.73.2",
    "@react-native/metro-config": "0.73.5",
    "@react-native/typescript-config": "0.73.1",
    "@types/d3-shape": "3.1.6",
    "@types/jest": "^29.5.12",
    "@typescript-eslint/eslint-plugin": "^5.61.0",
    "@typescript-eslint/parser": "^5.61.0",
    "babel-jest": "^29.6.3",
    "babel-plugin-module-resolver": "4.1.0",
    "eslint": "^8.21.0",
    "eslint-config-prettier": "8.5.0",
    "eslint-plugin-i18next": "^6.0.3",
    "eslint-plugin-jest": "^26.8.2",
    "fs-extra": "^10.1.0",
    "husky": "8.0.1",
    "i18n-unused": "^0.16.0",
    "jest": "^29.6.3",
    "jest-environment-jsdom": "^29.5.0",
    "jest-transform-stub": "2.0.0",
    "lint-staged": "^13.2.3",
    "prettier": "2.8.8",
    "react-test-renderer": "18.2.0",
    "ts-jest": "^29.1.1",
    "ts-node": "^10.9.1",
    "typescript": "5.0.4"
  },
  "engines": {
    "node": ">=18"
  }
}