A
AlokaiFabianClemenz

Error _theme/layouts/default.vue

Hi i'm getting this error - does anyone know how to solve this?
R
rohrigβ€’352d ago
Hi @FabianClemenz πŸ‘‹ , it looks like there's something outside of a setup function that only works in a setup function. Can you give some more context? Code, package.json please . . .
F
FabianClemenzβ€’352d ago
The package.json looks like this: { "name": "@vue-storefront/bastuck-theme", "version": "0.0.1", "private": true, "engines": { "node": ">=14.17.x" }, "scripts": { "build": "nuxt build -m", "build:analyze": "nuxt build -a -m", "dev": "nuxt", "generate": "nuxt generate", "lint": "eslint . --ext .ts,.vue", "lint:fix": "eslint . --ext .ts,.vue --fix", "precommit": "lint-staged", "start": "nuxt start", "test": "jest", "test:e2e": "cypress open --config-file tests/e2e/cypress.json", "test:e2e:generate:report": "yarn -s mochawesome-merge "tests/e2e/report/*.json" > "tests/e2e/report.json" && yarn -s marge tests/e2e/report.json -o "tests/e2e/report"", "test:e2e:hl": "cypress run --headless --config-file tests/e2e/cypress.json", "update:check": "ncu", "update:update": "ncu -u" }, "dependencies": { "@storefront-ui/vue": "0.11.4", "@vue-storefront/bastuck": "0.0.1", "@vue-storefront/middleware": "~2.7.5", "@vue-storefront/nuxt": "~2.7.5", "@vue-storefront/nuxt-theme": "~2.7.5", "cookie-universal-nuxt": "^2.1.5", "core-js": "^3.19.0", "nuxt": "^2.15.8", "nuxt-i18n": "^6.5.0", "vee-validate": "^3.4.13", "vue-scrollto": "^2.20.0" }, "devDependencies": { "@nuxt/types": "^2.15.8", "@vue/test-utils": "^1.2.2", "babel-jest": "^27.3.1", "cypress": "^8.7.0", "cypress-pipe": "^2.0.0", "cypress-tags": "^0.3.0", "jest": "^27.5.1", "mochawesome": "^6.3.1", "mochawesome-merge": "^4.2.0", "mochawesome-report-generator": "^5.2.0", "ts-loader": "^8.1.0", "vue-jest": "^4.0.0-0" } } what code do you need?
R
rohrigβ€’352d ago
I'm hoping you were writing some code when this error appeared πŸ˜„
F
FabianClemenzβ€’352d ago
nope πŸ˜„ just trying to get it running πŸ™‚
R
rohrigβ€’352d ago
Can you tell me how to reproduce the error please? Which repo should I clone, what commands you used, etc.
F
FabianClemenzβ€’352d ago
nvm got it running πŸ™‚ our code base got a bit messy πŸ™‚ Thanks"!
Want results from more Discord servers?
Add your server
More Posts
how to send an API content-type:multipart/form-data of this format in api-client?how to send an API content-type: multipart/form-data of this format in api-client?Themes marketplaceAre there any places where I can buy a Vue Storefront theme?, something like themeforest for ShopifyGetting error while static deploy vsf with magento 2 in EC2 for production ,yarn build yarn start works , but as soon as terminal is closed server stops if i build it with taDefault locale does not workHi everybody, when I set the defaultLocale in nuxt.config.js, it seems that it does not work, the rVue Storefront Cloud Docs Swagger authorizationHi there! The docs at https://docs.vuestorefront.io/cloud/v2/api/swagger.html say that `Access to Ash: cli: command not foundanyone know why i would be getting this error `sh: cli: command not found` when doing a new install Hello,I am trying to setup the shopware PWA. The backend is hosted at Ceroline and i would like to connectComposableHow to use methods from one composable (for example method clear in useCart) in another composable (Style repeated for every componentHi there, in my inspect tool I notice that style il repeated for every component. Is it normal behavAdding a custom API callWe are trying to create a Business unit upon the creation of the new user for that we have created aGlide.js is treated as an ES moduleHi, i get this error after running `yarn start` and trying to access the page Does anyone know howtranslating componentsI cannot find a way to translate the SfAddToCart button's label. How can I do that?How is checkout components rendering?In code i find this array of steps in checkout. But how i can, for example, change component for shiUnable to make API call on serverhttps://auction-dev.ycspl.in/weeklyauction while accessing this endpoint my network request is made issue with API callWhen I do yarn start it adds undefined to my request url but when I do yarn dev it works fine. Can ygetting this error while trying to deployjenkins@ip-172-31-24-212:~/workspace/auction-frontend$ npm install npm WARN read-shrinkwrap This verUnable to access cookies in composablescontext.$bagisto.config.app.$cookies.set('vsf-bagCust-token', loginResult.data.api_access_token); myVSF UI 2 with ecommerce-integration-boilerplateHi, I hope this isn't a silly question :). Is it possible to use the new UI with the boilerplate fou