Coder Social home page Coder Social logo

similar build issue on Windows about flynt HOT 6 CLOSED

chris-pdg avatar chris-pdg commented on September 22, 2024
similar build issue on Windows

from flynt.

Comments (6)

timohubois avatar timohubois commented on September 22, 2024

@chris-pdg today I found some time and installed Local, Node.js and Flynt on a fresh machine running Windows 11.

In short: I was able to get it running but run into some potential problems. You can find my results here: #527 (comment)

If this does not help, I need more details about what setup you exactly use.

from flynt.

fchrapek avatar fchrapek commented on September 22, 2024

@timohubois @chris-pdg

I have similar issue on macOS + MAMP Pro (all the requirements are met).
Except that run build acts as expected. The npm start doesn't work correctly and clears the built assets.

The weird thing is that it doesn't work on a fresh WP installation, but works ok on an existing instance. Did some quick tests on one of the other local sites beforehand and npm start works fine and all the changes in files are registered correctly with hot reloading. It seems that the only thing that is different between those two sites is the local URL.

from flynt.

timohubois avatar timohubois commented on September 22, 2024

@fchrapek in general when run the command npm start it is correct that the dist will be cleared and only contains one file.

What will be shown when you run npm start?

Did some testing on Windows, and have written down the steps, which may help: #527 (comment)

from flynt.

fchrapek avatar fchrapek commented on September 22, 2024

@timohubois Right, what I meant is that the previously built assets are not loading after running npm start (the dist seem to be correct and has that single file). When I first build the theme with npm run build everything is fine — the development part is not working for me.

I did go thought the thread — I'll double-check that tomorrow, thanks!

from flynt.

fchrapek avatar fchrapek commented on September 22, 2024

@timohubois
Well, it turned out it was the Brave's default blocking settings that were preventing the assets from loading.

@chris-pdg
FYI, maybe this info will be helpful to you

from flynt.

timohubois avatar timohubois commented on September 22, 2024

@fchrapek great to hear, that you found a solution!

from flynt.

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.