After setting up a new Angular2 project using npm, I was able to successfully run it via the node command prompt with ng serve
. However, when attempting to run it from the console in IntelliJ IDEA (version 2016.3.4), I encountered an error message:
Error: Initialization error (typescript). Cannot read property 'getExecutingFilePath' of undefined