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

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

$
0
0

When building typescript in VSCode, I get the following error:

error TS6082: Only 'amd' and 'system' modules are supported alongside --out.

My settings are as follows:

tsconfig.json

{"compilerOptions": {"target": "ES5","module": "commonjs","out": "current/game.js","removeComments": true,"sourceMap": false    }}

.vscode/tasks.json:

{"version": "0.1.0",    // The command is tsc. Assumes that tsc has been installed using npm install -g typescript"command": "tsc",    // The command is a shell script"isShellCommand": true,    // Show the output window only if unrecognized errors occur."showOutput": "silent",    // args is the HelloWorld program to compile."args": [],    // use the standard tsc problem matcher to find compile problems    // in the output."problemMatcher": "$tsc"}

Despite the error, the game.js file does get created and runs properly.

Anyone have any thoughts about what might cause this error?


Viewing all articles
Browse latest Browse all 3

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>