当前位置:网站首页>使用ts-node报错
使用ts-node报错
2022-08-01 03:08:00 【前端菜菜DayDayUp】
问题描述:ts-node : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\ts-node.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参 阅 https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。

问题解决:
以 管理员身份 打开PowerShell(与管理员身份打开vs code之后新建终端是一样的)输入:
set-ExecutionPolicy RemoteSigned


这样就行了!!!

边栏推荐
猜你喜欢

【 Make YOLO Great Again 】 YOLOv1 v7 full range with large parsing (Neck)

The fledgling Xiao Li's 113th blog project notes: Wisdom cloud smart flower watering device combat (2) - basic Demo implementation

HCIP(15)

Browser download shortcut to desktop (PWA)

【分层强化学习】HIRO:Data-Efficient Hierarchical Reinforcement Learning

设备树的树形结构到底是怎样体现的?

Device tree - conversion from dtb format to struct device node structure

对无限debugger的一种处理方式

The fledgling Xiao Li's 114th blog project notes: Wisdom cloud intelligent flower watering device combat (3) - basic Demo implementation

每周小结(*67):为什么不敢发表观点
随机推荐
leetcode6132. 使数组中所有元素都等于零(简单,周赛)
Beijing suddenly announced that yuan universe big news
移动端页面秒开优化总结
IDEA修改注释字体
Handwritten binary search tree and test
Nmap manuals - the full version
MYSQL query interception optimization analysis
785. Quick Sort
预言机简介
The fledgling Xiao Li's 112th blog project notes: Wisdom cloud intelligent flower watering device actual combat (1) - basic Demo implementation
Summary of MVCC
北京突然宣布,元宇宙重大消息
Unity3D study notes 10 - texture array
Simple vim configuration
Game Security 03: A Simple Explanation of Buffer Overflow Attacks
Introduction to machine learning how to?
The device node structure is converted into a platform_device structure
测试
RTL8762DK RTC (5)
second uncle