Nuxt SSR Cannot read property 'toLowerCase' of undefined #9557
Unanswered
brignolij
asked this question in
Questions (Nuxt 2)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Versions
Reproduction
Hi, there is no reproduction. the issue appear on a "large project", i give the most information possible.
Additional Details
Steps to reproduce
When deploying Nuxt SSR using composition-api and typescript on AWS on Docker instance, I get some "Server error" when trying to get index page.
buildspec.yml.txt
docker-compose.production.yml.txt
Dockerfile.txt
package.json.txt
tsconfig.json.txt
nuxt.config.ts.txt
What is Expected?
No error
What is actually happening?
Nuxt server is having an issue. i get the following error on each home page rendering :
I already tried to clean plugin, middleware to detect the error, but i didn't found it.
About deployment
When developing using nuxt serve and when testing production on local and on local docker, we cannot reproduce the issue.
We deploy by this way:
On Ubuntu (AWS Codebuild) server we make "yarn install" and "nuxt build"
then we take the result in zip and push it to AWS Elastic beanstalk Docker server. And we use docker based on node:14.17.1 to run nuxt start.
Can you help me to understand, from the server error, which part of nuxt this error comes from or/and how to debug it ?
buildspec.yml.txt
docker-compose.production.yml.txt
Dockerfile.txt
package.json.txt
tsconfig.json.txt
nuxt.config.ts.txt
Beta Was this translation helpful? Give feedback.
All reactions