Giter Club home page Giter Club logo

Comments (11)

adamsilverstein avatar adamsilverstein commented on May 14, 2024 1

@HIAviator, @robbiet480 & @pickrau -

Sorry for your challenge getting this installed... Good news: we removed the requirement for a build step while the plugin is beta to make testing easier.

You should now be able to download the current zip (or clone master), then upload to your site and activate. Can you please give it another try?

from distributor.

tlovett1 avatar tlovett1 commented on May 14, 2024

Did you run npm install in the Distributor plugin directory?

from distributor.

HIAviator avatar HIAviator commented on May 14, 2024

Having the same issue. Downloaded the zip, uploaded through the plugin interface. Go to plugins/distributor-master and run npm install. The top link is not working. min js, min css etc are being referenced from plugins/distributor-master/dist folder but there is no dist folder and there are no min versions of the files.

from distributor.

robbiet480 avatar robbiet480 commented on May 14, 2024

I'm also having this issue.

Running npm install products a dist folder with css and js subfolders. Those folders contain .min. files. The assets folder and subfolders do not contain .min. files. Running cp dist/css/* assets/css/ and cp dist/js/* assets/js/ puts everything in the right place and kills errors i'm seeing in my dev console about not allowing load of assets because wrong MIME type (since the MIME type was text/html as it was the 404 page).

from distributor.

tlovett1 avatar tlovett1 commented on May 14, 2024

Hey guys, we are working on a way to make this a bit more intuitive. Sorry for the confusion. You need to run npm install inside the Distributor plugin folder. Check out the installation steps in the README.

from distributor.

HIAviator avatar HIAviator commented on May 14, 2024

Spent some more time trying to get this to work. npm install fails if you've downloaded the plugin from the readme page named distributor-master.zip. The plugin and directory for it must be 'distributor'. Unpack on your local machine, rename the directory and repack as distributor.zip and then upload, activate and run npm install from the distributor directory.

from distributor.

robbiet480 avatar robbiet480 commented on May 14, 2024

@adamsilverstein Just updated. Plugin installed fine, but now i'm getting a JS error which causes the distributor button in the admin bar to not work. Running the code that errored in my console directly works fine, so I'm guessing it's a timing issue of some kind.

screen shot 2018-02-27 at 15 28 37

screen shot 2018-02-27 at 15 31 27

Check it out here (sorry for the ads)

from distributor.

tlovett1 avatar tlovett1 commented on May 14, 2024

@robbiet480 I don't see the error. I assume I need to be logged in?

from distributor.

robbiet480 avatar robbiet480 commented on May 14, 2024

@tlovett1 Good point :). I can provide you a login to debug if you want, let me know if the email on your Github profile works.

from distributor.

tlovett1 avatar tlovett1 commented on May 14, 2024

@robbiet480 yep, can you email me? Let's connect on WP Slack.

from distributor.

robbiet480 avatar robbiet480 commented on May 14, 2024

@tlovett1 bumped the asset version and everything is working nicely once more for me!

from distributor.

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.