Rule can only have one resource source 라면서 갑자기 nuxt 서버가 실행이 안되는 문제가 발생한다.


Nuxt sass 문제

image

처음에는 이게 뭐지하고 당황했는데 알고보니 sass-loader의 버전 문제로 인해 발생한 것이다. 다음과 같이 설치해주면 해결 된다.

shell
      npm i -D sass-loader@^10.1.1
    

참조

Nuxt installation error : Rule can only have one resource source (provided resource and test + include + exclude)

I successfully installed Vuejs and Nodejs but got a problem when installing Nuxtjs. This is what I get. I already asked some friends but it didn't work. Thanks for your help ! :) Error : Rule can o...

https://stackoverflow.com/questions/64620120/nuxt-installation-error-rule-can-only-have-one-resource-source-provided-resou