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

@tarojs/taro-plugin 未安装,或安装有误,请重新安装此依赖! #5149

Closed
yuyongyu08 opened this issue Dec 20, 2019 · 2 comments
Assignees
Milestone

Comments

@yuyongyu08
Copy link

1.通过taro init产生的新的工程,模版选的是:wxplugin,执行编译,报错如下:

> taro build --plugin weapp

👽 Taro v2.0.0-beta.9

开始编译微信小程序插件
警告  依赖安装  项目依赖 @tarojs/taro-plugin 未安装,或安装有误,请重新安装此依赖!
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:weapp: `taro build --plugin weapp`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] build:weapp script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/yuyongyu/.npm/_logs/2019-12-20T09_51_53_686Z-debug.log
The terminal process terminated with exit code: 1

2.taro info

👽 Taro v2.0.0-beta.9


  Taro CLI 2.0.0-beta.9 environment info:
    System:
      OS: macOS High Sierra 10.13.6
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 8.15.1 - ~/.nvm/versions/node/v8.15.1/bin/node
      npm: 6.10.3 - ~/.nvm/versions/node/v8.15.1/bin/npm
    npmPackages:
      @tarojs/components: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/components-qa: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/mini-runner: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/router: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/taro: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/taro-alipay: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/taro-h5: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/taro-qq: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/taro-quickapp: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/taro-swan: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/taro-tt: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/taro-weapp: 2.0.0-beta.9 => 2.0.0-beta.9 
      @tarojs/webpack-runner: 2.0.0-beta.9 => 2.0.0-beta.9 
      eslint-config-taro: 2.0.0-beta.9 => 2.0.0-beta.9 
      eslint-plugin-taro: 2.0.0-beta.9 => 2.0.0-beta.9 
      nerv-devtools: ^1.5.5 => 1.5.6 
      nervjs: ^1.5.5 => 1.5.6 
@taro-bot
Copy link

taro-bot bot commented Dec 20, 2019

CC @Chen-jj

@taro-bot
Copy link

taro-bot bot commented Dec 20, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

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

4 participants