Questions tagged [ionic-serve]

18 questions
541
votes
46 answers

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory in Ionic 3

When I run an Ionic 3 project using the ionic serve command, then I am getting this error:
Himanshu Shekhar
  • 5,483
  • 3
  • 11
  • 8
2
votes
2 answers

Ionic serve is not working for Ionic 4

I upgraded ionic using npm install -g ionic@4.1.0 I started a new project with ionic start ionic-4-project blank --type=angular I attempted to serve the project with ionic serve This is the error message in the console. > ng run app:serve…
Felix Oje
  • 83
  • 2
  • 8
2
votes
1 answer

Ionic serve failing after a refresh

I'm currently working on an Ionic 3 project and when I do ionic serve then the project runs but after first time loading the ionic serve stops with the following errors: (node:487) UnhandledPromiseRejectionWarning: Unhandled promise rejection…
Black Mamba
  • 13,632
  • 6
  • 82
  • 105
1
vote
2 answers

running ionic application after it was working before : ionic serve

i have a problem running my ionic application. ionic serve command terminates itself after building the application although it was working before the result after executing the command: E:\ionic\Test>ionic serve Starting app-scripts server:…
1
vote
1 answer

Ionic2 : working with SQLite, Ionic Serve

I am working with SQLite and Ionic2. So far so good. However, I can't seems to make it work while browsing it with Ionic Serve. To put in the scenario: sometimes I need to make a quick layout adjustment / design which can be very nice if I could use…
tsuryadi
  • 421
  • 4
  • 9
1
vote
1 answer

Ionic DevApp: Google maps not showing

I have used JavaScript SDK to display map. It's working on the browser but when I open it on dev app, the page shows the blank page. ionViewDidLoad(){ this.loadMap(); } loadMap(){ this.geolocation.getCurrentPosition().then((position)…
Swapnil Patwa
  • 4,069
  • 3
  • 25
  • 37
0
votes
0 answers

Intermittent issue with "TS2339: Property 'x' does not exist on type Y" and shims-vue.d.ts

I'm new to VUE.js and to Ionic and I'm having an intermittent issue while serving locally the project using "ionic serve". When the server tries to compile the project, it seems that sometimes it doesn't apply to "shims-vue.d.ts" code, to transform…
Esteban
  • 1,496
  • 17
  • 22
0
votes
0 answers

Ionic/React input field error in useState hook

I am new to Ionic/React. I have created a simple form which has two input field.In this form i can cannot enter data in that field whats problem in ionic/react input I am new to Ionic/React. I have created a simple form which has two input field.In…
0
votes
0 answers

Ionic react live reload not working for some files with ionic serve

When running ionic serve, the browser (doesn't matter which one) doesn't reload changes in tsx files - nothing happens when saving these files, however changes in other files (such as package.json) are compiled. When running ionic serve again, all…
0
votes
1 answer

assets images are not loading in ionic 3 in development mode Ionic Serve

I am using IONIC 3.20.1 and I am facing the issue, assets images are not rendering on the browser or device as well. The folder structure is the same while creating the sample project inside the src folder then assets then imgs. but images are not…
Umesh Sehta
  • 10,555
  • 5
  • 39
  • 68
0
votes
1 answer

Node module errors while Ionic Serve

Everything working well but I don't know what happened, Now when I trying to hit Ionic Serve command it gives error and I have tried with different ionic version and node and npm version to fix the error but the issue remains same even I have tried…
Ajoy Karmakar
  • 671
  • 7
  • 14
0
votes
2 answers

ionic4 core dumped error on ionic serve: can I fix this by using a different node/npm version?

I am attempting to use Ionic 4 to build a cross platform mobile app. The problem is that I cannot serve my app to view and test it. I need help determining whether this is an issue with my versions/installations of ionic/node/npm, or something…
0
votes
1 answer

Error on ionic serve : Property 'user' does not exist on type 'Response'

I coudn't find a proper solution for this, I have the code login.ts login() { if(!this.login_form.valid) return; this.AuthService.login(this.login_form.value).subscribe((result) => { if((result.status).toString() == "Success"…
AmiLinn
  • 344
  • 1
  • 11
0
votes
1 answer

ionic serve error in mac

I'm getting following error when I'm trying to serve the ionic project. Error: Cannot find module '/Users/SampathM/thotilla/node_modules/@ionic/app-scripts' at Function.Module._resolveFilename (module.js:555:15) at Function.Module._load…
0
votes
1 answer

Localhost port cannot be killed

I am using an Ionic app for a project and want to use http://localhost:8100/. Whenever I type ionic serve --port 8100 it opens a previous ionic project that I used port 8100 for. In the CMD, I used the code netstat -a -n -o to list all of…
Hannah Mae
  • 11
  • 3
1
2