Quantcast
Channel: Error - Only 'amd' and 'system' modules are supported alongside --outFile - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Error - Only 'amd' and 'system' modules are supported alongside --outFile

$
0
0

Trying to compile an Angular project in Visual Studio Code with ng build and serve it with ng serve

In both cases got the following error:

Only 'amd' and 'system' modules are supported alongside --outFile

Error

Didn't use --outFile option for compiling and serving so don't really know where the error is.

Also tried to remove "module": "commonjs" from tsconfig.spec.json as mentioned here but still not working.

  • tsConfig.spec.json

tsConfig.json

Any idea on how to solve this error? Thanks!


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>