Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to make it works #232

Open
onemore-creator opened this issue May 10, 2024 · 1 comment
Open

Unable to make it works #232

onemore-creator opened this issue May 10, 2024 · 1 comment

Comments

@onemore-creator
Copy link

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)
@antiden
Copy link

antiden commented May 17, 2024

@onemore-creator Use "@nuxtjs/style-resources": "^2",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants