Git Product home page Git Product logo

Comments (10)

Hermitzan avatar Hermitzan commented on September 16, 2024 2

I'm trying to get started using WordPress Multisite installation and see this error:

2018-04-22_000954

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.

 avatar commented on September 16, 2024 1

@Hermitzan Thanks.
Maybe someone will need it. I moved on to Vue.js 😉

from create-divi-extension.

lots0logs avatar lots0logs commented on September 16, 2024

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.

 avatar commented on September 16, 2024

wp-config.php is in a default place
2018-04-22_031208
but the whole Network is in a subfolder
(http://divi.test/ms/)
I use WAMP / Win10

from create-divi-extension.

lots0logs avatar lots0logs commented on September 16, 2024

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.

 avatar commented on September 16, 2024

It can be seen on the very first screenshot:
E:\wamp64\www\divi.test\ms\wp-content\plugins

from create-divi-extension.

lots0logs avatar lots0logs commented on September 16, 2024

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.

lots0logs avatar lots0logs commented on September 16, 2024

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.

 avatar commented on September 16, 2024

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:
2018-04-22_121726

from create-divi-extension.

lots0logs avatar lots0logs commented on September 16, 2024

That is a known issue with Local By Flywheel..there is a work-around for it though.

from create-divi-extension.

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.