Skip to content

Function calls are not supported in [email protected] #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
webmaxru opened this issue Jan 25, 2017 · 0 comments · Fixed by #4
Closed

Function calls are not supported in [email protected] #3

webmaxru opened this issue Jan 25, 2017 · 0 comments · Fixed by #4

Comments

@webmaxru
Copy link
Contributor

A new project bootstrap + ng serve gives following:

`ERROR in 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 18:23 in the original .ts file), resolving symbol WebBluetoothModule.forRoot in /Users/.../node_modules/@manekinekko/angular-web-bluetooth/dist/lib/bluetooth.module.d.ts, resolving symbol AppModule in /Users/.../bt-test/src/app/app.module.ts, resolving symbol AppModule in /Users/.../bt-test/src/app/app.module.ts

ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve '@manekinekko/angular-web-bluetooth' in '/Users/.../bt-test/src/app'
@ ./src/app/app.module.ts 14:0-72
@ ./src/main.ts
@ multi main`

This is because of angular/angular-cli#3707
PR is on the way :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant