简体   繁体   English

为什么我不能从我的 Meteor Cordova 应用程序中删除 fastclick?

[英]Why can't I remove fastclick from my Meteor Cordova App?

I want to get rid of fastclick from my Meteor Cordova App.我想从我的 Meteor Cordova 应用程序中删除 fastclick。

I removed the package mobile experience, and fastclick has not been added but for some reason fastclick still exists in the app.我删除了移动体验包,还没有添加 fastclick 但由于某种原因 fastclick 仍然存在于应用程序中。 In .meteor/versions I see fastclick@1.0.12 added.在 .meteor/versions 中,我看到添加了 fastclick@1.0.12。 If I remove it, meteor automatically adds it back.如果我删除它,流星会自动将其添加回来。

I also checked all the dependencies of all my meteor packages, and none of them include fastclick.我还检查了所有流星包的所有依赖项,但没有一个包含 fastclick。 What is going on?到底是怎么回事? Why does fastclick keep getting added to my project.为什么 fastclick 不断被添加到我的项目中。

Here is the list of packages added这是添加的软件包列表

meteor-base@1.0.4             # Packages every Meteor app needs to have
#mobile-experience@1.0.4       # Packages for a great mobile UX
mongo@1.1.12                   # The database Meteor supports right now
blaze-html-templates@1.0.4    # Compile .html files into Meteor Blaze views
reactive-var@1.0.10            # Reactive variable for tracker
jquery@1.11.9                  # Helpful client-side library
tracker@1.1.0                 # Meteor's client-side reactive programming library

standard-minifier-css@1.2.0   # CSS minifier run for production mode
standard-minifier-js@1.2.0    # JS minifier run for production mode
es5-shim@4.6.14                # ECMAScript 5 compatibility for older browsers.
ecmascript@0.5.8              # Enable ECMAScript2015+ syntax in app code

iron:router
less@2.7.5
twbs:bootstrap
fortawesome:fontawesome
natestrauser:animate-css
chrismbeckett:toastr
mquandalle:jade
coffeescript@1.2.4_1
accounts-password@1.3.0
ian:accounts-ui-bootstrap-3
stylus@2.513.5
mrt:jquery-ui-sortable
useraccounts:bootstrap
reywood:publish-composite
aldeed:collection2
alanning:roles
mrt:moment
sacha:spin
zimme:collection-timestampable
multiply:iron-router-progress
zimme:select2-bootstrap3-css
momentjs:moment
useraccounts:iron-routing
peppelg:bootstrap-3-modal
cunneen:mailgun
yogiben:pretty-email
natestrauser:jquery-scrollto
http@1.2.9
mizzao:user-status
mizzao:autocomplete
edgee:slingshot
meteorhacks:kadira
aldeed:plans-stripe
peerlibrary:aws-sdk
mdg:camera
praxie:canvas-to-blob
iamkevingreen:imagesloaded
gwendall:auth-client-callbacks
mrt:accounts-admin-ui-bootstrap-3
shcherbin:slickjs
session@1.1.6
logging@1.1.15
reload
random@1.0.10
ejson@1.0.12
spacebars@1.0.12
check@1.2.3
facts@1.0.8
meteorhacks:cluster
kevohagan:sweetalert
konecty:autolinker
service-configuration@1.0.10
natestrauser:connection-banner
splendido:accounts-emails-field
tsega:bootstrap3-datetimepicker
accounts-google@1.0.10
mquandalle:perfect-scrollbar
meteortoys:allthings
rzymek:randomcolor
mrt:jquery-color-animation
mizzao:jquery-ui
mrt:jquery-imagesloaded
timdown:rangy
rochal:slimscroll
natestrauser:select2
themeteorchef:bert
matteodem:easy-search@1.6.4
shell-server@0.2.1
flowkey:bootstrap-tour
sewdn:highlightjs
dascire:katex
meteorhacks:ssr
mquandalle:jade-compiler
#force-ssl

I created a new project and one by one added each package from my app to the new project.我创建了一个新项目,并将我的应用程序中的每个包都一个一个地添加到新项目中。

I was able to track down the package that was responsible for adding fast click.我能够追踪到负责添加快速点击的包。

I had an old atmosphere package in my app that had a dependency on an old version of Meteor platform which required fast click.我的应用程序中有一个旧的大气包,它依赖于需要快速点击的旧版 Meteor 平台。 It had no mention of fastclick in it's package.js file.它在 package.js 文件中没有提到 fastclick。 But if you search the specific Meteor platform dependency I could see that fast click was required.但是如果您搜索特定的 Meteor 平台依赖项,我可以看到需要快速单击。

Be careful with using old atmosphere packages in your Meteor app!在您的 Meteor 应用程序中使用旧的大气包时要小心!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以快速点击在Cordova中运行的ReactJS - Can I Fastclick ReactJS running in Cordova 为什么我不能在Android应用中使用Cordova 2.7.0触发navigator.camera.getPicture? - Why can't I trigger navigator.camera.getPicture using Cordova 2.7.0 in my Android app? 为什么在cordova应用程序中无法获得全球价值? - Why I can't get the global value in a cordova app? 为什么在www文件夹中找不到cordova.js文件时,为什么需要它? - Why do I need the cordova.js file when I can't find it in my www folder? 无法从流星科尔多瓦应用程序连接到服务器 - Unable to connect to the server from meteor cordova app 我重命名了我的应用程序,现在我无法在Cordova中发布build - I renamed my app and now I can't release build in cordova 如何从其他应用程序将图像共享到我的Cordova / PhoneGap应用程序? - How can I share an Image to my Cordova/PhoneGap App from another App? 如何为我的远程服务器而不是本地主机构建流星科尔多瓦应用程序? - How do I build my meteor cordova app for my remote server instead of local host? 如何防止Meteor / Cordova应用程序连接到10.0.2.2? (为什么应用程序会连接到那里?) - How to prevent a Meteor/Cordova App from connecting to 10.0.2.2? (And why does the app connect there?) 更新我的项目后,Cordova 项目无法删除插件 - Cordova project can't remove plugin after update my project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM