vuetify-module icon indicating copy to clipboard operation
vuetify-module copied to clipboard

Getting error `Cannot assign to read only property 'base' of object` while disabling bundleRenderer -> runInNewContext

Open prakashchokalingam opened this issue 5 years ago • 1 comments

Module version "nuxt": "^2.14.6" "@nuxtjs/vuetify": "^1.11.2",

Getting the following error,

Cannot assign to read only property base of object #<Object>

while adding the following options to my nuxt config,

 render: {
    bundleRenderer: {
      runInNewContext: false,
    },
  },
Screenshot 2020-10-15 at 12 54 45 PM

Added the above options to resolve firebase issue https://github.com/nuxt-community/firebase-module/issues/116

My config

modules: [
    ["@nuxtjs/firebase", ...options],
    [
      "@nuxtjs/vuetify",
      {
        optionsPath: "./vuetify.options.js",
        defaultAssets: false,
        treeShake: true,
      },
    ],
  ],
  render: {
    bundleRenderer: {
      runInNewContext: false,
    }
  }

prakashchokalingam avatar Oct 15 '20 07:10 prakashchokalingam

Hello, I meet the same error as you and I resolved it because of written wrong vuetify-options. I find it at https://github.com/nuxt-community/vuetify-module/issues/268#issuecomment-621766267 and hope it helpful.

ccforeverd avatar Dec 17 '20 06:12 ccforeverd