Open wuyanxingze opened 5 years ago
"devDependencies": { "@wepy/cli": "^2.0.0-alpha.16", "@babel/core": "^7.1.0", "@babel/preset-env": "^7.1.0", "@wepy/babel-plugin-import-regenerator": "0.0.2", "babel-eslint": "^7.2.1", "cross-env": "^5.1.3", "less": "^3.8.1", "@wepy/compiler-babel": "^2.0.1", "@wepy/compiler-less": "^2.0.3" } "@wepy/cli": "^2.0.0-alpha.18", 也是报这个错误
问题在node_modules/@wepy/complier-less/index.js第30行 this.fileDep.update => this.fileDep.addDeps
compiler-less 更新到 @wepy/compiler-less@2.0.5 再试试
更新到 @wepy/compiler-less@2.0.5 也不管用啊,试了好多方法,貌似都不管用
看了好多帖子也没有找到方法
sorry 看错了,compiler-less@2.0.5 也不是最新代码,我跟作者说下要发个版
compiler-less@2.0.6 已经发布,各位可以试试了。
npm i compiler-less@2.0.6 --save-dev
@Gcaufy 'compiler-less@2.0.6' is not in the npm registry
npm i @wepy/compiler-less@2.0.6 --save-dev
Try again.
提交ISSUE前请确保已认真阅读以下内容
Please read the following information carefully before you open an issue.
在提交issue之前必须确认以下问题:
Please make sure you understand the following points:
必须是一个bug或者功能新增。
It must be a bug or a feature request
必须是WePY相关问题,原生小程序问题去开发者论坛。
It must be a WePY issue.
已经在issue中搜索过,并且没有找到相似的issue或者解决方案。
I searched issue already but I didn't find any relevant issues or solutions.
完善下面模板中的信息
Please fill out the following template
阅读完后请在提交的issue中删除以上内容,包括分割线
DELETE THE INFORMATION ABOVE(INCLUDE THE SEPARATION LINE) BEFORE YOU OPEN AN ISSUE
Description
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]
[Description of the issue]
Environment
Reproduce
[如何重现问题]
[How to reproduce the issue]
Observed Results
[实际表现]
[Observed Results]
Expected Results
[期望表现]
[Expected Results]
Relevant Code / Logs