aws-samples / aws-samples/aws-amplify-react-iot-pub-sub-using-cp

Error in amplify init step

Open
#29 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I am giving command 'amplify init'. After that it asks "Choose the environment you would like to use:" and by default it shows "cpapp". I tried navigating through here with arrow keys but I didn't get test envioronment. How do I get test environment?
How to resolve this error.

Please see my command output below.

----------------------------------------------------------------------------------------------------
D:\Work\iot\source-code\temp\AWS\aws-amplify-react-iot-pub-sub-using-cp>amplify init
Note: It is recommended to run this command from the root of your app directory
? Do you want to use an existing environment? Yes
? Choose the environment you would like to use: cpapp
Using default provider awscloudformation
- Initializing your environment: cpappFailed to get profile: Profile configuration is missing for: default
(node:9804) [DEP0128] DeprecationWarning: Invalid 'main' field in 'C:\Users\ashish.srivastava\AppData\Roaming\nvm\v16.13.1\node_modules\@aws-amplify\cli\node_modules\cloudform\package.json' of 'packages/cloudform/index.js'. Please either fix that or report it to the module author
(Use `node --trace-deprecation ...` to show where the warning was created)
\ Initializing your environment: cpapp

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.