Cannot find name 'require' errors on Ionic 2.0.0-beta.2

I’m on Ionic2, and I’m running into a litany of TS errors when trying to serve my application:

I’m seeing
ERROR in [default]...Cannot find name 'require'.
ERROR in [default]...Cannot find name 'Promise'.
ERROR in [default]...Cannot find name 'Map'.

in all of my TypeScript files.

Here’s what I have in package.json:

"dependencies": {
    "angular2": "2.0.0-beta.6",
    "es6-promise": "3.0.2",
    "es6-shim": "0.33.13",
    "ionic-framework": "2.0.0-beta.2",
    "ionicons": "3.0.0-alpha.3",
    "reflect-metadata": "0.1.2",
    "rxjs": "5.0.0-beta.0",
    "zone.js": "0.5.14"
  },

I feel like I’m on the wrong version of one of these dependencies. Is there a way to resolve/suppress these errors without patching code in an npm_module file?

This is looks, that you use the old ionic CLI version

But you could try to run command

npm install

Hi xr0master,

I’ve run npm install, and I don’t see any packages being updated. Are you indicating that something else also needs to be updated outside of what’s in package.json?

The npm install runs typings install.I thought it was correct your issue.

Update ionic CLI, then create new project

npm install -g ionic@beta

You could check new versions

npm outdated