skip to Main Content

v-for cannot read prop data-Twitter bootstrap

<template> <span> <i class="fa fa-star text-warning fa-2x" v-for="r in rating" :key="r"></i> <h1>{{rating}}</h1> </span> </template> <script> export default { name: "ratings", props: ["rating"], } </script> <style> </style> This is one of my child component where 4 is passing as prop and…

VIEW QUESTION

Paypal api – Nuxt.js Cannot find module '@babel/preset-env/lib/utils'

I'm getting this error when trying to run yarn run dev --port=4000 Here is the error: Module build failed (from ./node_modules/babel-loader/lib/index.js): friendly-errors 16:52:26 Error: /Users/jacob/code/artistrepublik/elite-reviews/.nuxt/client.js: Cannot find module '@babel/preset-env/lib/utils' Require stack: - /Users/jacob/code/artistrepublik/elite-reviews/node_modules/@nuxt/babel-preset-app/src/polyfills-plugin.js - /Users/jacob/code/artistrepublik/elite-reviews/node_modules/@nuxt/babel-preset-app/src/index.js - /Users/jacob/code/artistrepublik/elite-reviews/node_modules/@babel/core/lib/config/files/module-types.js - /Users/jacob/code/artistrepublik/elite-reviews/node_modules/@babel/core/lib/config/files/configuration.js -…

VIEW QUESTION
Back To Top
Search