Comments (11)
Hi, did you run yarn build
?
from create-divi-extension.
I run npm start build, clear the cache
from create-divi-extension.
If you are using npm then you should run npm run build
when you want to compile for production use (meaning using without the start
command running in the background)
from create-divi-extension.
Sorry for confuse, I run npm run build
I see that styles\style.min.css compiling. All css is there. But I do not see this file attached in source code of page. Should I include it manually using wp_register_style | wp_enqueue_style ?
Cache is cleared
from create-divi-extension.
If you correctly build your extension, I believe the "DiviExtension" class from your includes directory will take care of loading the CSS for your modules. For me that works as expected but I build my modules using yarn zip before publishing them on my test site.
from create-divi-extension.
I will try with Yarn.
Using npm run zip
I faced to problems (I'm using Windows 10):
- Some module crashed. As it turned out it requires to run console from Administrator
npm run zip
do not throws any error, but "hangs". So I had to runnpm run build
and zip files manually
from create-divi-extension.
Hello,
I've updated node and npm, install yarn.
But it seems that I still have problems. Maybe they are related to each other and to the main topic
- During
npx create-divi-extension hello-world
I'm getting the following message:
- During
Yarn start
I do not see any style changes in the console. I tried to doYarn zip
and get the following:
I found that it could be related with system permissions so I run console from Administrator
- And it "hangs" during command execution on
What should I do and where I should try to find an error.
Thanks!
from create-divi-extension.
- That message can be safely disregarded. It doesn't affect anything.
- Same issue as #22
- Do you have
gettext
installed? Its required to runyarn zip
.
from create-divi-extension.
I have the same issue with yarn zip on windows. Running it as administrator and gettext is installed:
After some 20 minutes I cancelled because the po2mo task hangs. Afterwards I run xgettext --version so apparently I'm using 0.19.8.1
from create-divi-extension.
gettext is installed..
from create-divi-extension.
I think the problem is that one of the packages we depend on doesn't properly support Windows environments. We'll try to swap it out for something else in the next release of create-divi-extension.
from create-divi-extension.
Related Issues (20)
- Custom fields styles no loading on Editor HOT 3
- Support for the experimental syntax 'dynamicImport' isn't currently enabled
- node-sass HOT 1
- Problem DIVI causing HTTP 500 on WooCommerce API
- Trying to get the version of the divi builder via PHP.
- How to link the field in the theme builder with the field from my custom post type
- Make upload field return image ID instead of URL
- Custom Taxonomies for Shop module
- Not able to create Divi Extensions HOT 10
- Multi-site issues with updating Divi extensions
- How to add a javascript onclick event to an element in a custom module HOT 1
- add_rewrite_rule breaks Theme/Visual Builder
- Access to @Divi/components or similar repository/package HOT 6
- displaying custom detail page while using divi templates
- DIVI Builder not workding | [React-imported-component] TypeError: n(...) is not a function
- Disable Divi Premade Layout
- et_pb_contact_form_submit not fired when JavaScript is enabled HOT 1
- How to get page specific content in rest api
- et-cache directory overpopulating
- Programmatically add divi module via php script
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 create-divi-extension.