aws-samples / amazon-cognito-facial-recognition-auth

Amazon Cognito User Pool with Passwordless Facial Recognition Auth configured
MIT No Attribution
36 stars 16 forks source link

Not working since support for nodejs8.10 is removed by AWS #1

Closed newUserForTesting closed 4 years ago

newUserForTesting commented 4 years ago

If possible could you please fix it?

Also while deploying manually AWS SAM CLI, facing following error:

npm run bd

cognito-facial-rekognition-auth-backend@1.0.0 bd C:\Users\saurabh\Downloads\amazon-cognito-facial-recognition-auth-master npm run check-env && npm run package && npm run deploy

cognito-facial-rekognition-auth-backend@1.0.0 check-env C:\Users\saurabh\Downloads\amazon-cognito-facial-recognition-auth-master if [ -e ${S3_BUCKET_NAME} ] || [ -e ${USER_POOL_NAME} ] || [ -e ${STACK_NAME} ] || [ -e ${SES_FROM_ADDRESS} ]; then exit 1; fi

-e was unexpected at this time. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! cognito-facial-rekognition-auth-backend@1.0.0 check-env: if [ -e ${S3_BUCKET_NAME} ] || [ -e ${USER_POOL_NAME} ] || [ -e ${STACK_NAME} ] || [ -e ${SES_FROM_ADDRESS} ]; then exit 1; fi npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cognito-facial-rekognition-auth-backend@1.0.0 check-env script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\saurabh\AppData\Roaming\npm-cache_logs\2020-01-08T04_59_37_910Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! cognito-facial-rekognition-auth-backend@1.0.0 bd: npm run check-env && npm run package && npm run deploy npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cognito-facial-rekognition-auth-backend@1.0.0 bd script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\saurabh\AppData\Roaming\npm-cache_logs\2020-01-08T04_59_37_977Z-debug.log

newUserForTesting commented 4 years ago

Could someone please reply?

newUserForTesting commented 4 years ago

Hoping that somebody would have helped. sigh

enr1c091 commented 4 years ago

Hi! Thank you for pointing this error and sorry for the late response!

I'll be fixing the runtimes and committing the code.

enr1c091 commented 4 years ago

Hopefully it's working now. Closing this issue for now :)

ulisescarreonalvarez commented 4 years ago

I got the same error