Cannot read property 'imports' of undefined Nuxtjs/SSR
See original GitHub issueGetting the following error when i am adding the module to Quill.
Uncaught TypeError: Cannot read property 'imports' of undefined
at Object.<anonymous> (app.508b1bdd306748193b03.js:9923)
at e (app.508b1bdd306748193b03.js:9923)
at Object.<anonymous> (app.508b1bdd306748193b03.js:9923)
at e (app.508b1bdd306748193b03.js:9923)
at app.508b1bdd306748193b03.js:9923
at app.508b1bdd306748193b03.js:9923
at webpackJsonp../node_modules/quill-image-resize-module/image-resize.min.js (app.508b1bdd306748193b03.js:9923)
at Object../node_modules/quill-image-resize-module/image-resize.min.js (app.508b1bdd306748193b03.js:9923)
at __webpack_require__ (manifest.2ea815068b6b951c57aa.js:713)
at fn (manifest.2ea815068b6b951c57aa.js:118)
~/plugins/nuxt-quill-plugin.js
import Vue from 'vue'
import Quill from 'quill'
import { ImageResize } from 'quill-image-resize-module'
if (process.browser) {
const VueQuillEditor = require('vue-quill-editor/ssr')
Quill.register('modules/imageResize', ImageResize)
Vue.use(VueQuillEditor)
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:21
Top Results From Across the Web
Cannot read property 'imports' of undefined Nuxtjs/SSR -
Getting the following error when i am adding the module to Quill. Uncaught TypeError: Cannot read property 'imports' of undefined at Object.
Read more >Cannot read property 'imports' of undefined (react-quill ...
Since I'm using react and thus do not have a tsconfig file, I'm unable to follow solutions available on the internet. My code:...
Read more >TypeError: Cannot read property 'imports' of undefined
I was able to compile your code and migrate. Can you share the command that you were running? Truffle Compile. $ npx truffle...
Read more >[Solved]-NuxtJS Auth redirects before second API call-nuxt.js
auth.strategy.token.set(response.data.token) } let getUser = await ... Cannot read properties of undefined (reading 'weather') in nuxtjs api call · Call API ...
Read more >Importing a pipeline : Cannot read property 'length' of undefined
If I export then import it, it crashes with the error : "Cannot read property 'length' of undefined". Here is the generated json...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Temmermans
plugins: [ new webpack.ProvidePlugin({ ‘window.Quill’: ‘quill’ }) ]
https://github.com/kensnyder/quill-image-resize-module/issues/7
@Mrjianghan After i remove the brace, i get the following error in Browser Console.