Skip to content
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

artyom in angular 4 #64

Open
stefy63 opened this issue Jun 16, 2018 · 3 comments
Open

artyom in angular 4 #64

stefy63 opened this issue Jun 16, 2018 · 3 comments

Comments

@stefy63
Copy link

stefy63 commented Jun 16, 2018

**ERROR in src/app/services/artyom.service.ts(2,20): error TS2306: File '/var/www/html/rooms/node_modules/artyom.js/source/artyom.d.ts' is not a module.** Failed to compile.

I do not know what to do!

Stefano

@andresjordanze
Copy link

try to import:
import Artyom from '../../../node_modules/artyom.js/build/artyom.js';

@stefy63
Copy link
Author

stefy63 commented Jun 19, 2018

TNK, will there be right types in the future?

@Devqon
Copy link

Devqon commented Jul 10, 2018

Hi @stefy63 , I have started with creating a wrapper for angular around Artyom. The project can be found here: https://github.com/Devqon/ng-artyom

It is installable from npm:

  • angular5: npm install ng5-artyom
  • angular6: npm install ng-artyom

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

No branches or pull requests

3 participants