angular-ui / community

Placeholder repo for discussion
24 stars 6 forks source link

Unable to generate "messages.xlf" file for "i18n" due to Error: Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. #5

Closed Deepika2592 closed 7 years ago

Deepika2592 commented 7 years ago

@petebacondarwin : I am facing this issue with systemjs config file . It works with angular CLI projects My package.json file includes : "dependencies": { "@angular/common": "~4.0.0", "@angular/compiler": "~4.0.0", "@angular/compiler-cli": "^4.0.1", "@angular/core": "~4.0.0", "@angular/forms": "~4.0.0", "@angular/http": "~4.0.0", "@angular/platform-browser": "~4.0.0", "@angular/platform-browser-dynamic": "~4.0.0", "@angular/platform-server": "~4.0.0", "@angular/router": "~4.0.0", "angular-in-memory-web-api": "~0.3.0", "bootstrap": "^3.3.6", "codelyzer": "^3.0.0-beta.4", "core-js": "^2.4.1", "es6-promise": "^3.0.2", "js-yaml": "^3.8.1", "reflect-metadata": "^0.1.10", "rxjs": "5.0.1", "systemjs": "0.19.40", "zone.js": "^0.8.4" }, "devDependencies": { "@types/js-yaml": "^3.5.29", "concurrently": "^2.2.0", "del": "^2.2.2", "dragula": "^3.7.2", "gulp": "^3.9.0", "gulp-less": "^3.1.0", "gulp-plumber": "^1.1.0", "gulp-sourcemaps": "^1.6.0", "gulp-tar": "^1.9.0", "gulp-tslint": "^7.1.0", "gulp-typescript": "^2.13.6", "gulp-util": "^3.0.7", "js-yaml": "^3.8.1", "lite-server": "^2.2.0", "moment": "^2.15.2", "ng2-bootstrap": "^1.1.16", "ng2-dragula": "^1.2.1", "tslint": "^4.0.1", "typescript": "~2.2.0", "typings": "^1.3.2" }

tsconfig.json

{ "compilerOptions": { "outDir": "dist/configurator/", "target": "es6", "module": "commonjs", "moduleResolution": "node", "sourceMap": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, "removeComments": false, "noImplicitAny": false }, "exclude": [ "node_modules", "typings", "typings/index.d.ts" ] }

node version : v6.10.1 npm version :4.4.4 Can you please help me solve this issue ?