Couldn't find preset “es2015” relative to directory “web/static/js”

后端 未结 4 1359
别跟我提以往
别跟我提以往 2020-12-24 06:44

I\'m trying to build a vagrant server for dabbling with elixir and phoenix, but after installing all requirements and dependencies, and on running mix phoenix.server

4条回答
  •  失恋的感觉
    2020-12-24 07:16

    My solution which is great works:

    .pipe(babel({
        presets: [require('babel-preset-es2015')]
    }))
    

    Thanks!

提交回复
热议问题