md2 icon indicating copy to clipboard operation
md2 copied to clipboard

Cannot import Md2Module (0.0.28) to Meteor 1.5.1 + Angular4 application

Open filosof86 opened this issue 8 years ago • 0 comments

Hi guys,

Thank you for your work. It's really great. However, unfortunately, it refuses to work with Angular4 + Meteor platform.

I'm trying to import it like it was mentioned in your docs:

===== import { Md2Module } from 'md2'; @NgModule({ imports: [ ..., Md2Module, ], ... }) export class AppModule { }

However, I keep getting the following errors in console:

Uncaught SyntaxError: Unexpected token export Uncaught TypeError: Cannot read property 'meteorInstall' of undefined

The browser debug console states the error is the following string

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // // node_modules/md2/index.js // // // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ---->>>> export * from './core'; // 1 export * from './module'; // 2 export * from './accordion/index'; // 3 export * from './autocomplete/index'; // 4 ......

MD2 version: "[email protected]"

Meteor version: [email protected]

It seems the similar issue has already been discussed within the scope of #27

Could you please help me here? Thank you in advance.

filosof86 avatar Sep 11 '17 12:09 filosof86