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

dva-cli: 0.8.2 new 创建出来的项目在windows10下, 在项目中使用 npm install antd --save 安装失败 #127

Open
fengyun2 opened this issue Nov 2, 2017 · 3 comments

Comments

@fengyun2
Copy link

fengyun2 commented Nov 2, 2017

环境

  1. windows10
  2. node: v8.4.0
  3. dva-cli: v0.8.2

报错

dva new  user-dashboard
cd user-dashboard
npm install antd --save
E:\test\js\1102\user-dashboard01\node_modules\acorn-dynamic-import\node_modules\acorn
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall access
npm ERR! enoent ENOENT: no such file or directory, access 'E:\test\js\1102\user-dashboard01\node_modules\acorn-dynamic-import\node_modules\acorn'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

@dbwcooper
Copy link

我也遇到了 一样的问题

@keysple
Copy link

keysple commented Dec 6, 2017

试一下用cnpm 安装,我是mac,我也遇到过,然后用cnpm就好了

@zgfang1993
Copy link

之前npm install antd,dva-loading都报这个错误。执行下面代码就好了👇

rm -rf node_modules
npm i
npm i antd --save

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