Error after ionic build:Error File '... .tmp/typings/index.d.ts' not found

Hello,
I have an Error after the cli command ionic build.
Error File ‘… .tmp/typings/index.d.ts’ not found.
Indeed there isn’t any typings directory in tmp.
The is a typings directory but of course at the root. It’s like something (config?) prevents the copy of this directory in .temp.

I can serve the app and I’ve already done a build for android and ios with successes before.
But since I add the libray Mapbox and its typings:
$ npm install -g typings
$ typings install --save --global dt~mapbox-gl
The build doesn’t work anymore.

System information:
Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.45
ios-deploy version: 1.9.0
ios-sim version: 5.0.8

And in package.json for the app:
“devDependencies”: { “typescript”: “2.0.6”

Please help me.

All the pb seems to come from
in tsconfig
"files": [
“typings/index.d.ts”
],

Why?

Typings is no longer used.

Typings

Any type definitions for third party libraries that are included via the typings tool and are included in the the typings.json file should be updated to use npm @types. An example of how this looks is:

npm install @types/lodash --save-dev --save-exact
Delete the typings.json file, and the typings directory.

Thx to you mysterioso tja2353
You have solved my pb.
David