ionic2-meteor icon indicating copy to clipboard operation
ionic2-meteor copied to clipboard

npm install

Open vacarsu opened this issue 8 years ago • 1 comments

Can you add a way for us to install via npm for meteor 1.3. There are some conflicts when you install angular2-meteor via npm and this via meteor add. As this meteor package also installs the angular-2 meteor package with all its dependencies.

vacarsu avatar Mar 23 '16 22:03 vacarsu

I recommend updating the name of this issue to NPM package for Meteor 1.3. I found an existing npm package for ionic2-meteor. After reviewing it, I found that it was not exactly what I was looking for. I believe it was for adding a Meteor server to an Ionic2 project. In that case Meteor would not be building the client, only the server. So you would not be able to do any hot-code pushes.

I have been attempting to use the ionic-framework and ionicons node modules with Meteor 1.3 now that NPM modules are supported. Have a look at my project here. I have been able to get the project to build, but now I am getting the following error.

Module '"angular2/core"' resolves to a non-module entity and cannot be imported using this construct.

I started getting this error after I imported MeteorComponent from angular2-meteor, added extends MeteorComponent to my class, and called super() in the constructor.

mjwheatley avatar Apr 01 '16 20:04 mjwheatley