0
我已经安装了Ionic2今天,并尝试了几个启动项目。每次离子服务提供一个空白(白色)浏览器屏幕,没有内置或控制台错误。没有对启动器代码进行编辑。离子2:导致白色/空白页
app.bundle.js被截断:
> (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof
> require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return
> i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw
> f.code="MODULE_NOT_FOUND",f}var
> l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var
> n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return
> n[o].exports}var i=typeof require=="function"&&require;for(var
> o=0;o<r.length;o++)s(r[o]);return
> s})({1:[function(require,module,exports){
>
> },{}],2:[function(require,module,exports){
> arguments[4][1][0].apply(exports,arguments) },{"dup":1}]},{},[1,2])
>
> //# sourceMappingURL=app.bundle.js.map
而且app.bundle.js.map(第一部分),如下所示:
> {"version":3,"sources":["../../../../Documents/Apps/ionic2/testapp/node_modules/browser-pack/_prelude.js","app/app.ts"],"names":[],"mappings":"AAAA;ACAA","file":"app.bundle.js","sourceRoot":"../../../","sourcesContent":["(function
> e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof
> require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return
> i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw
> f.code=\"MODULE_NOT_FOUND\",f}var
> l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var
> n=t[o][1][e];
有与“白其他几个线程屏幕“,但迄今尚未找到解决方案反映了我的情况。
> Ionic info:
>
> Cordova CLI: 6.3.0 Gulp version: CLI version 3.9.0 Gulp local: Local
> version 3.9.1 Ionic Framework Version: 2.0.0-beta.10 Ionic CLI
> Version: 2.0.0-beta.35 Ionic App Lib Version: 2.0.0-beta.19 OS:
> Windows 7 SP1 Node Version: v5.12.0
解决方案试图日期基于其他职位: - 卸载/重新安装ionic2和科尔多瓦 - 重新安装的node.js - 运行命令提示符管理员
注:离子发球工作为老年人ionic1项目。
感谢您的任何见解。