How to setup copy of Venia Concept to work locallyHow to deploy pwa-studio on server in production mode?PWA setup with magento2.3Magento 2 PWA Venia - how to set 404 pagePWA Setup in Magento 2.3.0 on Windows 7Adding new pages to renderRoutes — venia-conceptMagento 2.3 PWA Studio. Issue of browsing to the application

Telemetry for feature health

How to preserve electronics (computers, iPads and phones) for hundreds of years

What's the name of the logical fallacy where a debater extends a statement far beyond the original statement to make it true?

Unable to disable Microsoft Store in domain environment

What happens if I try to grapple mirror image?

Showing mass murder in a kid's book

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

The Digit Triangles

How to leave product feedback on macOS?

How to I force windows to use a specific version of SQLCMD?

El Dorado Word Puzzle II: Videogame Edition

Determining multivariate least squares with constraint

Language involving irrational number is not a CFL

Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?

Given this phrasing in the lease, when should I pay my rent?

Echo with obfuscation

How to get directions in deep space?

Can I cause damage to electrical appliances by unplugging them when they are turned on?

Did I make a mistake by ccing email to boss to others?

Confusion over Hunter with Crossbow Expert and Giant Killer

Do I have to take mana from my deck or hand when tapping a dual land?

Air travel with refrigerated insulin

How to make a list of partial sums using forEach

Sound waves in different octaves



How to setup copy of Venia Concept to work locally


How to deploy pwa-studio on server in production mode?PWA setup with magento2.3Magento 2 PWA Venia - how to set 404 pagePWA Setup in Magento 2.3.0 on Windows 7Adding new pages to renderRoutes — venia-conceptMagento 2.3 PWA Studio. Issue of browsing to the application













0















I'm exploring PWA Studio and one thing I'm interested in finding out is how it can be easily used by copying Venia-Concept and using it as a stand alone REACT app. Rather than downloading the entire monorepo which includes all the other packages.



So far I've tried the below but it exits with an error saying it can't find babel, I'm not sure why as it works when I follow the instructions to install it as a monorepo.



git clone https://github.com/magento-research/pwa-studio.git venia-temp
cd venia-temp
cp -R packages/venia-concept ../
cp babel.config.js ../venia-concept/
cd ../venia-concept/
yarn install
cp .env.dist .env
yarn run build

$ yarn run clean && yarn run build:esm && yarn run validate-queries && yarn run build:prod
$ rimraf dist esm
$ BABEL_ENV=development babel src --out-dir esm --root-mode 'upward' --source-maps --copy-files
/bin/sh: babel: command not found
error Command failed with exit code 127.


Any ideas on what's causing this issue to occur and how I can get it working?



I know I could use the venia-consumer-example or fallback-studio, but I'm interested in seeing how it can work this way too.









share


























    0















    I'm exploring PWA Studio and one thing I'm interested in finding out is how it can be easily used by copying Venia-Concept and using it as a stand alone REACT app. Rather than downloading the entire monorepo which includes all the other packages.



    So far I've tried the below but it exits with an error saying it can't find babel, I'm not sure why as it works when I follow the instructions to install it as a monorepo.



    git clone https://github.com/magento-research/pwa-studio.git venia-temp
    cd venia-temp
    cp -R packages/venia-concept ../
    cp babel.config.js ../venia-concept/
    cd ../venia-concept/
    yarn install
    cp .env.dist .env
    yarn run build

    $ yarn run clean && yarn run build:esm && yarn run validate-queries && yarn run build:prod
    $ rimraf dist esm
    $ BABEL_ENV=development babel src --out-dir esm --root-mode 'upward' --source-maps --copy-files
    /bin/sh: babel: command not found
    error Command failed with exit code 127.


    Any ideas on what's causing this issue to occur and how I can get it working?



    I know I could use the venia-consumer-example or fallback-studio, but I'm interested in seeing how it can work this way too.









    share
























      0












      0








      0








      I'm exploring PWA Studio and one thing I'm interested in finding out is how it can be easily used by copying Venia-Concept and using it as a stand alone REACT app. Rather than downloading the entire monorepo which includes all the other packages.



      So far I've tried the below but it exits with an error saying it can't find babel, I'm not sure why as it works when I follow the instructions to install it as a monorepo.



      git clone https://github.com/magento-research/pwa-studio.git venia-temp
      cd venia-temp
      cp -R packages/venia-concept ../
      cp babel.config.js ../venia-concept/
      cd ../venia-concept/
      yarn install
      cp .env.dist .env
      yarn run build

      $ yarn run clean && yarn run build:esm && yarn run validate-queries && yarn run build:prod
      $ rimraf dist esm
      $ BABEL_ENV=development babel src --out-dir esm --root-mode 'upward' --source-maps --copy-files
      /bin/sh: babel: command not found
      error Command failed with exit code 127.


      Any ideas on what's causing this issue to occur and how I can get it working?



      I know I could use the venia-consumer-example or fallback-studio, but I'm interested in seeing how it can work this way too.









      share














      I'm exploring PWA Studio and one thing I'm interested in finding out is how it can be easily used by copying Venia-Concept and using it as a stand alone REACT app. Rather than downloading the entire monorepo which includes all the other packages.



      So far I've tried the below but it exits with an error saying it can't find babel, I'm not sure why as it works when I follow the instructions to install it as a monorepo.



      git clone https://github.com/magento-research/pwa-studio.git venia-temp
      cd venia-temp
      cp -R packages/venia-concept ../
      cp babel.config.js ../venia-concept/
      cd ../venia-concept/
      yarn install
      cp .env.dist .env
      yarn run build

      $ yarn run clean && yarn run build:esm && yarn run validate-queries && yarn run build:prod
      $ rimraf dist esm
      $ BABEL_ENV=development babel src --out-dir esm --root-mode 'upward' --source-maps --copy-files
      /bin/sh: babel: command not found
      error Command failed with exit code 127.


      Any ideas on what's causing this issue to occur and how I can get it working?



      I know I could use the venia-consumer-example or fallback-studio, but I'm interested in seeing how it can work this way too.







      pwa-studio venia





      share












      share










      share



      share










      asked 6 mins ago









      HollyHolly

      2,33733377




      2,33733377




















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266760%2fhow-to-setup-copy-of-venia-concept-to-work-locally%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266760%2fhow-to-setup-copy-of-venia-concept-to-work-locally%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Jet Time Laivasto | Lähteet | Aiheesta muualla | NavigointivalikkoJet Time - The CompanyThe CompanyManagementJet Time aloittaa lauantaina Suomi-rekisterissä olevalla Boeing 737 -koneellaJettime Finland Fleet Details and HistoryJettime Fleet Details and HistoryRegional Jet OÜ takes over ATR production for SASJet Time Returns To Its Core BusinessYhtiön kotisivutlaajentamalla

          Olympian arkeologinen museo Sisällysluettelo Historia ja rakennus | Kokoelmat | Lähteet | Aiheesta muualla | Navigointivalikko37°38′36″N, 21°37′46″EInfobox OKArchaeological Museum of Olympia: HistoryArchaeological Museum of Olympia: DescriptionΜουσείο Ιστορίας των Ολυμπιακών Αγώνων της Αρχαιότητας: ΙστορικόArchaeological Museum of Olympia

          Äpy Sisällysluettelo Äpyt kautta historian | Esimerkkejä Äpy-huumorista | Katso myös | Kirjallisuutta | Aiheesta muualla | Navigointivalikkowww.äpy.fi