yoonic / nicistore

Isomorphic React E-Commerce Storefront
MIT License
662 stars 202 forks source link

Fatal error when adding image #21

Closed mateomorrison closed 7 years ago

mateomorrison commented 7 years ago

This is the third time that I open a issue about this, never got response or how to get it fixed. I'm trying to upload in development a image to a product or banner. It does not get uploaded no matter how many times I try or how much time I wait.

Here are some logs that got printed when I tried adding them: screen shot 2017-03-14 at 2 39 29 pm

I have not modified any route, Atlas is running perfectly and RethinkDB is running too. We've been trying to hack it out for days now but can't understand the code or how it's handling the requests. Hopefully waiting someone steps in and help me fix this.

Please DO NOT close this issue without solving, responding or providing useful solution 💯

UPDATE: There is JWT key and everything is running smoothly. So that may not be the problem.

andrecrt commented 7 years ago

Hi,

  1. That log is from Atlas, this repo is for Nicistore.
  2. The stack trace is related to this, which has nothing to do with uploads, nor products.
  3. This is a personal project that I opted to open-source and that I'm glad to support as time permits. As it is said in the licence "THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND".
  4. "can't understand the code or how it's handling the requests":
  5. If you follow the READMEs on both projects you should get everything working and I believe the code for uploads is pretty straightforward, even if you want to extend it (e.g. to support AWS S3).

Best regards, André.

mateomorrison commented 7 years ago

Hello André, thanks for the response.

I believe we can all cooperate with the open-source with a great community to make it better. I've done all in the READMEs but still not able to upload images.

rockneverdies55 commented 7 years ago

@mateomorrison - make sure you created uploads/ folder with the correct subfolders (e.g. products for uploading images for Products) under the root of atlas project.