Babel输出文件不存在

时间:2017-09-14 07:02:09

标签: node.js npm babel

我尝试使用Babel编译es5 js文件,但是get file不存在错误。

命令:

npm run babel ./application/modules/js/seatMap/services/BabelTest.js --output-file ./application/modules/reservation_module/js/seatMap/services/babelOutput.js
命令执行后出现

错误:

./application/modules/reservation_module/js/seatMap/services/babel.js doesn't exist

我使用--output-file param来指定输出文件,但节点告诉我该文件不存在

0 个答案:

没有答案
相关问题