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 1 year has passed since last update.

【Prepros】「Write any browsers query (for instance, 'defaults') before 'not dead'」とエラーが出た場合の対処法

Last updated at Posted at 2021-08-28

環境

  • Microsoft Windows 10.0.22000.978
  • Prepros 7.3.48

エラーの内容

一番上に「Failed to Process (file path)」、その下に「Write any browsers query (for instance, 'defaults') before 'not dead'」と書かれている。
スクリーンショット (156).png

対処法

このようなエラーが表示される場合、Autoprefixerの設定でTarget Browsersのリストの一番上に「not dead」があるはずである。エラーを消すためには、not deadの上に1つ以上条件を追加する必要がある。

設定画面

Preprosでプロジェクト名を右クリック --> Project Settings --> CSS Tools --> Autoprefixer --> Target Browsers
スクリーンショット (157).png

設定変更

「not dead」を一番下にする。
スクリーンショット (158).png

設定後

設定後に実行すると「Success」と表示される。
スクリーンショット (159).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?