fastClick报错,怎么解决

来源:6-7 Vue项目预热 - 项目代码初始化

ZPF_NEXT

2020-06-01

cxc05@zhangyanyan MINGW64 ~/Desktop
$ cd Travel1

cxc05@zhangyanyan MINGW64 ~/Desktop/Travel1 (master)
$ npm install fastClick --save
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/fastClick - Not found
npm ERR! 404
npm ERR! 404 ‘fastClick@latest’ is not in the npm registry.
npm ERR! 404 Your package name is not valid, because
npm ERR! 404 1. name can no longer contain capital letters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\cxc05\AppData\Roaming\npm-cache_logs\2020-06-01T08_31_47_845Z-debug.log

cxc05@zhangyanyan MINGW64 ~/Desktop/Travel1 (master)
$

写回答

1回答

huaweichen

2020-06-02

fastClick  要写成fastclick, Linux环境下(你用的是gitbash),文件区分大小写。

0
0

Vue2.5-2.6-3.0开发去哪儿网App 零基础入门到实战

课程紧跟Vue3版本迭代,企业主流版本Vue2+Vue3全掌握

10675 学习 · 8191 问题

查看课程