These are chat archives for reactioncommerce/reaction
Ran the suggested "sudo chown -Rh <username> .meteor/local", it is still there.
Regarding the line after that: Couldn't reproduce that. The next line should be:
cfs:gridfs: updating npm dependencies -- mongodb, gridfs-stream...
Things that still bug me:
I could not find Fixtures to preset the brand logo, or product images.
Also I would like to have everything integrated in my plugin, but I have to place them in /private/data, and settings in /private/settings/reaction.json
I guess there must be a way to do this within a plugin, but dont know how. Maybe the import section of the docs will be helpful:
Ok, the docs on import are confusing as well..
In the beginning, there is an example that uses just import:
Reaction.Import.process(Assets.getText("data/Shipping.json"), ["name"], Reaction.Import.shipping);
But then under "Batch inserts and fixture data" it is suggested to use Reaction.Import.fixture() [...] "when importing data which only needs to be imported if it’s not already present in the database," - I thought json fixtures are such a case?
And to make it more complicated, if I look at /server/starup/load-data,js the Shops json is imported with Reaction.Import.process(), the other collections with Fixture.process()
So, I wonder what would be best way to import my custom fixtures, that behave the same way like Fixtures in /private/data. Currently gives me an "Error: Unknown asset: Tags.json" when i try to load it from the same folder
Currently facing two options:
Would appreciate your help on that one!
npm install -g windows-build-tools
/opt/build_scripts/build-meteor.sh: line 30: 116 Killed meteor build --directory $APP_BUNDLE_DIR The command '/bin/sh -c cd $APP_SOURCE_DIR && bash $BUILD_SCRIPTS_DIR/build-meteor.sh && bash $BUILD_SCRIPTS_DIR/post-build-cleanup.sh' returned a non-zero code: 137
@aviadbd did a quick google on meteor code 137, this came up first: meteorhacks/meteord#96
How much ram do you have, and did you set up a swap?
@janus-reith Cant say I haven't tried.
RUN dd if=/dev/zero of=/swapfile bs=1024 count=256k RUN mkswap /swapfile RUN swapon /swapfile RUN echo /swapfile none swap sw 0 0 | tee -a /etc/fstab RUN echo 10 | tee /proc/sys/vm/swappiness RUN echo vm.swappiness = 10 | tee -a /etc/sysctl.conf RUN chown root:root /swapfile RUN chmod 0600 /swapfile
But I can't run it without using FROM first, which has to be the reactioncommerce/base:v1.3.0, which in turn starts the meteor installation. Which fails.