Closed leonardoespinosa closed 7 years ago
I'm very confused, why would you need angular2-compilers
if you're only using Meteor as your server? Anyways, like you said, it's that package which is causing you troubles because it requires you to write HTML files and all these stuff. Try using the following command:
$ meteor-client bundle --url http://192.168.0.6:3000 -c meteor-client.config.json
With the following config:
{
"import": [
"meteor-base@1.0.4"
]
}
Note: Be sure to add any client-related package to the
import
field above
Make sure you have meteor-client-bundler@1.1.0
installed.
Nice! The problem is solved! I execute the command
meteor-client bundle --url http://192.168.0.6:3000 -c meteor-client.config.json
and modify meteor-client.config.json file. I see my meteor-client-bundler version and i have 0.1.1 version, please keep in mind the version that you mean (1.1.0) is not allowed:
npm ERR! notarget No compatible version found: meteor-client-bundler@1.1.0
npm ERR! notarget Valid install targets:
npm ERR! notarget 0.1.1, 0.1.0, 0.0.4, 0.0.3, 0.0.2, 0.0.1
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
Regards!
Hi,
Im trying to use meteor-client-bundler in my ionic project to connect to the Meteor server with angular2-compilers package. When i execute
meteor-client bundle -s sourcedir
I have the following error:
Too, i try execute meteor-client-bundler configuring the meteor-client.config.json and package.json files in the ionic project like that:
package.json
meteor-client.config.json
I execute the command
npm run meteor-client:bundle
(like https://angular-meteor.com/tutorials/whatsapp2/ionic/meteor-server-side ) and i have this error:The packages of my meteor project:
This is my projects information:
Meteor project:
Meteor version: Meteor 1.4.2.6
Ionic project:
I appreciate any help! Regards.