打开新的基础项目时出现“ Uncaught TypeError:a.indexOf不是函数”错误

JavaScript CSS

猪猪

2020-03-24

我使用bash通过bash创建了一个新的Foundation 5项目foundation new my-project当我在Chrome中打开index.html文件时,Uncaught TypeError: a.indexOf is not a function控制台中会显示错误,起源于jquery.min.js:4

我按照基础站点上的步骤创建了项目,但似乎无法摆脱此错误。Foundation和jQuery看起来像它们被包含并正确连接在index.html文件中,而链接的app.js文件包括$(document).foundation();

有谁知道是什么导致此错误?什么是解决方案?

控制台错误消息截图

第3688篇《打开新的基础项目时出现“ Uncaught TypeError:a.indexOf不是函数”错误》来自Winter(https://github.com/aiyld/aiyld.github.io)的站点

0个回答

问题类别

JavaScript Ckeditor Python Webpack TypeScript Vue.js React.js ExpressJS KoaJS CSS Node.js HTML Django 单元测试 PHP Asp.net jQuery Bootstrap IOS Android