I have a relatively simple React application with a Dockerfile that I’m trying to deploy to Azure App Service. When I build the docker image locally, everything works as expected. However when I try and run the image from the build pipeline, im seeing “.map is not a function” on two of my views. It’s a simple map to render some JSX. Using dev server and locally built it works completely fine. I’m totally at a loss I have no idea what the issue could be. There’s clearly some dependency I’m missing or something different about the environment on the build server causing this issue.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
TypeError: d.map is not a function error on submit GitHub Pages? | 6 | 1006 | March 15, 2023 | |
React: .map function in not a function
|
6 | 5295 | June 1, 2021 | |
Array.map is not working in react build | 3 | 3813 | May 16, 2022 | |
Github issue - REACT app
|
1 | 315 | June 1, 2021 | |
React App on Heroku
|
1 | 689 | June 1, 2021 |