Binary zip file, not able to see logs

Hello,
I have uploaded a serverless function to AWS, but none of the logs are being written with this error, when I go to view the lambda logs

There was an error loading Log Streams. Please try again by refreshing this page.

when i view the function, i have this warning:

This function contains external libraries. Uploading a new file will override these libraries.

here it is how i am deploying it

$ zip handler.zip handler.js node_modules  serverless.yml
$ AWS_PROFILE=dev serverless deploy --stage dev --region us-east-1

what am i missing?