Comments (6)
@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.
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.
@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.
@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.
@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.
@fchrapek great to hear, that you found a solution!
from flynt.
Related Issues (20)
- Unable to install NPM HOT 2
- composer install not working twig/cache-extension is abandoned HOT 15
- How to link scripts correctly HOT 4
- How to implement conditional_logic? HOT 2
- Local Environment (Flynt Next) HOT 2
- Is there a good way to bulk create posts with components? HOT 1
- Minor front and back end issues HOT 4
- Not Getting meta data in GridPostsLatest HOT 6
- Can it be used with a hosted wordpress with limited ssh? HOT 1
- Build Fails HOT 3
- How to use repo within docker containers - DDEV HOT 6
- Migration Guide HOT 1
- How to add tailwind? HOT 1
- Can't access development site from external device
- How can we call the shortcodes in flynt ? HOT 1
- Flynt v2.1: Cannot correctly save ACF Field Groups HOT 6
- flynt 2.1.1 'Fatal Error' @ twig 3.10 deprecation in Timber src HOT 4
- CDN emojis not available HOT 1
- Theme Size and Production Steps for Local to Live domain HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flynt.