编辑器:egret 白鹭引擎 egret wing
描述:报错乱码或者命令不存在

问题描述:此处乱码报错实际上是egret 命令不存在 或 执行程序无法使用的中文情况,如果系统是非中文简体这里是显示英文报错。

原因:抱这样的错不是egret wing编辑器的原因,而是默认的node js系统变量未设置的原因,官方给出重装系统和重装软件的方法方式是行不通的,问题根源是在于这个系统变量没有定义。

解决方式:
1.官方提供的重装系统方式是不对的,千万不要重装系统,最差的解决方式是清理注册表中的egret的注册项重新安装即可。

2.假设上一种解决方式无法解决的情况,请检查node的环境变量是否被定义呢,egret自带node 通常是安装再c盘,再appdata目录里的那个node,才有效,所以有些朋友应该是重装了node,修改了自定义的环境变量才导致的egret无法编译的情况。这里就需要重新安装node 或者直接找到目录 添加上环境变量即可 路径是 C:\Users\admin\AppData\Roaming\npm

注释:重启电脑即可 ,但后续会有另外的问题 ,就是自己自定义的node会失效,下次安装node模块的时候,会在C盘中存在缓存和node模块相关的目录的情况。

修复完毕,重新打开正常运行:

白鹭引擎egret wing编辑器提示报错 egret 命令不存在 乱码的情况解决方法相关推荐

  1. 支付宝 报错 rsa_private read error : private key is NULL解决方法

    原因:  真机调试IOS支付宝功能GDB出现 rsa_private read error : private key is NULL提示 调试iOS 支付宝SDK的时候,执行demo.把 Partn ...

  2. mysql table plugin,MySql报错Table mysql.plugin doesn’t exist的解决方法

    MySql报错Table mysql.plugin doesn't exist的解决方法 一般产生原因是手工更改my.ini的数据库文件存放地址导致的 mysql服务启动时候找不到内置数据库" ...

  3. vue 报错 Cannot read property ‘__ob__‘ of undefined的解决方法

    vue 报错 Cannot read property '__ob__' of undefined的解决方法 参考文章: (1)vue 报错 Cannot read property '__ob__' ...

  4. python 报错 AttributeError: module ‘time‘ has no attribute ‘clock 解决方法

    源码如下: #引入所需要的时间库 import datetime import time#程序计时器,启动计时器 start = time.clock()#中间是放置需要测试运行时间的程序代码#计算启 ...

  5. php 正则报错,PHP正则替换函数preg_replace()报错:Notice Use of undefined constant的解决方法分析...

    本文实例讲述了PHP正则替换函数preg_replace()报错:Notice Use of undefined constant的解决方法.分享给大家供大家参考,具体如下: 环境错误级别:error ...

  6. zabbix报错cannot set resource limit: [13] Permission denied解决方法

    zabbix报错cannot set resource limit: [13] Permission denied解决方法 参考文章: (1)zabbix报错cannot set resource l ...

  7. python中引入包的时候报错AttributeError: module ‘sys‘ has no attribute ‘setdefaultencoding‘解决方法?

    python中引入包的时候报错AttributeError: module 'sys' has no attribute 'setdefaultencoding'解决方法? 参考文章: (1)pyth ...

  8. vue报错 Uncaught (in promise) NavigationDuplicated {_name:““NavigationDuplicated“... 的解决方法

    vue报错 Uncaught (in promise) NavigationDuplicated {_name:""NavigationDuplicated"... 的解 ...

  9. mybatis项目报错:java.sql.SQLException: ORA-00911: 无效字符 解决方法

    mybatis项目报错:java.sql.SQLException: ORA-00911: 无效字符 解决方法 参考文章: (1)mybatis项目报错:java.sql.SQLException: ...

最新文章

  1. java stringbuilder appendline_StringBuilder
  2. 针对谷歌浏览器Chrome的CSS hack
  3. 单元测试源码分析之二Mockito自动装配和插桩
  4. k8s 为何成为大厂标配?
  5. mysql 索引优化 2_MySQL2索引优化
  6. Java 14:instanceof的模式匹配
  7. CentOS 7.2.1511 x64下载地址
  8. VS2010平台下OpenCV编译和安装
  9. hibernate集合类型映射
  10. 计算机硬件维修教材,计算机硬件组装与维护教程(21世纪高等教育计算机规划教材)...
  11. CF813E Army Creation
  12. python生成的字符画怎么查看_通过python将图片生成字符画
  13. 服务器各项指标的图形化显示
  14. Eye Tracking Methodology Theory and Practice, Third Edition
  15. matlab高通滤波器除噪声,基于MATLAB的FIR滤波器的设计及应用(信号去噪).doc
  16. 双向迁移图协同过滤GCF的跨域推荐
  17. 什么是gzip?为什么要用gzip?使用gzip的优势和劣势是什么?需要哪些岗位进行配合才能够实现gzip内容的应用?
  18. Metasploit为什么选择Ruby语言(部分)
  19. 使用Python与Sharepoint进行交互——第1部分
  20. androrid按键事件

热门文章

  1. 解决在Android Studio 3.2找不到Android Device Monitor工具
  2. IDEA Maven的下载和配置
  3. 33.JAVA编程思想——JAVA IO File类
  4. linux安装nginx、php
  5. Element type quot;Resourcequot; must be followed by either attribute specifications, quot;gt;qu...
  6. Fiddler快速入门
  7. 使用Junit对Spring进行单元测试实战小结
  8. VirtualBox host-only 外网
  9. android 资料文档共享
  10. poj 3041 Asteroids