Random Error: ENOENT: no such file or directory


I added a page called polls using the CLI and I randomly keep getting this error when I try to push to this page.
Sometimes this shows up, at other times it works just fine. It feel that ionic is not saving the changes properly cause at times I have to restart ionic serve or hit CTR L + S for the respective page multiple time.

Code is as follows:


import { PollsPage } from '../Polls/Polls';



import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

import { AddPollPage } from '../add-poll/add-poll';

  selector: 'page-polls',
  templateUrl: 'polls.html',
export class PollsPage {

  constructor(public navCtrl: NavController, public navParams: NavParams) {

  ionViewDidLoad() {
    console.log('ionViewDidLoad PollsPage');


Is there something that I am doing wrong.