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

fork项目之后 在自己本地 npm install 成功后 npm run dev 一直卡在el-upload 界面 #67

Closed
fashen007 opened this issue Sep 13, 2016 · 5 comments

Comments

@fashen007
Copy link

fashen007 commented Sep 13, 2016

Element version

OS/Browers version

Vue version

Reproduction Link

Steps to reproduce

What is Expected?

What is actually happening?

image

> element-ui@1.0.0-rc.3 dev /Users/spademan/spademan/project/element
> npm run bootstrap && (node bin/iconInit.js & node bin/build-entry.js) && cooking watch -c scripts/cooking.demo.js


> element-ui@1.0.0-rc.3 bootstrap /Users/spademan/spademan/project/element
> npm i && lerna bootstrap --loglevel=error


> fsevents@1.0.14 install /Users/spademan/spademan/project/element/node_modules/fsevents
> node-pre-gyp install --fallback-to-build

[fsevents] Success: "/Users/spademan/spademan/project/element/node_modules/fsevents/lib/binding/Release/node-v47-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

> spawn-sync@1.0.15 postinstall /Users/spademan/spademan/project/element/node_modules/spawn-sync
> node postinstall

npm WARN EPEERINVALID vue-loader@9.3.2 requires a peer of css-loader@^0.23.1 but none was installed.
npm WARN EPACKAGEJSON element-ui@1.0.0-rc.3 No license field.
Lerna v2.0.0-beta.18
Independent Versioning Mode
Linking all dependencies
el-upload

这个是什么情况~~~~

@fashen007 fashen007 changed the title fork项目之后 在自己本地 npm install 成功后 npm run dev 一直开在el-upload 界面 fork项目之后 在自己本地 npm install 成功后 npm run dev 一直卡在el-upload 界面 Sep 13, 2016
@QingWei-Li
Copy link
Contributor

可以把你的 NPM registry 配置成 taobao 的

npm config set registry https://registry.npm.taobao.org 

要改的话到 ~/.npmrc 下修改

@fashen007
Copy link
Author

在npm run dev的时候 也在请求吗?
设置之后我npm install 但是也没有看到什么更新~~
然后再执行 npm run dev 就可以运行项目了

我电脑有科学上网的~

@QingWei-Li
Copy link
Contributor

执行 npm run dev 会安装依赖

  • npm install
  • lerna bootstrap 会安装每个子项目里的依赖

所以有两步,卡住的问题就是 lerna bootstrap 还在执行

@fashen007
Copy link
Author

fashen007 commented Sep 13, 2016

明了 ~ thanks~
tips不够明显要是能明显一点就好了~~

@QingWei-Li
Copy link
Contributor

可以到 https://github.com/lerna/lerna/issues 反馈下,不过我觉得还好

hazel54 pushed a commit to hazel54/element that referenced this issue Aug 29, 2018
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

2 participants