0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Netbeans scssのコンパイルができないときに注意する点

Posted at

毎回忘れるのでメモ

Netbeansの最近のバージョンだけかもしれないけどログの見方とSCSSエラー時の対処方法

SCSSの設定で、保存時に自動でcssを作成ってやってできないとき。エラーも何も出ないのでログをみるといいのだけどログもなかなかわからない。

Windowsだと「(ユーザのフォルダ)\AppData\Roaming\NetBeans\8.2\var\log」
ここの「messages.log」このファイル。

これみても、
scss not matched within current mappings [Pair[/scss,/css]]
ってエラーだなってわかるけど、どうしたらいいかわからない。

って、よく見ると/scss /css。ルートからの指定なのですね。webroot(webルート)。
ということで以下の画像みると設定されてないわけで。設定するとうまくいきます。

scss_check.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?