/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:307
throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset))
^
TSError: ⨯ Unable to compile TypeScript
Cannot find type definition file for 'source-map'. (2688)
at getOutput (/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:307:15)
at /home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:336:16
at Object.compile (/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:498:11)
at Module.m._compile (/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:392:43)
at Module._extensions..js (module.js:663:10)
at Object.require.extensions.(anonymous function) [as .ts] (/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:395:12)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/eryk/programowanie/web/ngx-modialog/config/webpack.common.js:32:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
* **What is the expected behavior?**
Should built production version.
* **What is the motivation / use case for changing the behavior?**
Building a production version with potential pull requests..
I'm submitting a ... [x] bug report [ ] feature request [ ] question about the decisions made in the repository
What is the current behavior?
npm install
npm run build
/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:307 throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset)) ^ TSError: ⨯ Unable to compile TypeScript Cannot find type definition file for 'source-map'. (2688) at getOutput (/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:307:15) at /home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:336:16 at Object.compile (/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:498:11) at Module.m._compile (/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:392:43) at Module._extensions..js (module.js:663:10) at Object.require.extensions.(anonymous function) [as .ts] (/home/eryk/programowanie/web/ngx-modialog/node_modules/ts-node/src/index.ts:395:12) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object. (/home/eryk/programowanie/web/ngx-modialog/config/webpack.common.js:32:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)