Closed aguegu closed 3 years ago
我试了下 node 7.3(npm3.10.10)安装是可以成功的~ 建议用npm安装~
@aguegu 问题是否已经解决?
感觉并没有,淘宝源感觉也不是很稳定的感觉。有别的朋友帮忙验证么?
我也出现这个问题
也出现了这个问题
似乎最新版的脚手架weex init project-name
不管用yarn和npm安装都会出现问题。
希望你们能测试一下,谢谢。
$ weex init project-name
$ cd project-name
$ yarn
yarn install v0.18.1
info No lockfile found.
[1/4] 🔍 Resolving packages...
warning serve > jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
warning serve > jade > transformers@2.1.0: Deprecated, use jstransformer
warning weex-devtool > koa-serve > koa-send > mz > native-or-bluebird@1.2.0: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
[2/4] 🚚 Fetching packages...
error koa-serve-static@0.0.1: The engine "node" is incompatible with this module. Expected version "1.x.x".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
@exolution @Jinjiang 用yarn确实安装有问题,用 npm 安装 没有问题。 node : 6.0.0 npm : 3.8.6
@limichange yarn的问题我们会及时排查的,建议你先使用npm安装
@JackPu THX.
我也遇到这个报错了。没有办法安装 yarn global add weex-toolkit
@cooliean
$ yarn global add weex-toolkit@beta
我也遇到了这个错误,用npm安装成功了。用的是npm i weex-toolkit@beta
PS E:\Repository\Workspace\Helloweex\awesome-project> yarn
yarn install v0.20.3
info No lockfile found.
[1/4] Resolving packages...
warning serve > jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade
warning serve > jade > transformers@2.1.0: Deprecated, use jstransformer
warning weex-devtool > koa-serve > koa-send > mz > native-or-bluebird@1.2.0: 'native-or-bluebird' is deprecated. Please use 'any-promise' instead.
[2/4] Fetching packages...
error koa-serve-static@0.0.1: The engine "node" is incompatible with this module. Expected version "1.x.x".
error Found incompatible module
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
I'm using yarn install --ignore-engines
to use yarn to install for the time being.
真的是可以的, 时间过去这么久还没解决。
yarn install --ignore-engine 可以install 但是Playground app扫过QR code之后出来network error, 这是因为 ignore-engine吗 还是我需要做些别的东西?
也试过了 npm install -g weex-toolkit@beta 但是还出现之前的error, npm 5.3.0, yarn 0.24.6, nodev8.4.0
This PR/issue doesn't receive response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.
This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.
This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.
是 node 7.3 还是 yarn 0.18.1,更新步子迈太大扯到蛋了么?
系统依赖着一块,能不能更具体一些?