Coder Social home page Coder Social logo

Comments (11)

ultimate-tester avatar ultimate-tester commented on May 28, 2024 2

This is undocumented, but seems to be caused by the new cloud storage functionality. Put the following in your configuration file:

"file_storage": "local"

@treoden if I may kindly suggest, could you write the if statements in such a way that "local" is the default/fallback option for file_storage, even if it is not set? For example the if statement in packages\evershop\src\modules\cms\api\fileBrowser\browser.js will give unexpected behavior if file_storage is not set in the configuration file, which it won't for all old users.

from evershop.

ultimate-tester avatar ultimate-tester commented on May 28, 2024 1

Your approach is indeed the correct approach on getting the source for development purposes. If you used the main branch it should be good without error. There is a separate dev branch, which is unstable.

Are you running on Windows? I can try to recreate the error you got.

from evershop.

treoden avatar treoden commented on May 28, 2024 1

Hi @trilloc , @ultimate-tester

This is the work in progress. I am taking a look to this now. Thanks

from evershop.

trilloc avatar trilloc commented on May 28, 2024 1

This is undocumented, but seems to be caused by the new cloud storage functionality. Put the following in your configuration file:

"file_storage": "local"

@treoden if I may kindly suggest, could you write the if statements in such a way that "local" is the default/fallback option for file_storage, even if it is not set? For example the if statement in packages\evershop\src\modules\cms\api\fileBrowser\browser.js will give unexpected behavior if file_storage is not set in the configuration file, which it won't for all old users.

That worked!! Thanks a ton!

from evershop.

treoden avatar treoden commented on May 28, 2024 1

Hi @trilloc

You can pull the latest update. The config is now moved to "system":

"system": { "file_storage": "local" }
Thanks

from evershop.

ultimate-tester avatar ultimate-tester commented on May 28, 2024

This functionality works fine for me. Do you have a "media" folder in the root with permission to access and write to it?

from evershop.

trilloc avatar trilloc commented on May 28, 2024

from evershop.

trilloc avatar trilloc commented on May 28, 2024

I still get the error

e.data is not defined

or response.data is not defined :(

I tried a fresh install from git again! Same issue. Pls help

from evershop.

ultimate-tester avatar ultimate-tester commented on May 28, 2024

If you did a git clone (and used the dev branch), this might just be caused by the new cloud functionality which is still work in progress. This would explain why I don't have this issue, as I am on a stable release.

Try to use npx create-evershop-app my-app to create a new evershop instance.

from evershop.

trilloc avatar trilloc commented on May 28, 2024

Ok great. I would like to make some modifications to the code.. how do i install the source?

I used the main branch.. so dev I guess...

from evershop.

trilloc avatar trilloc commented on May 28, 2024

I am running on WSL Ubuntu on Windows.. Thanks for your efforts!

from evershop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.