Nuxt.js: Styles - this relative module was not found.

Created on 29 Jan 2018  路  4Comments  路  Source: nuxt/nuxt.js

I put the CSS into config and got this error:

This relative module was not found:

* ../assets/styles/style.scss in ./.nuxt/App.js
  nuxt: Call close hooks (2) +0ms
  nuxt: server closed +1ms

Tip: my app/nuxt app isn't in the root dir of project.

This question is available on Nuxt.js community (#c2357)

Most helpful comment

Do you have node-sass + sass-loader ?
npm install --save-dev node-sass sass-loader

All 4 comments

Do you have node-sass + sass-loader ?
npm install --save-dev node-sass sass-loader

Closing due to lack of details. Reopen if still happens or with more info pls.

For anyone else coming here, as per what @Michkkael wrote, after installing node-sass and sass-loader this fixed this issue for me.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lazycrazy picture lazycrazy  路  3Comments

bimohxh picture bimohxh  路  3Comments

maicong picture maicong  路  3Comments

uptownhr picture uptownhr  路  3Comments

mattdharmon picture mattdharmon  路  3Comments