2muchcoffeecom / ng2-restangular

Restangular for Angular 2 (RENAMED DUE TO ANGULAR SEMVER)
http://ngx-restangular.com
MIT License
26 stars 7 forks source link

Error encountered resolving symbol values statically. #6

Open lmarcelocc opened 7 years ago

lmarcelocc commented 7 years ago

Hi all,

anyone knows how to solve this?

[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova).
Error: Error encountered resolving symbol values statically. Calling function 'ɵmakeDecorator', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol Injectable in C:/Users/Marcelo/Documents/Apps/TestApp/node_modules/ng2-restangular/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in C:/Users/Marcelo/Documents/Apps/TestApp/node_modules/ng2-restangular/node_modules/@angular/core/core.d.ts, resolving symbol ɵf in C:/Users/Marcelo/Documents/Apps/TestApp/node_modules/ng2-restangular/node_modules/@angular/core/core.d.ts
npm -v
5.3.0

Thank you all!

vichanse commented 7 years ago

Hi all, I'm having the same error ERROR in Error: Error encountered resolving symbol values statically. Function calls are not supported . Consider replacing the function or lambda with a reference to an exported function (position 4:10 in the original .ts file), resolving symbol RestangularConfigFactory

Here are my dependencies { "@angular/animations": "^4.2.4", "@angular/common": "^4.2.4", "@angular/compiler": "^4.2.4", "@angular/core": "^4.2.4", "@angular/forms": "^4.2.4", "@angular/http": "^4.2.4", "@angular/platform-browser": "^4.2.4", "@angular/platform-browser-dynamic": "^4.2.4", "@angular/router": "^4.2.4", "core-js": "^2.4.1", "ngx-restangular": "^1.0.11", "rxjs": "^5.4.2", "zone.js": "^0.8.14" }