Skip to main content

Questions tagged [yarn]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

PWA Frontend changes will reflect only after yarn run build

In the PWA Venia setup [ ReactJs ] , the code changes will reflect in frontend of the website only after we run this command : Yarn run build and it ll take 15- 20 seconds to complete. It will be ...
Baby in Magento's user avatar
2 votes
2 answers
1k views

Magento 2 PWA TypeError: Cannot read properties of undefined (reading 'storeConfig')

We are using Magento 2.4.5 Steps to install PWA - 1 - git clone https://github.com/magento-research/pwa-studio.git 2 - Install yarn from pwa-studio root directory yarn install 3 - Create the .env file ...
sumeet bajaj's user avatar
  • 1,316
0 votes
1 answer
450 views

Magento 2 pwa FetchError: invalid json response body at https://xxx/graphql reason: Unexpected token c in JSON at position 0

Magento 2 PWA When we run the command "yarn run watch" then getting this error on the console - FetchError: invalid json response body at https://xxx/graphql reason: Unexpected token c in ...
sumeet bajaj's user avatar
  • 1,316
1 vote
0 answers
183 views

PWA Venia Magento 2 error

Upon running yarn build on building Venia store for Magento 2, I get this error: ERROR in ./node_modules/photoswipe/dist/photoswipe-lightbox.esm.js 381:24 Module parse failed: Unexpected token (...
Adriana Carmina Ciobotaru's user avatar
2 votes
2 answers
270 views

Getting permission error while running the yarn commands in Magento 2 PWA

I was trying to set up and install Magento 2 PWA studio with venia concept now I am getting permission errors while running the yarn run build and yarn run watch:venia. I tried to set the permission ...
Hybrid Developer's user avatar
1 vote
1 answer
800 views

error Command "buildpack" not found : m2 PWA

I'm trying to setup PWA in ubuntu system as showing in this reference link: magento PWA At this step yarn buildpack create-custom-origin packages/venia-concept i'm getting this error: yarn run v1.22.4 ...
Jimit Bhavsar's user avatar
1 vote
1 answer
1k views

Cant install magento/pwa

I am trying to install Magento with pwa,but when i run in terminal command yarn create @magento/pwa, and after answer of the question- Im getting an error-- Invalid directory path; contains illegal ...
Garik Garik's user avatar
0 votes
1 answer
1k views

How to change host from localhost to my network ip in vue-storefront?

I have install Vue-storefront in my local machine(Ubuntu 18) by following these commands git clone https://github.com/DivanteLtd/vue-storefront.git vue-storefront cd vue-storefront yarn yarn ...
Bhavesh Prajapati's user avatar
1 vote
0 answers
788 views

Install yarn error:

yarn install v1.21.1 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution ...
Arun Kumar's user avatar
6 votes
2 answers
2k views

Magento 2 Vue Storefront error can't start docker in background

I am implementing the vue storefront using the following reference: https://medium.com/the-vue-storefront-journal/vue-storefront-how-to-install-and-integrate-with-magento2-227767dd65b2 https://docs....
Hardik Makwana's user avatar