template-ts-webpack: `npm run dev` does not work
thomergil opened this issue · comments
Thomer Gil commented
This is for template-ts-webpack
.
Two problems.
npm run dev
runs a server on localhost:8080, not on localhost:8082 as the documentation seems to suggest.- Navigating to
localhost:8080
yields anUncaught TypeError: this.path.indexOf is not a function
; stacktrace suggests this is inindex.ts
, line 31.
Environment: Windows 10, Cygwin, nodejs.org (14.15.3 LTS) install.
Kamran Ayub commented
Should be fixed now, thanks for reporting. Looks like the old require()
call used to work but should have been replaced with ES2015 import
and corresponding TS declarations.