Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local setup failure for RN - no index.js file #1031

Closed
4 tasks done
simon007-aws opened this issue Sep 12, 2023 · 3 comments
Closed
4 tasks done

Local setup failure for RN - no index.js file #1031

simon007-aws opened this issue Sep 12, 2023 · 3 comments
Labels
pending-response An issue is pending response from the issue requestor pending-triage An issue that is pending triage sandbox Issues related to sandbox apps

Comments

@simon007-aws
Copy link

Before opening, please confirm:

App Id

https://sandbox.amplifyapp.com/test/56966e81-e077-436d-86ba-5ef977ce0b9c

Region

no idea

Environment name

not set

Figma File Version (if applicable)

No response

Amplify CLI Version

12.4.0

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

16.13.2

What operating system are you using?

Windows

Browser type?

chrome

Describe the bug

Install Amplify library and initialize Amplify
After
npm install aws-amplify typescript
it says: Configure the React app's Amplify instance. Add the following code snippet to the top of your index.js:

There is no index.js.
What folder should this be in?

Also, from step 1, should the user create a new folder and cd into it?
Also in step 1, this step does not work in PowerShell (within visual studio terminal window)

Expected behavior

index.js file for me to update

Reproduction steps

ok

Project Identifier

No response

Additional information

No response

@simon007-aws simon007-aws added the pending-triage An issue that is pending triage label Sep 12, 2023
@ykethan
Copy link
Member

ykethan commented Sep 12, 2023

Hey @simon007-aws, thank you for reaching out. Noticed the missing instruction on the sandbox application, we will need to create the react native and then add it to the index.js file. I have reached out to the engineering team on this.

We can utilize the following documentation providing information on installing the Amplify CLI using NPM or curl and also creating the react native application.
https://docs.amplify.aws/start/getting-started/installation/q/integration/react-native/

@ykethan ykethan added pending-response An issue is pending response from the issue requestor sandbox Issues related to sandbox apps labels Sep 12, 2023
@ykethan
Copy link
Member

ykethan commented Oct 6, 2023

Closing the issue due to inactivity, please feel free in reaching out if you require any further assistance.

@ykethan ykethan closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2023
@github-actions
Copy link

github-actions bot commented Oct 6, 2023

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-response An issue is pending response from the issue requestor pending-triage An issue that is pending triage sandbox Issues related to sandbox apps
Projects
None yet
Development

No branches or pull requests

2 participants