Skip to content

Unable to make it works  #232

Open
Open
@onemore-creator

Description

@onemore-creator

Everything is quite straightforward: I am creating a new blank nuxt3 project using npx nuxi@latest init, trying to add nuxt-styled-resources and get this error:

ERROR  Cannot restart nuxt:  Cannot read properties of undefined (reading 'nuxt') 
at nuxtStyledResources (node_modules/@nuxtjs/style-resources/lib/module.js:7:25) 
at installModule (node_modules/@nuxt/kit/dist/index.mjs:2415:101) 
at async initNuxt (node_modules/nuxt/dist/index.mjs:4233:7)
at async NuxtDevServer._load (node_modules/nuxi/dist/chunks/dev2.mjs:6879:5)
at async NuxtDevServer.load (node_modules/nuxi/dist/chunks/dev2.mjs:6811:7)
at async _applyPromised (node_modules/nuxi/dist/chunks/dev2.mjs:3805:10)

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