FreeCodeCamp--Make Object Properties Private

本文讲解了在构造函数中如何创建私有属性和方法,通过使用var关键字而非this,使得这些属性和方法在对象外部不可访问。以Car和Bike为例,展示了如何控制外部对私有属性的访问,如限制对speed和gear的直接修改。

对象拥有自己的特征,称为 属性,对象还有自己的函数,称为 方法 。
在前面的课程(构造函数)中,我们使用了 this 指向当前(将要被创建的)对象中的 公有属性 。
我们也可以创建 私有属性 和 私有方法 ,它们两个在对象外部是不可访问的。
为了完成这个任务,我们在 构造函数 中,使用我们熟悉的 var 关键字去创建变量,来替代我们使用 this 创建属性 。
比如,我们想记录我们的car行驶的 speed ,但是我们希望外面的代码对 speed 的修改只能是加速或减速(而不是变成字符串、直接赋值成某个速度等其他操作),那么如何达到这类操作的目的呢?

编辑器中的 构造函数 展示了如何实现这种控制模式。
该你自己试试了!修改 Bike 的 构造函数 ,使它有一个名为 gear 的 私有属性 ,还有两个公有方法,叫做 getGear 和 setGear ,这两个方法用来获得和设置 gear 的值。

var Car = function() {
  // this is a private variable
  var speed = 10;

  // these are public methods
  this.accelerate = function(change) {
    speed += change;
  };

  this.decelerate = function() {
    speed -= 5;
  };

  this.getSpeed = function() {
    return speed;
  };
};

var Bike = function() {

  // 只能在这一行下面写代码
  var gear = 10;
  this.setGear = function(change) {
        gear = change;
    };
    this.getGear = function() {
        return gear;
    };
};

var myCar = new Car(5);

var myBike = new Bike();

添加的代码:

  // 只能在这一行下面写代码
  var gear = 10;
  this.setGear = function(change) {
        gear = change;
    };
    this.getGear = function() {
        return gear;
    };
};
内容概要:本文档围绕六自由度机械臂的ANN人工神经网络设计展开,涵盖正向与逆向运动学求解、正向动力学控制,并采用拉格朗日-欧拉法推导逆向动力学方程,所有内容均通过Matlab代码实现。同时结合RRT路径规划与B样条优化技术,提升机械臂运动轨迹的合理性与平滑性。文中还涉及多种先进算法与仿真技术的应用,如状态估计中的UKF、AUKF、EKF等滤波方法,以及PINN、INN、CNN-LSTM等神经网络模型在工程问题中的建模与求解,展示了Matlab在机器人控制、智能算法与系统仿真中的强大能力。; 适合人群:具备一定Ma六自由度机械臂ANN人工神经网络设计:正向逆向运动学求解、正向动力学控制、拉格朗日-欧拉法推导逆向动力学方程(Matlab代码实现)tlab编程基础,从事机器人控制、自动化、智能制造、人工智能等相关领域的科研人员及研究生;熟悉运动学、动力学建模或对神经网络在控制系统中应用感兴趣的工程技术人员。; 使用场景及目标:①实现六自由度机械臂的精确运动学与动力学建模;②利用人工神经网络解决传统解析方法难以处理的非线性控制问题;③结合路径规划与轨迹优化提升机械臂作业效率;④掌握基于Matlab的状态估计、数据融合与智能算法仿真方法; 阅读建议:建议结合提供的Matlab代码进行实践操作,重点理解运动学建模与神经网络控制的设计流程,关注算法实现细节与仿真结果分析,同时参考文中提及的多种优化与估计方法拓展研究思路。
内容概要:本文围绕电力系统状态估计中的异常检测与分类展开,重点介绍基于Matlab代码实现的相关算法与仿真方法。文章详细阐述了在状态估计过程中如何识别和分类量测数据中的异常值,如坏数据、拓扑错误和参数误差等,采用包括残差分析、加权最小二乘法(WLS)、标准化残差检测等多种经典与现代检测手段,并结合实际算例验证方法的有效性。同时,文档提及多种状态估计算法如UKF、AUKF、EUKF等在负荷突变等动态场景下的应用,强调异常处理对提升电力系统运行可靠性与安全性的重要意义。; 适合人群:具备电力系统基础知识和一定Matlab编程能力的高校研究生、科研人员及从事电力系【状态估计】电力系统状态估计中的异常检测与分类(Matlab代码实现)统自动化相关工作的工程技术人员。; 使用场景及目标:①掌握电力系统状态估计中异常数据的产生机制与分类方法;②学习并实现主流异常检测算法,提升对状态估计鲁棒性的理解与仿真能力;③服务于科研项目、课程设计或实际工程中的数据质量分析环节; 阅读建议:建议结合文中提供的Matlab代码进行实践操作,配合电力系统状态估计的基本理论进行深入理解,重点关注异常检测流程的设计逻辑与不同算法的性能对比,宜从简单案例入手逐步过渡到复杂系统仿真。
[] Error: file: common/vendor.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: common/vendor.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-forms/components/uni-forms/utils.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-forms/components/uni-forms/utils.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: utils/https.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: utils/https.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/phonenum/phonenum.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/phonenum/phonenum.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/education/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/education/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/home/home.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/home/home.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-icons/components/uni-icons/uni-icons.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-icons/components/uni-icons/uni-icons.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-forms/components/uni-forms/validate.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-forms/components/uni-forms/validate.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/Filteritems/Filteritems.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/Filteritems/Filteritems.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/jcjc/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/jcjc/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: app.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: app.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-data-select/components/uni-data-select/uni-data-select.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-list/components/uni-list-chat/uni-list-chat.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-list/components/uni-list-chat/uni-list-chat.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/inspection/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/inspection/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/login/login.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/login/login.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-list/components/uni-list-item/uni-list-item.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-list/components/uni-list-item/uni-list-item.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/DataEntry/DataEntry.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/DataEntry/DataEntry.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-forms/components/uni-forms/uni-forms.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-forms/components/uni-forms/uni-forms.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-badge/components/uni-badge/uni-badge.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-badge/components/uni-badge/uni-badge.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: uni_modules/uni-list/components/uni-list/uni-list.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: uni_modules/uni-list/components/uni-list/uni-list.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/Workbench/Workbench.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/Workbench/Workbench.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/prject/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/prject/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/zxjy/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/zxjy/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/workfrom/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/workfrom/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/user/user.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/user/user.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/pople/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/pople/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/prject/info.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/prject/info.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/sbgl/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/sbgl/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) [] Error: file: pages/work/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. Error: file: pages/work/index.js --- PLACEHOLDER PACKAGE --- This @babel/plugin-proposal-private-property-in-object version is not meant to be imported. Something is importing @babel/plugin-proposal-private-property-in-object without declaring it in its dependencies (or devDependencies) in the package.json file. Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies to work around this error. This will make this message go away. at enhance (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1579) at doTransform (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\plugins\enhance.js:1:1827) at Object.runSummerPluginHook (C:\Users\HP\AppData\Local\微信开发者工具\User Data\a8fd32e6a5bc105cbe653871a4f9b2bd\WeappCode\package.nw\js\common\miniprogram-builder\modules\corecompiler\summer\worker.js:2:1239)(env: Windows,mp,1.06.2504010; lib: development) app.js错误: Error: module 'app.js' is not defined, require args is 'app.js' at q (VM572 WASubContext.js:1) at appservice.js:7 at doWhenAllScriptLoaded (getmainpackage.js:3259) at Object.scriptLoaded (getmainpackage.js:3294) at Object.<anonymous> (getmainpackage.js:3352)(env: Windows,mp,1.06.2504010; lib: development) [system] Uncaught FrameworkError Error: module 'app.js' is not defined, require args is 'app.js' at q (VM572 WASubContext.js:1) at appservice.js:7 at doWhenAllScriptLoaded (getmainpackage.js:3259) at Object.scriptLoaded (getmainpackage.js:3294) at Object.<anonymous> (getmainpackage.js:3352) --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:2570038)(env: Windows,mp,1.06.2504010; lib: development) Error: module 'app.js' is not defined, require args is 'app.js' at q (VM572 WASubContext.js:1) at appservice.js:7 at doWhenAllScriptLoaded (getmainpackage.js:3259) at Object.scriptLoaded (getmainpackage.js:3294) at Object.<anonymous> (getmainpackage.js:3352)(env: Windows,mp,1.06.2504010; lib: development) [system] [errorReport] source= pluginverison=0 route= query= --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:195000) [system] onAppRoute update page {pages/login/login.html: {…}, pages/login/login: {…}} --> (<anonymous>) [system] [RouteContext] init 8 --> http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:1341628 [system] [App] onShow 1755089938437 {scene: 1001, path: "pages/login/login", query: {…}, mode: "default", appearance: "default", …} --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:722777) [system] [wxobs]setWeSessionId --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:722777) [system] [customTabBarManager] pageId: 8 TabBar is not exists --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:722777) [system] [addView] viewId=8 rootCompPath=pages/login/login not found --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:722777)(env: Windows,mp,1.06.2504010; lib: development) Page "pages/login/login" has not been registered yet. [perf] Service [profile][Framework] AppRoute#appLaunch cost 57 ms (38402 ~ 38459) {webviewId: 8, path: "pages/login/login", query: {…}, openType: "appLaunch", scene: 1001, …} [perf] Service [on] SLOW onAppRoute (57 ms) {webviewId: 8, path: "pages/login/login", query: {…}, openType: "appLaunch", scene: 1001, …} [perf] Service perfData: route (cost 59 ms, 1755089938401 ~ 1755089938460) b3 {entryType: "navigation", name: "route", startTime: 1755089938401, duration: 59, navigationType: "appLaunch", …} [system] [setNavigationBarTitleMap], path=pages/login/login, rawPath=pages/login/login.html --> http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:2198640 [system] [setNavigationBarTitleMap], path=pages/login/login, rawPath=pages/login/login.html, title=用户登录 --> http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:2198640 [system] clicfg_appbrand_enable_batch_load_sub_pkg failed {errMsg: "getABTestConfig:fail 开发者工具暂时不支持此 API 调试,请使用真机进行开发"} --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:374540)(env: Windows,mp,1.06.2504010; lib: development) [system] clicfg_appbrand_ios_enable_jsopdata_mock failed {errMsg: "getABTestConfig:fail 开发者工具暂时不支持此 API 调试,请使用真机进行开发"} --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:1033713)(env: Windows,mp,1.06.2504010; lib: development) [system] clicfg_appbrand_android_force_enable_aiad failed {errMsg: "getABTestConfig:fail 开发者工具暂时不支持此 API 调试,请使用真机进行开发"} --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:2101122)(env: Windows,mp,1.06.2504010; lib: development) [system] [aiad except] get expt error: {errMsg: "getABTestConfig:fail 开发者工具暂时不支持此 API 调试,请使用真机进行开发"} --> http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:2101542 [system] clicfg_appbrand_android_enable_aiad_debug_button failed {errMsg: "getABTestConfig:fail 开发者工具暂时不支持此 API 调试,请使用真机进行开发"} --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:2101299)(env: Windows,mp,1.06.2504010; lib: development) [system] clicfg_appbrand_android_enable_aiad_tag failed {errMsg: "getABTestConfig:fail 开发者工具暂时不支持此 API 调试,请使用真机进行开发"} --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:2101476)(env: Windows,mp,1.06.2504010; lib: development) [system] clicfg_appbrand_enable_batch_load_sub_pkg failed {errMsg: "getABTestConfig:fail 开发者工具暂时不支持此 API 调试,请使用真机进行开发"} --> (http://127.0.0.1:49975/appservice/__dev__/WAServiceMainContext.js?t=wechat&v=development:1:161920)(env: Windows,mp,1.06.2504010; lib: development)
08-14
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值