So if I have an error that typescript detects, I want to get some full error message that shows the ascii of the code that failed with a marker for exactly where it is. What I am only getting from the webpack scripts generated by “yo openfl” is an error but no “visual” showing of the source. Which makes it hard when there are errors that don’t make sense to my lame human brain w/out more context. I /ass/u/me that “tsc -p .” on a “normal” typescript project would give me such context, but i cannot just do “tsc -p .” with the stuff that “yo openfl” generated, apparently, because it seems to go trying to look for things in node_modules which results in a guhzillion errors.
$ npm run build:dev
[email protected] build:dev C:\Users\Administrator\Documents\tmp
webpack --config webpack.dev.js
Hash: 6023edc20f45b51d775c
Version: webpack 3.12.0
Time: 6681ms
Asset Size Chunks Chunk Names
app.js 4.81 MB 0 [emitted] [big] main
[0] (webpack)/buildin/global.js 509 bytes {0} [built]
[141] ./src/app.ts 1.33 kB {0} [built] [1 error]
+ 313 hidden modules
ERROR in ./src/app.ts
[tsl] ERROR in C:\Users\Administrator\Documents\tmp\src\app.ts(17,7)
TS2339: Property ‘bar’ does not exist on type ‘Foo’.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build:dev: webpack --config webpack.dev.js
npm ERR! Exit status 2