Error running sample project
I get this error when trying to run
EDIT: I have tried running more than once in a row as per the instructions. Its at a different port than 3000, if that matters
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While building the application: /Users/me/myapp/client/styles/styles.scss:1:9: Scss compiler error: file to import not found or unreadable: .meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic Current dir: /Users/me/myapp/client/styles/
=> Your application has errors. Waiting for file change.
Please read the article. This is covered. On Wed, Sep 30, 2015 at 11:12 slowsword [email protected] wrote:
I get this error when trying to run
=> Started proxy.
=> Started MongoDB.
=> Errors prevented startup:
While building the application: /Users/me/myapp/client/styles/styles.scss:1:9: Scss compiler error: file to import not found or unreadable:
.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic Current dir: /Users/me/myapp/client/styles/
=> Your application has errors. Waiting for file change.
— Reply to this email directly or view it on GitHub https://github.com/samcorcos/meteor-react-ionic-basic/issues/1.
Thanks for the quick reply.
I did read it, and re-read it. I have started it 4 times in a row with same error. The meteoric sample has to be run twice and the same error clears. So I'm not exactly sure, maybe something to do with react?
No, it should be fine. Are you running "meteor reset"?
On Thu, Oct 1, 2015 at 8:28 AM slowsword [email protected] wrote:
Thanks for the quick reply.
I did read it, and re-read it. I have started it 4 times in a row with same error. The meteoric sample has to be run twice and the same error clears. So I'm not exactly sure, maybe something to do with react?
— Reply to this email directly or view it on GitHub https://github.com/samcorcos/meteor-react-ionic-basic/issues/1#issuecomment-144762742 .
I tried meteor reset, then re-running it and same thing. I did meteor update and i got this:
=> Errors while upgrading packages:
While reading package from
/Users/me/Downloads/meteor-react-ionic-basic-master 11.28.37 AM/packages/npm-container:
package.js:23:7: The isAsset option to addFiles is deprecated. Use
PackageAPI#addAssets instead.
Interesting. Looks like something in the 1.2 update might have broken it.
On Thu, Oct 1, 2015 at 8:57 AM slowsword [email protected] wrote:
I tried meteor reset, then re-running it and same thing. I did meteor update and i got this:
=> Errors while upgrading packages:
While reading package from /Users/me/Downloads/meteor-react-ionic-basic-master 11.28.37 AM/packages/npm-container: package.js:23:7: The isAsset option to addFiles is deprecated. Use PackageAPI#addAssets instead.
— Reply to this email directly or view it on GitHub https://github.com/samcorcos/meteor-react-ionic-basic/issues/1#issuecomment-144770940 .
Hi, issue a PR to fix it. pls. check it out.
Did someone get this to work? I'm a real beginner and don't know where to start.
I would suggest checking out discovermeteor.com :) It's the best place to start for beginners.
On Thu, Oct 29, 2015 at 1:25 PM raarts [email protected] wrote:
Did someone get this to work? I'm a real beginner and don't know where to start.
— Reply to this email directly or view it on GitHub https://github.com/samcorcos/meteor-react-ionic-basic/issues/1#issuecomment-152308063 .
Ok, maybe I'm not that much of a beginner.. done discovermeteor, and already wrote a tiny app using blaze and postgres-meteor, and dabbled in react, but now I'm ready for a more serious app. (I'm an experienced developer trying to do some front-end programming). Anyway, I think I now have two react packages installed, the meteor one and the node one. So, I'll retry and see how far I'll get. Thanks.
Progress. Used the meteor-provided react (left out react from package.json). Got the same error, but commented out the import statements, re-ran meteor, and uncommented them again, and now the error is gone!
Getting another error now:
W20151029-22:15:28.251(1)? (STDERR) Error: Cannot find module 'react/lib/invariant' W20151029-22:15:28.251(1)? (STDERR) at s (../../../cosmos_browserify/.0.8.1.17pd10p++os+web.browser+web.cordova/plugin.CosmosBrowserify.os/npm/CosmosBrowserify/node_modules/browserify/node_modules/browser-pack/_prelude.js:1:1) etc
I have not been able to fix this one so far.
@raarts I followed the same path as you it seems. I resolved the first point the same as you did. The reason is that there is no .meteor/local/build directory yet, so the imports raise an error. Probably the author added the ionic stuff after a first build was created.
The second issue I could resolve by one of the two following (I don't know which of the two, or maybe both resolved this):
- run
meteor add cosmos:browserifyexplicitely (even though it is included in the meteor-provided react meta package - run
meteor reset
Hope this helps.
@raarts @samcorcos I am stuck at Error: Cannot find module 'react/lib/invariant' . Were you guys able to figure out how to fix this ?
No,
I dropped this, and moved on. I don't really see a future for meteor-ionic, because React Native. The world moves fast.
On Sun, Mar 20, 2016 at 3:49 AM, damoonazarpazhooh <[email protected]
wrote:
@raarts https://github.com/raarts @samcorcos https://github.com/samcorcos I am stuck at Error: Cannot find module 'react/lib/invariant' . Were you guys able to figure out how to fix this ?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/samcorcos/meteor-react-ionic-basic/issues/1#issuecomment-198836654
@raarts with Meteor 1.3 things become a lot easier. Inspired by @samcorcos I created https://github.com/pors/reactionic/, an (almost) complete port of Meteoric. I believe there is still plenty of future for Meteor-Ionic :)