Skip to content

Cannot read properties of undefined #96

@TuguldurJ

Description

@TuguldurJ

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));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions