I\'ve followed the starting guide and expanded a little upon for a previous angular 2 version. I\'ve updated my revision and changed everything accordingly. When I am runnin
The problem is within the system.js I think:
There is a regex, which is used to detect import-statements:
var esmRegEx = /(^\s*|[}\);\n]\s*)(import\s*(['"]|(\*\s+as\s+)?[^"'\(\)\n;]+\s*from\s*['"]|\{)|export\s+\*\s+from\s+["']|export\s*(\{|default|function|class|var|const|let|async\s+function))/;
This regex will detect import-statements within multiline-comments and cause this horrible error. I have opened an issue here:
https://github.com/systemjs/systemjs/issues/1408