Missing src/Kernel.php #59506
Replies: 5 comments 3 replies
-
I cannot reproduce this. Which version of the Symfony CLI do you use? |
Beta Was this translation helpful? Give feedback.
-
The last one. My composer.json: {
"type": "project",
"license": "proprietary",
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"symfony/console": "7.2.*",
"symfony/dotenv": "7.2.*",
"symfony/flex": "^2",
"symfony/framework-bundle": "7.2.*",
"symfony/runtime": "7.2.*",
"symfony/yaml": "7.2.*"
},
"require-dev": {
},
"config": {
"allow-plugins": {
"php-http/discovery": true,
"symfony/flex": true,
"symfony/runtime": true
},
"bump-after-update": true,
"sort-packages": true
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php74": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php81": "*",
"symfony/polyfill-php82": "*"
},
"scripts": {
"auto-scripts": [
],
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
]
},
"conflict": {
"symfony/symfony": "*"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "7.2.*"
}
}
}
|
Beta Was this translation helpful? Give feedback.
-
I have added a cast file here: https://github.com/abdounikarim/symfony-create-project-kernel-missing |
Beta Was this translation helpful? Give feedback.
-
Does an antivirus run on your machine? Could it have removed the |
Beta Was this translation helpful? Give feedback.
-
I'm closing this issue for now. I had a bad configuration in my home |
Beta Was this translation helpful? Give feedback.
-
Symfony version(s) affected
7.2.2
Description
Hey,
It seems there is no src directory when creating a fresh Symfony application.
How to reproduce
Create a fresh Symfony project:
No need for the
--webapp
here.Possible Solution
No response
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions