node_modules/.bin/babel : 无法加载文件 D: ode ode_projectes6 ode_modules.binabel.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.co m/fwlink/?LinkID=135170 中的 about_Execution_Policies。

刚入门es6,遇到上面问题,然后

解决方案:

以管理员身份运行vs code
执行:get-ExecutionPolicy,显示Restricted,表示状态是禁止的
执行:set-ExecutionPolicy RemoteSigned
这时再执行get-ExecutionPolicy,就显示RemoteSigned
搞定!!!!!!!

原文地址:https://www.cnblogs.com/share-record/p/11821734.html