Operating System - Windows_NT(10.0.17134) - win32/x64
NodeJs - 8.11.1
Global packages
NPM - 6.5.0
yarn - 1.13.0
@quasar/cli - 1.0.0-beta.2
cordova - 8.0.0
Important local packages
quasar - 1.0.0-beta.4 -- High performance, Material Design 2, full front end stack with Vue.js -- build SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase @quasar/app - 1.0.0-beta.8 -- Quasar Framework App CLI
@quasar/extras - 1.1.0 -- Quasar Framework fonts, icons and animations
vue - 2.6.7 -- Reactive, component-oriented view layer for modern web interfaces.
vue-router - 3.0.2 -- Official router for Vue.js 2
vuex - 3.1.0 -- state management for Vue.js
electron - 3.0.8 -- Build cross platform desktop apps with JavaScript, HTML, and CSS
electron-packager - 12.2.0 -- Customize and package your Electron app with OS-specific bundles (.app, .exe, etc.) via JS or CLI
electron-builder - Not installed
@babel/core - 7.0.0-beta.54 -- Babel compiler core.
webpack - 4.25.1 -- Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7,
css, less, ... and your custom stuff. webpack-dev-server - 3.1.14 -- Serves a webpack app. Updates the browser on changes.
workbox-webpack-plugin - 3.6.3 -- A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.
register-service-worker - 1.5.2 -- Script for registering service worker, with hooks
Quasar App Extensions
*None installed*
JsFiddle
Related to src/boot. I don't this I can implement a before the root Vue instance instantiation on JsFiddle
What did you get as the error?
Firebase: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app)
Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (:2:14)
What were you expecting?
Firebase to Initialize: I stepped thru the upgrade process via Quasar Team Upgrade Notes.md over an existing project. Prior to doing so, I C&P'd the project to a new directory and started a new vsCode instance. Before the app entrypoint, Firebase and FirebaseUI dependencies are utilized. The vsCode instances running ( side-by-side ); v0.17 runs as expected; v1.0.0-beta4 throws the above exception error: ...properties may not be accessed on strict mode functions... The only changes between the instances related is the renaming of the src/plugins dir to src/boot and the export function in the quasar.conf.js to reflect the directory change.
What steps did you take, to get the error?
Upgrade from v0.17 to ^v1.0 (See above section).
Attempts to remove the error:
Stripped down the boot file in question - firebase.js
Removed all other boot inits from the config file
Jumped on Discord and troubleshooted with @AllanGaunt(EN-GB)
Verified Firebase versions between the two instances
Upgraded Firebase from v5.8.3 to v5.8.4 in the Quasar v1 instance
JsFiddle
Related to
src/boot
. I don't this I can implement abefore the root Vue instance
instantiation on JsFiddleWhat did you get as the error?
What were you expecting?
Firebase to Initialize: I stepped thru the upgrade process via Quasar Team Upgrade Notes.md over an existing project. Prior to doing so, I C&P'd the project to a new directory and started a new vsCode instance. Before the app entrypoint, Firebase and FirebaseUI dependencies are utilized. The vsCode instances running ( side-by-side ); v0.17 runs as expected; v1.0.0-beta4 throws the above exception error:
...properties may not be accessed on strict mode functions...
The only changes between the instances related is the renaming of thesrc/plugins
dir tosrc/boot
and the export function in thequasar.conf.js
to reflect the directory change.What steps did you take, to get the error?
Upgrade from v0.17 to ^v1.0 (See above section).
Attempts to remove the error:
firebase.js
Below is the boot file and a snippet from config.
The boot file,
firestore.js
:Application Entry Point,
login.vue
: