Comments (4)
Upon manual execution of the syfi-cli
is becomes apparent it should be invoked from the root of the Symfony project. Maybe the plugin fails to determine which is the root folder, because I have opened my projects folder, not only the Symfony project.
from syfi.
Supposedly if you run it from a folder that is not determined to be a symfony project root, the package should show a friendly message to configure the location of the "app" folder of the symfony project manually, in the package's settings.
However since you got an error it is a bit more intriguing than that. So...
- Could you post the full cli output if you run the command from the folder that you use as your atom project root? (Which you described as your "projects folder".)
- Could you run it for me again from the same folder, but with the SYMFONY_APP_FOLDER environment variable set as the folder where your symfony project's AppKernel.php and bootstrap.php.cache is? (The "app" folder normally.)
from syfi.
If the SYMFONY_APP_FOLDER
is not set, the output is as follows:
#/bin/sh -c /Users/nikola/.atom/packages/syfi/lib/../syfi-cli '@KapinkaShippingContainerPresentationBundle/Resources/config/routing.yml'
Warning: require_once(/Users/nikola/Projects/app/bootstrap.php.cache): failed to open stream: No such file or directory in /Users/nikola/.atom/packages/syfi/syfi-cli on line 10
Call Stack:
0.0003 263648 1. {main}() /Users/nikola/.atom/packages/syfi/syfi-cli:0
Fatal error: require_once(): Failed opening required '/Users/nikola/Projects/app/bootstrap.php.cache' (include_path='.:') in /Users/nikola/.atom/packages/syfi/syfi-cli on line 10
Call Stack:
0.0003 263648 1. {main}() /Users/nikola/.atom/packages/syfi/syfi-cli:0
from syfi.
If the SYMFONY_APP_FOLDER
is set it seems to work, however, the project it finds is not even a Symfony one. Let alone the fact the file is PHP.
#/bin/sh -c /Users/nikola/.atom/packages/syfi/lib/../syfi-cli '@KapinkaShippingContainerPresentationBundle/Resources/config/routing.yml'
/Users/nikola/Projects/Personal/behat/features/bootstrap/FeatureContext.php
from syfi.
Related Issues (5)
- Missing features todo list
- Uncaught Error: syfi exec error: Command failed: /bin/sh -c /Users/echansen/.atom/packages/syfi/l... HOT 6
- Throw a helpful message when key combo is pressed an there is nothing selected
- Uncaught Error: syfi exec error: Command failed: /bin/sh -c /Users/me/.atom/packages/syfi/li...
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 syfi.