xfiveco / generator-chisel

Chisel is a development framework for creating easy to maintain and fast WordPress websites.
https://www.getchisel.co
MIT License
271 stars 37 forks source link

Rewrite with Webpack #465

Open jakub300 opened 4 years ago

jakub300 commented 4 years ago

Installation and Testing

# install
yarn global add generator-chisel@next
# or
npm -g install generator-chisel@next

# after installation global chisel command should be added
# go to empty directory and use it to create a project
chisel create

Documentation

Documentation of the new version.

List below is WiP

Existing Chisel Features

Ready

In Progress

To Do

On Hold

New Features

Ready

In Progress

To Do

luboskmetko commented 4 years ago

@jakub300 tested it on Windows and works nicely for me.

mortensassi commented 4 years ago

This is awesome news! Good job guys - Did you also take a look at Laravel mix? Going to try it out

marziolek commented 3 years ago

@jakub300 I tried to generate project on Win10 and got error when database should be created: Error: Too many positional arguments: 1

dans-art commented 3 years ago

Hi there I run into the following problems; After the Plug-in section (I've selected none) i got the Message;

npm WARN deprecated chokidar@2.1.8: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated

> fibers@5.0.0 install W:\SERVER\XAMPP\htdocs\test\xfive-project-wp\node_modules\fibers
> node build.js || nodejs build.js

"win32-x64-72" exists; testing
Binary is fine; exiting

> husky@4.3.0 install W:\SERVER\XAMPP\htdocs\test\xfive-project-wp\node_modules\husky
> node husky install

husky > Setting up git hooks
Cannot read property 'toString' of null
husky > Failed to install

After the Database Setup i got some errors like that:

Der Befehl "php" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

So the command php was not found. It copied all the files except for the Wordpress Installation. After that i installed WP and setup the Database and now it seams to work.

luboskmetko commented 3 years ago

@marziolek @spy15 thank you for trying new Chisel and for the reports.

@jakub300 can you take a look at those issues when you have time? Thanks

mortensassi commented 3 years ago

What do you guys think about Laravel Mix ? I have already used it with other custom themes and found it very easy to setup and extend to my needs.

anatter commented 2 years ago

@marziolek

@jakub300 I tried to generate project on Win10 and got error when database should be created: Error: Too many positional arguments: 1

I also encountered this issue. Did you find a solution?

marziolek commented 2 years ago

@marziolek

@jakub300 I tried to generate project on Win10 and got error when database should be created: Error: Too many positional arguments: 1

I also encountered this issue. Did you find a solution?

I didn't have that issue since last time. You should check your local setup, node version, mysql etc.

luboskmetko commented 2 years ago

@anatter could you please check if you are not on npm v6 like described here https://github.com/xfiveco/generator-chisel/issues/495#issuecomment-974749414? Upgrading npm or using yarn should help. If not, let us know. Thanks