Comments (12)
Hi @vbezruchkin, thanks for your report. Can you be more specific, where do you get this error, when you load the web in browser?
Can you please check, if you accidentaly don't have both app
and App
folders - we have an issue, that on some platform it creates two directories that differs in first capital letter. Can you confirm this is not the case?
from craftable.
@vbezruchkin we are about to merge this PR BRACKETS-by-TRIAD/admin-generator#2 which should fix problem with app/App folders. I'm not sure if this relates to this issue as well, but I guess that it does relate.
from craftable.
Hi,
Yes, it's when I run the server. Exactly - I have both app & App folders. Please advise.
Thanks
from craftable.
@vbezruchkin we have fixed this in BRACKETS-by-TRIAD/admin-generator#2
Easiest solution is to delete whole project and start over again with craftable new [project_name]
. Let us know if it works now for you.
from craftable.
It worked fine in my MacOS environment. I managed to run it when I followed the instructions.
I will check the issue tomorrow on my Windows (that's where I had this issue) and let you know the results.
Thanks
from craftable.
Guys, I still have the same problem on my windows:
/mnt/d/projects/laravel/craftable composer global require "brackets/craftable-installer" Changed current directory to /home/vbezruchkin/.composer
Using version ^1.0 for brackets/craftable-installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
I recreated the project using craftable new project_name command, but I still see two folders (app & App) in the project root :((
from craftable.
@vbezruchkin This is really weird. I have thought that on Windows there is not possible to have two folders that differ only in case. Anyway, we have tested this on windows as well and it works for us. So we need really more details. Can you send us version of windows, PHP, composer, craftable-installer and your composer.lock file?
from craftable.
Well, I actually use Linux subsystem for windows 10, so I virtually use Ubuntu 16.04 on my windows box. Here is what I have:
/mnt/d/projects/laravel/craftable uname -a Linux vbezruchkin 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
/mnt/d/projects/laravel/craftable php --version
PHP 7.0.22-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.22-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies
/mnt/d/projects/laravel/craftable composer --version
Composer version 1.5.2 2017-09-11 16:59:25
/mnt/d/projects/laravel/craftable craftable --version
Craftable Installer 1.0.2
Let me know if you need anything else.
Thanks
from craftable.
@vbezruchkin okay I think I know where the problem is. Problem is in your PHP version - for development (includes also for creating a craftable project) PHP 7.1 is required. If you have exiting Craftable project, 7.0 is enough for serving it in production. But 7.1 is required.
What is actually happening here is that your Craftable is using other our package admin-generator
of a lower version (v1.0.1), that does not have the fix we have pushed yesterday (v1.0.3). Your composer is choosing a lower version because of a PHP version restriction. Please try to upgrade your PHP and create new project from scratch again. You don't have to update craftable-installer, just create new cratable project craftable new [project_name]
and this is going to use latest version of admin-generator
once PHP 7.1 is installed.
from craftable.
Ah ok thanks for the information. I will give it another chance later on mac.
Cheers
from craftable.
We will consider of simplifying our Documentation and just say you have to have PHP 7.1 (because now it may be confusing).
from craftable.
I had the same issue. For solution i Created a new folder (App\Models) and dragged User.php into it. everything worked fine.
from craftable.
Related Issues (20)
- Laravel last version use vite.js any upgrade? installation still looking for webpack.mix.js... HOT 1
- Undefined array key 1 in view: index.blade.php HOT 4
- ERROR - Call to undefined method Illuminate\Foundation\Inspiring::quotes() HOT 1
- ERROR : Can't install at all HOT 9
- Improve AdminListing pagination to allow customize page name attribute HOT 2
- Improve Media Library to use max fize size value from config
- I will redesign the readme.md HOT 1
- Enhancement of README.md HOT 3
- Cannot install the installer HOT 2
- Listing columns empty HOT 1
- issue with multiselect default Value HOT 2
- 14 Warnings about slash-div when runing npm HOT 1
- Not compatible with Laravel 9 (with Vite) HOT 1
- pagination not working if primary key name is not 'id' HOT 3
- WHAT IS THE PASSWORD??????? HOT 2
- Craftable Install aborts installation HOT 9
- Base table or view not found: 1146 Table 'testblog.permissions' doesn't exist HOT 7
- Problem installing Craftable Installer globally HOT 2
- Support for Laravel 10 / PHP 8 HOT 11
- Translations are not saved - "The GET method is not supported" HOT 3
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 craftable.