angular - 当我尝试启动我的项目时,离子服务不起作用
解决方案
- 删除你的 node_modules 文件夹
- 重新安装你的模块
npm i
- 验证您是否同时安装了 angular 和 ionic
如果没有成功,您可能只想构建一个由 ionic 团队提供的基础项目
ionic start
然后选择提供的开始之一:
> tabs | A starting project with a simple tabbed interface
sidemenu | A starting project with a side menu with navigation in the content area
blank | A blank starter project
list | A starting project with a list
my-first-app | An example application that builds a camera with gallery
conference | A kitchen-sink application that shows off all Ionic has to offer
这应该有效。
推荐阅读
- maven - Sonatype nexus:根据存储库名称创建角色
- postgresql - 将多行插入具有默认值的列的表中
- python - ValueError:无法将字符串转换为浮点数:'Q'
- jquery - 正则表达式选择器的问题
- wordpress - 在 single.php 中自动加载帖子
- python - 将 dataFrame 与日期格式进行比较时的问题
- sql - SQL 临时表的替代方案
- python - 如何使用事件和绑定在不同帧tkinter python中显示结果
- google-app-engine - 我在付费帐户上使用自定义搜索引擎获得了“403 Forbidden”
- node.js - 使用 MERN 查看网站时如何不让用户访问您的 API