Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

Unable to build with 0.0.45 - Cannot read property 'content' of undefined #439

@tonyawad88

Description

@tonyawad88

Short description of the problem:

Hello, After upgrading to app-script 0.0.45 I am getting the following error:
/.../src/model/conversation.ts:1 Uncaught Error: Module build failed: TypeError: Cannot read property 'content' of undefined(…)

I followed the upgrade steps in the readme. I also upgraded my scripts section:

"scripts": {
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
...
"devDependencies": {
    "@ionic/app-scripts": "0.0.45",
    "typescript": "^2.0.6"
  },

Conversation Class

export class Conversation{
    date: string;
    from: string;
    msg:string;
    constructor(){}
    Set(from:string,message:string){
        this.date = new Date().toUTCString();
        this.from = from;
        this.msg = message;
    }
}

Which @ionic/app-scripts version are you using?
0.0.45

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions