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

Cannot read properties of undefined

Open TuguldurJ opened this issue 2 years ago • 3 comments

After I upgrade to nuxt3 stable version, error shown: ERROR Cannot start nuxt: Cannot read properties of undefined (reading 'options')

module.js:13 const ORIGINAL_TEST = /.(png|jpe?g|gif|svg|webp|avif)$/i; const ORIGINAL_TEST_OLD_NUXT = /.(png|jpe?g|gif|svg|webp)$/i; const REPLACEMENT_TEST = /.(png|jpe?g|gif|webp|avif)$/i;

export default function svgModule(moduleOptions) { const options = Object.assign({}, this.options.svg, moduleOptions); this.extendBuild(setup.bind(this, options)); }

TuguldurJ avatar Nov 17 '22 03:11 TuguldurJ

Same here. Not the only module that is affected. For some reasons, it does not happen in all apps within my NX workspace

mklueh avatar Nov 17 '22 21:11 mklueh

Having the same issue. But didn't change anything since last deployment.

egidiusmengelberg avatar Nov 29 '22 14:11 egidiusmengelberg

+1

arkhamRejek avatar Dec 16 '22 08:12 arkhamRejek