Error to install PWA by composer
-
@pask
bagisto v1.2.0 is having a bug with vendor:publish command which is already resolved here https://github.com/bagisto/bagisto/issues/3807 please update your code with the mentioned commit in this issue and try again. -
@Vaishali-Agarwal said in Error to install PWA by composer:
Hi @chrisklein00 ,
could you mention your bagisto version( go to the .env and check app_version) and the steps you have followed to install the PWA.My version is APP_VERSION=1.2.0
-
@Vaishali-Agarwal said in Error to install PWA by composer:
Hi @chrisklein00 ,
could you mention your bagisto version( go to the .env and check app_version) and the steps you have followed to install the PWA.To install:
- Or you can install Bagisto from your console.
Execute these commands below, in order
- composer create-project bagisto/bagisto-standard
- php artisan bagisto:install
-
Seems that pwa is not compatible with the 1.2.0 bagisto version...it's possible?
-
@pask @chrisklein00
Yes, currently PWA is not compatible with bagisto v1.2.0.
The team is working on that as you can check with the master branch is already comptabile now with bagisto v1.2.0 and soon will be released.Get PWA with master(development branch), you need to hit command
composer require bagisto/pwa:dev-master
-
@Vaishali-Agarwal , thanks for your reply, after that I have installed the pwa extension like your instructions and the installation look be fine, in the admin menu appears the configurations voices but nothing is created on packages/Webkul/PWA and at the mobile the layout is the same than normal mobile view...
-
Hi @pask
Thanks for the update.
could you please raise this here https://github.com/bagisto/laravel-pwa/issues so that team can check with the same.Thanks
-
This post is deleted! -
@Vaishali-Agarwal said in Error to install PWA by composer:
@pask @chrisklein00
Yes, currently PWA is not compatible with bagisto v1.2.0.
The team is working on that as you can check with the master branch is already comptabile now with bagisto v1.2.0 and soon will be released.Get PWA with master(development branch), you need to hit command
composer require bagisto/pwa:dev-master
I have cleared and reinstalled all Bagisto framework and installed PWA according your instruction, at the /mobile route of my test site a blank page appear with the error in console: Uncaught FirebaseError: Messaging: This browser doesn't support the API's required to use the firebase SDK. (messaging/unsupported-browser).
at Object.messaging (http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:395307)
at t._getService (http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:427899)
at t.<computed> [as messaging] (http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:429940)
at Object.h [as messaging] (http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:429713)
at Object.J66Q (http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:395592)
at n (http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:110)
at Object.0 (http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:64437)
at n (http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:110)
at http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:452
at http://159.89.13.130/vendor/webkul/pwa/assets/js/app.js:1:461 -
@pask
Have you added the server API key inside configuration->PWA