-
Notifications
You must be signed in to change notification settings - Fork 682
Description
Typings 1.0.x doesn't generate 'main.d.ts' or 'browser.d.ts' by default anymore. After upgrading typings to 1.0.4, the typings folder will contain only one 'index.d.ts'.
Running 'ionic serve' will result in the following error:
...
Caught exception:
Error: ENOENT: no such file or directory, lstat 'Y:\myapp\typings\main.d.ts'
at Error (native)
at Object.fs.lstatSync (fs.js:887:18)
at Object.realpathSync (fs.js:1518:21)
at Y:\sos\sos-ms-ts\node_modules\tsify\index.js:58:38
at Array.map (native)
at DestroyableTransform.flush as _flush
at DestroyableTransform. (Y:\sos\sos-ms-ts\node_modules\through2\node_modules\readable-stream\lib_stream_transform.js:115:49)
at DestroyableTransform.g (events.js:273:16)
at emitNone (events.js:80:13)
at DestroyableTransform.emit (events.js:179:7)
...
Seems like something somewhere requires the existence of 'main.d.ts'. Grepping for 'main.d.ts' doesn't show anything interesting, just one reference in 'platform\android\assets\www\build\js\app.bundle.js.map' which is probably not the one causing it.