Comments (4)
You got it right @msurguy, your MySQL version does not support the JSON column type, which was introduced in MySQL 5.7, and is used by Twill.
There's a Gist discussion here about upgrading MAMP's MySQL to 5.7. I did not try it but some users seem to figure it out this way.
You might want to take a look at laravel/valet or laravel/homestead if you are interested in moving away from MAMP.
Thanks again, I'll make sure to update our docs with a more precise requirements section as Twill is not supporting MySQL versions older than 5.7.
from twill.
Hi @msurguy! Thanks for reporting your issue, we're so glad to see someone already trying Twill!
Since Laravel 5.4, a change was made to the default database character set, and itβs now utf8mb4 which includes support for storing emojis. As long as you are running MySQL v5.7.7 and higher you do not need to do anything.
Since you're running MySQL v5.6.38, you would need to add the following to your AppServiceProvider.php
file boot
method:
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
References: Laravel News - Laravel documentation
from twill.
@ifox got it! Thanks for the pointers and suggestions! I'll try this out on Valet probably next week as I'm working hard on grad school and other projects :)
I really am looking forward to getting this to run, was dreaming about building a similar product myself a while ago (kinda like https://carrd.co/) so am very grateful that someone built the whole system and open sourced it!
from twill.
Thanks @ifox! That helped to get through the first problem!
Now, it complains about some other MySQL error that I suspect to be also coming from MySQL version but not sure...
Thanks for bearing with me through these initial steps!
from twill.
Related Issues (20)
- Login form action is rendered to blade and sent in http in an https context HOT 5
- Accessing model data in repeater HOT 2
- TypeError: argument of type 'function' is not iterable HOT 1
- User listing errors when deleting a role
- Multiple JSON repeaters (of the same type) in one form
- FormBuilder Repeaters capable of handling Media through Pivot?
- FormBuilder Inline Repeater doesn't allow for single deletions HOT 1
- [permissions-management] Call to a member function permissions() on string HOT 1
- Cli module creation produces files which do not follow the enable position parameter HOT 3
- Integrity constraint violation: 1048 Column 'active' cannot be null HOT 3
- View not found when run php artisan twill:blocks HOT 3
- Multiple NestedData columns all show final entry's relations. HOT 1
- Repeater number squishes up sometimes when using @twillRepeaterTitleField
- Installation failed HOT 2
- Formbuilder does not allow step() method
- CLI commands to remove modules/blocks/... HOT 1
- $item->ancestorsSlug returns items in reverse order? Issue with HasNesting trait
- Running twill:build when using a custom icon leads to an ErrorException caused by copy function because of missing target directory
- Need Filter In List Page HOT 1
- Different datetime format parsings => format conflicts when using configuration "publish_date_display_format"
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 twill.