You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error "steps.map is not a function" is shown in frontend
error in docker below
recipe-buddy-mongo-1 | {"t":{"$date":"2022-07-16T13:59:26.187+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"172.18.0.3:45724","client":"conn4","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.5.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.10.104-linuxkit"},"platform":"Node.js v16.15.0, LE (unified)","version":"4.5.0|6.3.1"}}} recipe-buddy-backend-1 | TypeError: steps.map is not a function recipe-buddy-backend-1 | at RecipeScraper.parseRecipeSteps (/dist/recipes/scraper/recipeScraper.js:23:22) recipe-buddy-backend-1 | at RecipeScraper.hydrateRecipe (/dist/recipes/scraper/recipeScraper.js:92:33) recipe-buddy-backend-1 | at processTicksAndRejections (node:internal/process/task_queues:96:5) recipe-buddy-backend-1 | at async RecipesService.create (/dist/recipes/recipes.service.js:27:24) recipe-buddy-backend-1 | at async /node_modules/@nestjs/core/router/router-execution-context.js:46:28 recipe-buddy-backend-1 | at async /node_modules/@nestjs/core/router/router-proxy.js:9:17
The text was updated successfully, but these errors were encountered:
Yes - it looks as though they are populating all of the steps in the recipeInstructions field rather than one by one in the recipeSteps. I'll have a think about the best way to solve this over the weekend.
Steps to reproduce:
error in docker below
recipe-buddy-mongo-1 | {"t":{"$date":"2022-07-16T13:59:26.187+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"172.18.0.3:45724","client":"conn4","doc":{"driver":{"name":"nodejs|Mongoose","version":"4.5.0"},"os":{"type":"Linux","name":"linux","architecture":"x64","version":"5.10.104-linuxkit"},"platform":"Node.js v16.15.0, LE (unified)","version":"4.5.0|6.3.1"}}} recipe-buddy-backend-1 | TypeError: steps.map is not a function recipe-buddy-backend-1 | at RecipeScraper.parseRecipeSteps (/dist/recipes/scraper/recipeScraper.js:23:22) recipe-buddy-backend-1 | at RecipeScraper.hydrateRecipe (/dist/recipes/scraper/recipeScraper.js:92:33) recipe-buddy-backend-1 | at processTicksAndRejections (node:internal/process/task_queues:96:5) recipe-buddy-backend-1 | at async RecipesService.create (/dist/recipes/recipes.service.js:27:24) recipe-buddy-backend-1 | at async /node_modules/@nestjs/core/router/router-execution-context.js:46:28 recipe-buddy-backend-1 | at async /node_modules/@nestjs/core/router/router-proxy.js:9:17
The text was updated successfully, but these errors were encountered: