2
1

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.

docker内でgulp-cssminの一時ファイルがworking directoryに出力される場合の対処法

Posted at

症状

gulp-cssminを動かすとworking directory内にcssの一時ファイルがドバーっと出力されてしまう

こんなの

20b12a3b-8f9e-45ef-a8cd-df849e01046e.css
25966090-e808-45dc-a294-d08bddbd22f4.css
261cef28-5a44-4fc4-8623-a4d7788cf537.css
27c4dd7d-9f66-49f1-98a9-c213297f0b12.css

対処法

Dockerfile内に以下を追加

RUN npm config set unsafe-perm true

参考: https://github.com/npm/npm/issues/4531

2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?