Amplify-js: Amplify Vue Sample getting no userPool error

Created on 28 Aug 2018  路  10Comments  路  Source: aws-amplify/amplify-js

Cloned the example: https://github.com/aws-samples/aws-amplify-vue
and running the instructions after running the app and trying to create a new user, the console is throwing no userPool error.

bug

Most helpful comment

Also curious why these instructions are using awsmobile -- isn't amplify CLI the thing to use?

All 10 comments

@richardzcode

Hi @timheuer I just tried the instructions and is working for me. Did you successfully run awsmobile push after enabing user-signin and user-files?

Yes, just tried again. I'm following step-by-step on the GitHub instructions. I'm on Windows.
image

Also curious why these instructions are using awsmobile -- isn't amplify CLI the thing to use?

It was working with awsmobile for me. I upgraded it to amplify and I'm getting the same NoUserPool error now and aws-exports.js has only region defined now.

@timheuer we will update this sample to make it compatible with amplify-cli. I saw "No User Pool" when there are multiple instances of amplify installed (nested node_modules inside of other package)

Upated the vue sample to use our new aws-amplify-vue package; documentation updated accordingly. Please give it a try!

Maybe you could provide any tips how to migrate from awsmobile to amplify?

@Zilvinaskli we don鈥檛 have any way currently to migrate an existing Mobile Hub (what the AWS Mobile ClI uses) project to a cloudformation project. We do have on our roadmap functionality to allow usage of existing AWS resources which should then allow you to use the AWS resources that Mobile Hub provisoned for you. I don鈥檛 have a timeline for that yet but we can definitely track this as a +1 to priority on that.

problem sill happening after push getting errors
Following resources failed

Resource Name: cognito4bde4608_sns-role (AWS::IAM::Role)
Event Type: create
Reason: Resource creation cancelled

脳 An error occurred when pushing the resources to the cloud

Was this page helpful?
0 / 5 - 0 ratings

Related issues

callmekatootie picture callmekatootie  路  3Comments

ldgarcia picture ldgarcia  路  3Comments

simon998yang picture simon998yang  路  3Comments

cgarvis picture cgarvis  路  3Comments

romainquellec picture romainquellec  路  3Comments