Comments (10)
I'm trying to get started using WordPress Multisite installation and see this error:
Is this tool compatible with Multisite?
@web2033 I solved this as follows
On file \divi-dev-utils\WPConfig.js constructor() change the order of const cwd
value from process.env.PWD || process.cwd()
to process.cwd() || process.env.PWD
. It is because process.cwd()
returns the correct path for Windows.
from create-divi-extension.
@Hermitzan Thanks.
Maybe someone will need it. I moved on to Vue.js 😉
from create-divi-extension.
The tool expects there to be a wp-config.php
file somewhere higher up in the plugin's path. Where is your wp-config.php
file located?
from create-divi-extension.
wp-config.php
is in a default place
but the whole Network is in a subfolder
(http://divi.test/ms/)
I use WAMP / Win10
from create-divi-extension.
Okay, could you post here the complete path of your plugins directory (you can change any parts of the path that are unique to your system to something fictitious). Also just to be clear, I mean the filesystem path, not the URL.
from create-divi-extension.
It can be seen on the very first screenshot:
E:\wamp64\www\divi.test\ms\wp-content\plugins
from create-divi-extension.
Okay, basically what it does is looks for the wp-config file in these directories and in this order:
- E:\wamp64\www\divi.test\ms\wp-content
- E:\wamp64\www\divi.test\ms
- E:\wamp64\www\divi.test
- E:\wamp64\www
- E:\wamp64
If your config is located in one of those directories it should find it. Please let me know. Thanks.
from create-divi-extension.
This could have something to do with Windows-style paths vs Unix-style paths. I'll look into it. Unfortunately there isn't an easy work-around in the meantime since I do not yet know what is causing the issue for you. Sorry!
from create-divi-extension.
Additionally, I've installed local flywheel, but I see the same error after
yarn start
It runs after
npm start
with some errors in console:
from create-divi-extension.
That is a known issue with Local By Flywheel..there is a work-around for it though.
from create-divi-extension.
Related Issues (20)
- 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
- Divi custom module not rendering shortcode HOT 1
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.