I'm getting this message when I'm trying to get started my app:
Command:
npm webpack --config config/webpack.prod.js --progress --profile --bail
Message:
Error in bail mode: [default] Cannot find global type 'Array'.
typescript: 2.0.8 is included on package.json
Any ideas?
I fixed it by doing these steps:
~
and ^
prefixes from package dependencies, so they stop auto-updating and breaking stuff.[email protected]
- version ^2.2.1
was not working suddenly for some reason. Neither did 2.2.1
(without the ^
)That fixed the build Type errors for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With