Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taro build --type h5 --watch报错 #14

Closed
jessejyang opened this issue Jun 7, 2018 · 5 comments
Closed

taro build --type h5 --watch报错 #14

jessejyang opened this issue Jun 7, 2018 · 5 comments

Comments

@jessejyang
Copy link

(node:660) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot find module 'postcss-plugin-constparse'
(node:660) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

yarn add postcss-plugin-constparse --save-devNot Found

还有个建议:
建议在cli的选项中增加对less的支持

谢谢

@luckyadam
Copy link
Member

收到我们看看

@xiaopxu
Copy link

xiaopxu commented Jun 7, 2018

我也是一样的错误 linux环境

yarn add --dev postcss-plugin-constparse
yarn add v1.7.0
[1/4] Resolving packages...
warning Lockfile has incorrect entry for "@^0.0.39". Ignoring it.
Couldn't find any versions for "" that matches "^0.0.39"
? Please choose a version of "" from this list: 0.0.37
error An unexpected error occurred: "https://registry.npm.taobao.org/postcss-plugin-constparse: Not found".

@luckyadam
Copy link
Member

更新 @tarojs/webpack-runner0.0.40 就可以哈

@xiaopxu
Copy link

xiaopxu commented Jun 7, 2018

可以了,谢谢哈

@luckyadam
Copy link
Member

@xiaopxu 客气客气👌

ZakaryCode pushed a commit that referenced this issue Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants