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.43k stars 2.13k forks source link

Not able to find Parser folder inside node_modules/@aws-amplify/core/lib-esm #11036

Closed shuklaaalind closed 1 year ago

shuklaaalind commented 1 year ago

Before opening, please confirm:

JavaScript Framework

React Native

Amplify APIs

Push Notifications

Amplify Categories

notifications

Environment information

``` # Put output below this line ```

Describe the bug

1-node_modules/@aws-amplify/core/lib-esm/Parser(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx) 2-node_modules/@aws-amplify/core/lib-esm/Parser/index(.native|.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)

Screen Shot 2023-03-01 at 18 55 15

Expected behavior

I am not able to run my app as i am getting this errors regarding parser folder Screenshot_1677677211

Reproduction steps

Code Snippet

// Put your code below this line.

Log output

``` // Put your logs below this line ```

aws-exports.js

No response

Manual configuration

"dependencies": {
    "@aws-amplify/pushnotification": "^5.0.16",
    "@codler/react-native-keyboard-aware-scroll-view": "^2.0.1",
    "@highcharts/highcharts-react-native": "^2.2.1",
    "@react-native-async-storage/async-storage": "^1.17.3",
    "@react-native-community/blur": "^4.2.0",
    "@react-native-community/clipboard": "^1.5.1",
    "@react-native-community/netinfo": "^8.2.0",
    "@react-native-community/picker": "^1.8.1",
    "@react-native-community/push-notification-ios": "^1.10.1",
    "@react-native-cookies/cookies": "^6.2.1",
    "@react-navigation/bottom-tabs": "^6.3.1",
    "@react-navigation/material-top-tabs": "^6.2.1",
    "@react-navigation/native": "^6.0.10",
    "@react-navigation/native-stack": "^6.6.2",
    "@react-navigation/stack": "^6.2.1",
    "@redux-devtools/extension": "^3.2.2",
    "@rematch/core": "^2.2.0",
    "@rematch/persist": "^2.1.2",
    "@rematch/select": "^3.1.2",
    "@twotalltotems/react-native-otp-input": "^1.3.11",
    "@wwdrew/react-native-numeric-textinput": "^1.1.0",
    "accounting": "^0.4.1",
    "amazon-cognito-identity-js": "^5.2.8",
    "aws-amplify": "^5.0.16",
    "aws-amplify-react-native": "^7.0.2",
    "chart.js": "^3.7.1",
    "code-push": "^4.0.5",
    "formik": "^2.2.9",
    "galio-framework": "^0.8.0",
    "jwt-encode": "^1.0.1",
    "lodash": "^4.17.21",
    "lottie-ios": "^3.2.3",
    "lottie-react-native": "^5.0.1",
    "moment": "^2.29.3",
    "native-base": "^2.15.2",
    "parse-google-address": "^1.0.4",
    "pubnub": "^5.0.1",
    "pubnub-react": "^2.1.1",
    "react": "17.0.2",
    "react-devtools-core": "^4.24.4",
    "react-native": "^0.68.5",
    "react-native-auto-scrolling": "^3.0.2",
    "react-native-autoheight-webview": "^1.6.1",
    "react-native-biometrics": "^2.1.4",
    "react-native-chonse-select": "^1.0.5",
    "react-native-code-push": "^7.0.4",
    "react-native-confirmation-code-field": "^7.3.0",
    "react-native-country-code-list": "^1.1.2",
    "react-native-date-picker": "^4.2.5",
    "react-native-device-info": "^8.7.1",
    "react-native-dialog": "^9.2.1",
    "react-native-dynamic-search-bar": "^2.0.2",
    "react-native-easy-toast": "^2.0.0",
    "react-native-elements": "^3.4.2",
    "react-native-fingerprint-scanner": "^6.0.0",
    "react-native-flash-message": "^0.2.1",
    "react-native-gesture-handler": "^2.4.1",
    "react-native-hide-show-password-input": "^1.2.0",
    "react-native-inappbrowser-reborn": "^3.6.3",
    "react-native-keychain": "^8.1.1",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-mask-input": "^1.2.2",
    "react-native-masked-text": "^1.13.0",
    "react-native-modal": "^13.0.1",
    "react-native-otp-textinput": "0.0.8",
    "react-native-pager-view": "^5.4.15",
    "react-native-paper": "^4.12.0",
    "react-native-parallax-scroll-view": "^0.21.3",
    "react-native-phone-input": "^1.3.3",
    "react-native-phone-number-input": "^2.1.0",
    "react-native-picker-select": "^8.0.4",
    "react-native-pixel-perfect": "^1.0.2",
    "react-native-plaid-link-sdk": "^7.4.0",
    "react-native-push-notification": "^8.1.1",
    "react-native-radio-buttons-group": "^2.2.10",
    "react-native-reanimated": "^2.9.1",
    "react-native-redash": "^16.2.3",
    "react-native-remote-svg": "^2.0.7",
    "react-native-render-html": "^6.3.4",
    "react-native-safe-area-context": "^4.2.4",
    "react-native-screens": "^3.14.0",
    "react-native-scrollable-tab-view": "^1.0.0",
    "react-native-searchable-dropdown": "^1.1.3",
    "react-native-select-two": "^1.1.0",
    "react-native-shimmer": "^0.6.0",
    "react-native-simple-toast": "^1.1.3",
    "react-native-slider": "^0.11.0",
    "react-native-speedometer": "^1.0.5",
    "react-native-speedometer-chart": "^0.7.5",
    "react-native-spinkit": "^1.5.1",
    "react-native-splash-screen": "^3.3.0",
    "react-native-step-indicator": "^1.0.3",
    "react-native-svg": "^12.3.0",
    "react-native-svg-charts": "^5.4.0",
    "react-native-swiper": "^1.6.0",
    "react-native-tab-view": "^3.1.1",
    "react-native-table-component": "^1.2.2",
    "react-native-ticker": "^5.0.1",
    "react-native-touch-id": "^4.4.1",
    "react-native-ui-lib": "^6.13.3",
    "react-native-vector-icons": "^9.1.0",
    "react-native-webview": "^11.18.1",
    "react-redux": "^8.0.1",
    "react-sortable-table": "^1.4.0",
    "reanimated-bottom-sheet": "^1.0.0-alpha.22",
    "redux": "^4.2.0",
    "redux-persist": "^6.0.0",
    "rn-wave-bottom-bar": "^2.1.3",
    "socket.io-client": "^4.4.1",
    "use-deep-compare-effect": "^1.8.1",
    "yup": "^0.32.11"
  }

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

cwomack commented 1 year ago

Hello, @shuklaaalind 👋. Can you give more details on steps to reproduce this error? What were you trying to do with Push Notifications when this error occurred?

shuklaaalind commented 1 year ago

@cwomack i was using @aws-amplify/pushnotification": "^4.3.29" on which notification data was not coming up when i was getting pushnotification (app was not running in background) so i just tried updating the @aws-amplify/pushnotification, "aws-amplify" and "aws-amplify-react-native" to the latest version and from then i was not able to build the app

cwomack commented 1 year ago

@shuklaaalind, if you updated those specific packages recently will you try and see if deleting the node_modules folder along with your package-lock.json file, and then reinstalling your dependencies with npm install resolves the issue?

cwomack commented 1 year ago

Closing this issue as we have not heard back from you. If you are still experiencing this, please feel free to reply back and provide any information previously requested and we'd be happy to re-open the issue.

Thank you!