To recreate the issue, follow these steps:
- Create a new directory and navigate into it using the command
mkdir
andcd
. - Initialize npm by running
npm init
and accepting the defaults. - Run
jspm init
, accepting the defaults but avoiding the use of a transpiler. - Install Aurelia framework with the command
jspm install aurelia-framework
. - Next, install Aurelia bootstrapper by running
.jspm install aurelia-bootstrapper
- Add an empty file named
tsconfig.json
to the directory. Although different configurations have been attempted without success, even a basic configuration like{ }
did not resolve the issue. Several variations based on the sample here were also unsuccessful. - Compile TypeScript with the command
tsc
.
The following errors should arise at this point:
jspm_packages/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5b3a2e293e37323a763932353f32353c1b6a756b756b76393e2f3a756a7568756d">[email protected]</a>/aurelia-binding.d.ts(331,25): error TS2304: Cannot find name 'Map'.
jspm_packages/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fb9a8e899e97929ad69992959f92959cbbcad5cbd5cbd6999e8f9ad5cad5c8d5cd">[email protected]</a>/aurelia-binding.d.ts(353,49): error TS2304: Cannot find name 'Map'.
This could indicate a missing dependency.
Additionally, TS2304 errors in other files may be present during reproduction, although they are not observed in the usual environment for unknown reasons.
Attempts to import the typings.json file from here, followed by running typings install
, did not yield any changes. Even trying `typings install es6-promise --save' did not help.
No matter what methods have been employed, the same errors persist upon running tsc
.
The current versions being used are as follows...
- npm v3.9.0
- jspm v0.16.34
- tsc v1.8.10
Any assistance would be highly valued.