Runtime Error with starter pack


#1

Hi,

when I serve an new ionic app, I get this error :

setting getter-only property “toBlob”

Stack :
h@http://localhost:8100/build/polyfills.js:2:27873 p@http://localhost:8100/build/polyfills.js:2:28093 @http://localhost:8100/build/polyfills.js:3:23447 c</r.__load_patch@http://localhost:8100/build/polyfills.js:3:3528 @http://localhost:8100/build/polyfills.js:3:23333 @http://localhost:8100/build/polyfills.js:2:23626 @http://localhost:8100/build/polyfills.js:2:23612 e@http://localhost:8100/build/polyfills.js:1:65 @http://localhost:8100/build/polyfills.js:2:23595 @http://localhost:8100/build/polyfills.js:1:2

How to clear this error ?

Thanx !


#2

Post your ionic info output please.

What is this “starter pack” you refer to in the topic title?


#3

Hi !

the result of ionic info :

cli packages: (C:\Users\kevin\AppData\Roaming\npm\node_modules)

@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:

Cordova CLI : 7.0.1

local packages:

@ionic/app-scripts : 2.1.3
Cordova Platforms  : none
Ionic Framework    : ionic-angular 3.6.0

System:

Node : v6.10.0
npm  : 3.10.10
OS   : Windows 10

The starter pack is “ionic start side” :slight_smile:


#4

Run the same command you use to serve again but with --verbose added at the end and post the whole command and its output here please.

Did you get any errors during installation?


#5

E:\Ionic\test>ionic serve --verbose
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: ‘E:\Ionic\test’, local: false, binPath:
‘C:\Users\kevin\AppData\Roaming\npm\node_modules\ionic\bin\ionic’, libPath:
‘C:\Users\kevin\AppData\Roaming\npm\node_modules\ionic\dist\index.js’ }
[DEBUG] New daemon pid: 29320
[INFO] Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 - Ctrl+C to cancel
[16:26:35] watch started …
[16:26:35] build dev started …
[16:26:35] clean started …
[16:26:35] clean finished in less than 1 ms
[16:26:35] copy started …
[16:26:35] transpile started …
[16:26:38] transpile finished in 2.54 s
[16:26:38] preprocess started …
[16:26:38] deeplinks started …
[16:26:38] deeplinks finished in 32 ms
[16:26:38] preprocess finished in 32 ms
[16:26:38] webpack started …
[16:26:38] copy finished in 2.78 s
[16:26:47] webpack finished in 9.48 s
[16:26:47] sass started …
[16:26:48] sass finished in 1.02 s
[16:26:48] postprocess started …
[16:26:48] postprocess finished in less than 1 ms
[16:26:48] lint started …
[16:26:48] build dev finished in 13.13 s
[16:26:49] watch ready in 13.23 s
[16:26:49] dev server running: http://localhost:8100/

[INFO] Development server running
Local: http://localhost:8100
External: http://192.168.33.153:8100

I had no error during installation. If I create a new projet, I have the same error …


#6

Please post a screenshot of that error.


#7


#8

And this is a virgin project with no manual modifications? Or this also happens in newly created projects?

Super strange.


#9

Do you know how to debug this ? I got the same time of error