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

npm install -g @tarojs/cli 最新版 1.3.12 出错 #4105

Closed
zhangxd1222 opened this issue Aug 8, 2019 · 12 comments
Closed

npm install -g @tarojs/cli 最新版 1.3.12 出错 #4105

zhangxd1222 opened this issue Aug 8, 2019 · 12 comments

Comments

@zhangxd1222
Copy link

zhangxd1222 commented Aug 8, 2019

npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-config-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12
npm ERR! peer dep missing: eslint-plugin-react-hooks@^1.6.1, required by eslint-config-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-config-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12

系统信息。

操作系统: [Mac OS]
Taro 版本 [v.1.3.12]
Node.js 版本 [v10.9.0]
报错平台 [微信小程序]

@taro-bot
Copy link

taro-bot bot commented Aug 8, 2019

欢迎提交 Issue~

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

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

Good luck and happy coding~

@zhangxd1222
Copy link
Author

感觉 这1.3.12版本有些问题。。。taro init 的项目没有安装 taro-ui ,npm install taro-ui 时又报错:
npm ERR! code EEXIST
npm ERR! path /Users/zhangxiaodong/Desktop/projects/quan_zi/node_modules/babel-eslint/node_modules/@babel/traverse/node_modules/.bin/babylon
npm ERR! Refusing to delete /Users/zhangxiaodong/Desktop/projects/quan_zi/node_modules/babel-eslint/node_modules/@babel/traverse/node_modules/.bin/babylon: containing path /Users/zhangxiaodong/Desktop/projects/quan_zi/node_modules/babel-eslint/node_modules/@babel/traverse/node_modules/babylon isn't under npm's control
npm ERR! File exists: /Users/zhangxiaodong/Desktop/projects/quan_zi/node_modules/babel-eslint/node_modules/@babel/traverse/node_modules/.bin/babylon
npm ERR! Move it away, and try again.

@Garfield550
Copy link
Collaborator

Taro 没自带过 Taro-UI 的,Taro UI 是需要手动安装的。

@zhangxd1222
Copy link
Author

请问下你能正常安装吗? 我明白 Taro-UI是要手动安装的,但安装,又报错

@Garfield550
Copy link
Collaborator

可以的。

~ npm install -g @tarojs/cli
npm WARN deprecated babel-plugin-remove-dead-code@1.3.2: use babel-plugin-minify-dead-code-elimination and babel-plugin-minify-guarded-expressions
npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm WARN deprecated eslint-plugin-typescript@0.12.0: Deprecated: Use @typescript-eslint/eslint-plugin instead
npm WARN deprecated joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
/usr/local/bin/taro -> /usr/local/lib/node_modules/@tarojs/cli/bin/taro

> fsevents@1.2.9 install /usr/local/lib/node_modules/@tarojs/cli/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/usr/local/lib/node_modules/@tarojs/cli/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" is installed via remote

> core-js@2.6.9 postinstall /usr/local/lib/node_modules/@tarojs/cli/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm WARN eslint-config-taro@1.3.12 requires a peer of eslint@^5.16.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-taro@1.3.12 requires a peer of eslint-plugin-react-hooks@^1.6.1 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-taro@1.3.12 requires a peer of eslint@^5.16.0 but none is installed. You must install peer dependencies yourself.

+ @tarojs/cli@1.3.12
added 1103 packages from 862 contributors in 55.404s
➜  ~

image

@zhangxd1222
Copy link
Author

谢谢。。
1.你执行下 npm list -g -depth=0 看是否有错误提示
2.用Taro init 创建个项目,在项目中 npm install taro-ui 是否报错

@zhangxd1222
Copy link
Author

直接 npm install -g @tarojs/cli 安装是没有问题的。但 npm list -g -depth=0 却有错误提示

@Garfield550
Copy link
Collaborator

Taro-UI

~ cd ./Projects/Test && npx @tarojs/cli init newTestApp
👽 Taro v1.3.12

Taro即将创建一个新项目!
Need help? Go and open issue: https://github.com/NervJS/taro/issues/new

✔ 拉取远程模板仓库成功!
? 请输入项目介绍! newTestApp
? 是否需要使用 TypeScript ? Yes
? 请选择 CSS 预处理器(Sass/Less/Stylus) Sass
? 请选择模板 默认模板

✔ 创建项目: newTestApp
✔ 创建文件: newTestApp/.editorconfig
✔ 创建文件: newTestApp/.eslintrc
✔ 创建文件: newTestApp/.npmignore
✔ 创建文件: newTestApp/global.d.ts
✔ 创建文件: newTestApp/package.json
✔ 创建文件: newTestApp/project.config.json
✔ 创建文件: newTestApp/tsconfig.json
✔ 创建文件: newTestApp/config/dev.js
✔ 创建文件: newTestApp/config/index.js
✔ 创建文件: newTestApp/config/prod.js
✔ 创建文件: newTestApp/src/app.scss
✔ 创建文件: newTestApp/src/app.tsx
✔ 创建文件: newTestApp/src/index.html
✔ 创建文件: newTestApp/src/pages/index/index.scss
✔ 创建文件: newTestApp/src/pages/index/index.tsx

✔ cd newTestApp, 执行 git init
✔ 安装成功
warning @tarojs/webpack-runner > dart-sass@1.17.3: use the "sass" package instead
warning @tarojs/webpack-runner > webpack-format-messages > kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
warning stylelint > file-entry-cache > flat-cache > circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
warning " > eslint-config-taro@1.3.12" has unmet peer dependency "eslint-plugin-react-hooks@^1.6.1".
yarn install v1.17.3
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 56.75s.

创建项目 newTestApp 成功!
请进入项目目录 newTestApp 开始工作吧!😝
➜  Test cd ./newTestApp && npm install taro-ui -S
npm WARN deprecated kleur@2.0.2: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN rm not removing /Users/u/Projects/Test/newTestApp/node_modules/.bin/uglifyjs as it wasn't installed by /Users/u/Projects/Test/newTestApp/node_modules/uglify-js
npm WARN rm not removing /Users/u/Projects/Test/newTestApp/node_modules/.bin/semver as it wasn't installed by /Users/u/Projects/Test/newTestApp/node_modules/semver
npm WARN rm not removing /Users/u/Projects/Test/newTestApp/node_modules/.bin/nopt as it wasn't installed by /Users/u/Projects/Test/newTestApp/node_modules/nopt
npm WARN rm not removing /Users/u/Projects/Test/newTestApp/node_modules/.bin/jsesc as it wasn't installed by /Users/u/Projects/Test/newTestApp/node_modules/jsesc
npm WARN rm not removing /Users/u/Projects/Test/newTestApp/node_modules/.bin/babylon as it wasn't installed by /Users/u/Projects/Test/newTestApp/node_modules/babylon

> fsevents@1.2.9 install /Users/u/Projects/Test/newTestApp/node_modules/fsevents
> node install

node-pre-gyp WARN Using request for node-pre-gyp https download
[fsevents] Success: "/Users/u/Projects/Test/newTestApp/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" is installed via remote

> node-sass@4.12.0 install /Users/u/Projects/Test/newTestApp/node_modules/node-sass
> node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.12.0/darwin-x64-72_binding.node
Download complete  ⸩ ⠋ :
Binary saved to /Users/u/Projects/Test/newTestApp/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Caching binary to /Users/u/.npm/node-sass/4.12.0/darwin-x64-72_binding.node

> core-js@2.6.9 postinstall /Users/u/Projects/Test/newTestApp/node_modules/core-js
> node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> swiper@4.5.0 postinstall /Users/u/Projects/Test/newTestApp/node_modules/swiper
> node -e "console.log('\u001b[35m\u001b[1mLove Swiper? Support Vladimir\'s work by donating or pledging on patreon:\u001b[22m\u001b[39m\n > \u001b[32mhttps://patreon.com/vladimirkharlampidi\u001b[0m\n')"

Love Swiper? Support Vladimir's work by donating or pledging on patreon:
 > https://patreon.com/vladimirkharlampidi


> node-sass@4.12.0 postinstall /Users/u/Projects/Test/newTestApp/node_modules/node-sass
> node scripts/build.js

Binary found at /Users/u/Projects/Test/newTestApp/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Testing binary
Binary is fine
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @tarojs/components@1.3.12 requires a peer of nervjs@^1.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN @tarojs/taro@1.3.12 requires a peer of nervjs@^1.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN @tarojs/taro@1.3.12 requires a peer of nervjs@^1.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN @tarojs/taro@1.3.12 requires a peer of nervjs@^1.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN @tarojs/taro@1.3.12 requires a peer of nervjs@^1.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN @tarojs/taro@1.3.12 requires a peer of nervjs@^1.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN @tarojs/taro@1.3.12 requires a peer of nervjs@^1.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-taro@1.3.12 requires a peer of eslint-plugin-react-hooks@^1.6.1 but none is installed. You must install peer dependencies yourself.
npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.

+ taro-ui@2.2.1
added 103 packages from 46 contributors, removed 82 packages, updated 1206 packages and audited 18833 packages in 95.476s
found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details
➜  newTestApp git:(master) ✗ cat ./package.json
{
  "name": "newTestApp",
  "version": "1.0.0",
  "private": true,
  "description": "newTestApp",
  "templateInfo": {
    "name": "default",
    "typescript": true,
    "css": "sass"
  },
  "scripts": {
    "build:weapp": "taro build --type weapp",
    "build:swan": "taro build --type swan",
    "build:alipay": "taro build --type alipay",
    "build:tt": "taro build --type tt",
    "build:h5": "taro build --type h5",
    "build:rn": "taro build --type rn",
    "build:qq": "taro build --type qq",
    "build:quickapp": "taro build --type quickapp",
    "dev:weapp": "npm run build:weapp -- --watch",
    "dev:swan": "npm run build:swan -- --watch",
    "dev:alipay": "npm run build:alipay -- --watch",
    "dev:tt": "npm run build:tt -- --watch",
    "dev:h5": "npm run build:h5 -- --watch",
    "dev:rn": "npm run build:rn -- --watch",
    "dev:qq": "npm run build:qq -- --watch",
    "dev:quickapp": "npm run build:quickapp -- --watch"
  },
  "author": "",
  "license": "MIT",
  "dependencies": {
    "@tarojs/components": "1.3.12",
    "@tarojs/router": "1.3.12",
    "@tarojs/taro": "1.3.12",
    "@tarojs/taro-alipay": "1.3.12",
    "@tarojs/taro-h5": "1.3.12",
    "@tarojs/taro-qq": "1.3.12",
    "@tarojs/taro-quickapp": "1.3.12",
    "@tarojs/taro-swan": "1.3.12",
    "@tarojs/taro-tt": "1.3.12",
    "@tarojs/taro-weapp": "1.3.12",
    "nerv-devtools": "^1.4.0",
    "nervjs": "^1.4.0",
    "taro-ui": "^2.2.1"
  },
  "devDependencies": {
    "@types/react": "^16.4.6",
    "@types/webpack-env": "^1.13.6",
    "@tarojs/plugin-babel": "1.3.12",
    "@tarojs/plugin-csso": "1.3.12",
    "@tarojs/plugin-sass": "1.3.12",
    "@tarojs/plugin-uglifyjs": "1.3.12",
    "@tarojs/webpack-runner": "1.3.12",
    "babel-plugin-transform-class-properties": "^6.24.1",
    "babel-plugin-transform-decorators-legacy": "^1.3.4",
    "babel-plugin-transform-jsx-stylesheet": "^0.6.5",
    "babel-plugin-transform-object-rest-spread": "^6.26.0",
    "babel-preset-env": "^1.6.1",
    "babel-eslint": "^8.2.3",
    "eslint": "^5.16.0",
    "eslint-config-taro": "1.3.12",
    "eslint-plugin-react": "^7.8.2",
    "eslint-plugin-import": "^2.12.0",
    "stylelint": "9.3.0",
    "stylelint-config-taro-rn": "1.3.12",
    "stylelint-taro-rn": "1.3.12",
    "eslint-plugin-taro": "1.3.12",
    "@typescript-eslint/parser": "^1.6.0",
    "typescript": "^3.0.1"
  }
}
➜  newTestApp git:(master) ✗

npm list

➜  newTestApp git:(master) ✗ npm list -g -depth=0
/usr/local/lib
├── @tarojs/cli@1.3.12
└── npm@6.10.3

npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-config-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12
npm ERR! peer dep missing: eslint-plugin-react-hooks@^1.6.1, required by eslint-config-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-config-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12
npm ERR! peer dep missing: eslint@^5.16.0, required by eslint-plugin-taro@1.3.12

taro build

➜  newTestApp git:(master) ✗ npm run build:weapp

> newTestApp@1.0.0 build:weapp /Users/u/Projects/Test/newTestApp
> taro build --type weapp

👽 Taro v1.3.12

开始编译项目 newTestApp
生成  工具配置  dist/project.config.json
编译  入口文件  src/app.tsx
拷贝  NPM文件   dist/npm/@tarojs/taro-weapp/npm/@tarojs/taro/dist/index.js
拷贝  NPM文件   dist/npm/@tarojs/taro-weapp/npm/@tarojs/taro/index.js
拷贝  NPM文件   dist/npm/@tarojs/taro-weapp/dist/index.js
拷贝  NPM文件   dist/npm/@tarojs/taro-weapp/index.js
生成  入口配置  dist/app.json
生成  入口文件  dist/app.js
生成  入口样式  dist/app.wxss
编译  所有页面
编译  页面文件  src/pages/index/index
生成  页面配置  dist/pages/index/index.json
生成  页面逻辑  dist/pages/index/index.js
生成  页面模板  dist/pages/index/index.wxml
生成  页面样式  dist/pages/index/index.wxss
➜  newTestApp git:(master) ✗

Peer Dependency Error 忽略一下就好。

➜  newTestApp git:(master) ✗ npm ls -depth=0
newTestApp@1.0.0 /Users/u/Projects/Test/newTestApp
├── @tarojs/components@1.3.12
├── @tarojs/plugin-babel@1.3.12
├── @tarojs/plugin-csso@1.3.12
├── @tarojs/plugin-sass@1.3.12
├── @tarojs/plugin-uglifyjs@1.3.12
├── @tarojs/router@1.3.12
├── UNMET DEPENDENCY @tarojs/taro@1.3.12
├── @tarojs/taro-alipay@1.3.12
├── UNMET DEPENDENCY @tarojs/taro-h5@1.3.12
├── @tarojs/taro-qq@1.3.12
├── @tarojs/taro-quickapp@1.3.12
├── @tarojs/taro-swan@1.3.12
├── @tarojs/taro-tt@1.3.12
├── @tarojs/taro-weapp@1.3.12
├── @tarojs/webpack-runner@1.3.12
├── @types/react@16.9.0
├── @types/webpack-env@1.14.0
├── @typescript-eslint/parser@1.13.0
├── babel-eslint@8.2.6
├── babel-plugin-transform-class-properties@6.24.1
├── babel-plugin-transform-decorators-legacy@1.3.5
├── babel-plugin-transform-jsx-stylesheet@0.6.7
├── babel-plugin-transform-object-rest-spread@6.26.0
├── babel-preset-env@1.7.0
├── eslint@5.16.0
├── eslint-config-taro@1.3.12
├── eslint-plugin-import@2.18.2
├── eslint-plugin-react@7.14.3
├── UNMET PEER DEPENDENCY eslint-plugin-react-hooks@^1.6.1
├── eslint-plugin-taro@1.3.12
├── nerv-devtools@1.4.3
├── UNMET DEPENDENCY nervjs@^1.4.0
├── stylelint@9.3.0
├── stylelint-config-taro-rn@1.3.12
├── stylelint-taro-rn@1.3.12
├── taro-ui@2.2.1
└── typescript@3.5.3

npm ERR! missing: @tarojs/taro@1.3.12, required by newTestApp@1.0.0
npm ERR! missing: @tarojs/taro-h5@1.3.12, required by newTestApp@1.0.0
npm ERR! missing: nervjs@^1.4.0, required by newTestApp@1.0.0
npm ERR! peer dep missing: eslint-plugin-react-hooks@^1.6.1, required by eslint-config-taro@1.3.12
npm ERR! missing: resolve-pathname@3.0.0, required by @tarojs/components@1.3.12
npm ERR! missing: babel-core@6.26.3, required by @tarojs/plugin-babel@1.3.12
npm ERR! missing: babel-code-frame@6.26.0, required by babel-core@6.26.3
npm ERR! missing: babel-generator@6.26.1, required by babel-core@6.26.3
npm ERR! missing: babel-helpers@6.24.1, required by babel-core@6.26.3
npm ERR! missing: babel-messages@6.23.0, required by babel-core@6.26.3
npm ERR! missing: babel-register@6.26.0, required by babel-core@6.26.3
npm ERR! missing: babel-template@6.26.0, required by babel-core@6.26.3
npm ERR! missing: babel-traverse@6.26.0, required by babel-core@6.26.3
npm ERR! missing: babel-types@6.26.0, required by babel-core@6.26.3
npm ERR! missing: babylon@6.18.0, required by babel-core@6.26.3
npm ERR! missing: convert-source-map@1.6.0, required by babel-core@6.26.3
npm ERR! missing: debug@2.6.9, required by babel-core@6.26.3
npm ERR! missing: json5@0.5.1, required by babel-core@6.26.3
npm ERR! missing: minimatch@3.0.4, required by babel-core@6.26.3
npm ERR! missing: path-is-absolute@1.0.1, required by babel-core@6.26.3
npm ERR! missing: private@0.1.8, required by babel-core@6.26.3
npm ERR! missing: slash@1.0.0, required by babel-core@6.26.3
npm ERR! missing: source-map@0.5.7, required by babel-core@6.26.3
npm ERR! missing: chalk@1.1.3, required by babel-code-frame@6.26.0
npm ERR! missing: ansi-styles@2.2.1, required by chalk@1.1.3
npm ERR! missing: supports-color@2.0.0, required by chalk@1.1.3
npm ERR! missing: babel-messages@6.23.0, required by babel-generator@6.26.1
npm ERR! missing: babel-types@6.26.0, required by babel-generator@6.26.1
npm ERR! missing: source-map@0.5.7, required by babel-generator@6.26.1
npm ERR! missing: babel-template@6.26.0, required by babel-helpers@6.24.1
npm ERR! missing: babel-core@6.26.3, required by babel-register@6.26.0
npm ERR! missing: babel-traverse@6.26.0, required by babel-template@6.26.0
npm ERR! missing: babel-types@6.26.0, required by babel-template@6.26.0
npm ERR! missing: babylon@6.18.0, required by babel-template@6.26.0
npm ERR! missing: babel-code-frame@6.26.0, required by babel-traverse@6.26.0
npm ERR! missing: babel-messages@6.23.0, required by babel-traverse@6.26.0
npm ERR! missing: babel-types@6.26.0, required by babel-traverse@6.26.0
npm ERR! missing: babylon@6.18.0, required by babel-traverse@6.26.0
npm ERR! missing: debug@2.6.9, required by babel-traverse@6.26.0
npm ERR! missing: globals@9.18.0, required by babel-traverse@6.26.0
npm ERR! missing: safe-buffer@5.1.2, required by convert-source-map@1.6.0
npm ERR! missing: uglify-js@3.6.0, required by @tarojs/plugin-uglifyjs@1.3.12
npm ERR! missing: lodash@4.17.13, required by @tarojs/router@1.3.12
npm ERR! missing: @tarojs/taro@1.3.12, required by @tarojs/taro-alipay@1.3.12
npm ERR! missing: @tarojs/taro@1.3.12, required by @tarojs/taro-qq@1.3.12
npm ERR! missing: @tarojs/taro@1.3.12, required by @tarojs/taro-quickapp@1.3.12
npm ERR! missing: @tarojs/taro@1.3.12, required by @tarojs/taro-swan@1.3.12
npm ERR! missing: @tarojs/taro@1.3.12, required by @tarojs/taro-tt@1.3.12
npm ERR! missing: @tarojs/taro@1.3.12, required by @tarojs/taro-weapp@1.3.12
npm ERR! missing: @tarojs/taro-h5@1.3.12, required by @tarojs/webpack-runner@1.3.12
npm ERR! missing: lodash@4.17.13, required by @tarojs/webpack-runner@1.3.12
npm ERR! missing: resolve@1.8.1, required by @tarojs/webpack-runner@1.3.12
npm ERR! missing: babylon@7.0.0-beta.44, required by babel-eslint@8.2.6
npm ERR! missing: eslint-scope@3.7.1, required by babel-eslint@8.2.6
npm ERR! missing: @babel/code-frame@7.5.5, required by eslint@5.16.0
npm ERR! missing: debug@4.1.1, required by eslint@5.16.0
npm ERR! missing: doctrine@3.0.0, required by eslint@5.16.0
npm ERR! missing: file-entry-cache@5.0.1, required by eslint@5.16.0
npm ERR! missing: ignore@4.0.6, required by eslint@5.16.0
npm ERR! missing: strip-ansi@4.0.0, required by eslint@5.16.0
npm ERR! missing: table@5.4.5, required by eslint@5.16.0
npm ERR! missing: @babel/highlight@7.5.0, required by @babel/code-frame@7.5.5
npm ERR! missing: js-tokens@4.0.0, required by @babel/highlight@7.5.0
npm ERR! missing: ms@2.1.2, required by debug@4.1.1
npm ERR! missing: flat-cache@2.0.1, required by file-entry-cache@5.0.1
npm ERR! missing: flatted@2.0.1, required by flat-cache@2.0.1
npm ERR! missing: write@1.0.3, required by flat-cache@2.0.1
npm ERR! missing: ansi-regex@3.0.0, required by strip-ansi@4.0.0
npm ERR! missing: slice-ansi@2.1.0, required by table@5.4.5
npm ERR! missing: string-width@3.1.0, required by table@5.4.5
npm ERR! missing: astral-regex@1.0.0, required by slice-ansi@2.1.0
npm ERR! missing: strip-ansi@5.2.0, required by string-width@3.1.0
npm ERR! missing: ansi-regex@4.1.0, required by strip-ansi@5.2.0
npm ERR! peer dep missing: acorn@^6.0.0, required by acorn-jsx@5.0.1
npm ERR! missing: read-pkg-up@2.0.0, required by eslint-plugin-import@2.18.2
npm ERR! missing: read-pkg@2.0.0, required by read-pkg-up@2.0.0
npm ERR! missing: load-json-file@2.0.0, required by read-pkg@2.0.0
npm ERR! missing: path-type@2.0.0, required by read-pkg@2.0.0
npm ERR! missing: strip-bom@3.0.0, required by load-json-file@2.0.0
npm ERR! missing: pify@2.3.0, required by load-json-file@2.0.0
npm ERR! missing: pify@2.3.0, required by path-type@2.0.0
npm ERR! missing: doctrine@2.1.0, required by eslint-plugin-react@7.14.3
npm ERR! missing: nervjs@1.4.3, required by nerv-devtools@1.4.3
npm ERR! missing: autoprefixer@8.6.5, required by stylelint@9.3.0
npm ERR! missing: debug@3.2.6, required by stylelint@9.3.0
npm ERR! missing: get-stdin@6.0.0, required by stylelint@9.3.0
npm ERR! missing: micromatch@2.3.11, required by stylelint@9.3.0
npm ERR! missing: resolve-from@4.0.0, required by stylelint@9.3.0
npm ERR! missing: ms@2.1.2, required by debug@3.2.6
npm ERR! missing: arr-diff@2.0.0, required by micromatch@2.3.11
npm ERR! missing: array-unique@0.2.1, required by micromatch@2.3.11
npm ERR! missing: braces@1.8.5, required by micromatch@2.3.11
npm ERR! missing: extglob@0.3.2, required by micromatch@2.3.11
npm ERR! missing: expand-brackets@0.1.5, required by micromatch@2.3.11
npm ERR! missing: filename-regex@2.0.1, required by micromatch@2.3.11
npm ERR! missing: is-extglob@1.0.0, required by micromatch@2.3.11
npm ERR! missing: is-glob@2.0.1, required by micromatch@2.3.11
npm ERR! missing: object.omit@2.0.1, required by micromatch@2.3.11
npm ERR! missing: parse-glob@3.0.4, required by micromatch@2.3.11
npm ERR! missing: regex-cache@0.4.4, required by micromatch@2.3.11
npm ERR! missing: expand-range@1.8.2, required by braces@1.8.5
npm ERR! missing: preserve@0.2.0, required by braces@1.8.5
npm ERR! missing: fill-range@2.2.4, required by expand-range@1.8.2
npm ERR! missing: is-number@2.1.0, required by fill-range@2.2.4
npm ERR! missing: isobject@2.1.0, required by fill-range@2.2.4
npm ERR! missing: is-extglob@1.0.0, required by extglob@0.3.2
npm ERR! missing: is-extglob@1.0.0, required by is-glob@2.0.1
npm ERR! missing: is-extglob@1.0.0, required by parse-glob@3.0.4
npm ERR! missing: is-glob@2.0.1, required by parse-glob@3.0.4
➜  newTestApp git:(master) ✗

@Garfield550
Copy link
Collaborator

没影响到你正常开发的话就先暂时忽略吧。

@zhangxd1222
Copy link
Author

好吧,谢谢。我对这些有非常强的执拗,我想解决掉这些

@briefguo
Copy link

v1.3.13 执行安装命令失败

复现步骤:

  1. 执行 npm i -g @tarojs/cli@1.3.13

  2. 查看控制台的日志

npm WARN deprecated babel-plugin-remove-dead-code@1.3.2: use babel-plugin-minify-dead-code-elimination and babel-plugin-minify-guarded-expressions
npm WARN deprecated crypto@1.0.1: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
npm WARN deprecated eslint-plugin-typescript@0.12.0: Deprecated: Use @typescript-eslint/eslint-plugin instead
npm WARN deprecated joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for postcss-pxtransform@1.3.13
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget 
npm ERR! notarget It was specified as a dependency of '@tarojs/cli'
npm ERR! notarget 

@luckyadam
Copy link
Member

@briefguo postcss-pxtransform 包已经发出去了,可以正常安装了

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