why babel stores .babel.json in USERPROFILE path

前端 未结 4 1664
小蘑菇
小蘑菇 2021-01-04 11:33

I\'m running a nodejs app on azure web apps and i\'m trying to integrate babel using npm in it. The problem is that babel is trying to acccess a file at

4条回答
  •  长情又很酷
    2021-01-04 11:57

    I had this same problem, solved it by disabling the babel cache by setting the environment variable BABEL_DISABLE_CACHE=1 in my Application settings.

    You can read more about the babel cache here: https://babeljs.io/docs/usage/require/#environment-variables

提交回复
热议问题