老师出错了
来源:2-4 多终端同步工具Browsersync
1234567891234548
2019-11-22 11:52:01
PS D:\phpStudy\phpstudy_pro\WWW\mobile> browser-sync start --server --files="*"
browser-sync : 无法加载文件 D:\NodeJs\nodejs\node_global\browser-sync.ps1,因为在此系统上禁止运行脚本。有关详细信息,请
参阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 行:1 字符: 1
+ browser-sync start --server --files="*"
+ ~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [],PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
这是怎么回事
1回答
应该是在项目里面运行你输入的这个命令吧,看着你像是在phpStudy文件下运行的。
老师是在要测试的文件下运行这个项目的
你可以试试在要测试的项目里面运行这个命令
相似问题