Skip to content

Fixed "insert path" required a "filepath" and not a "path" & fixed *NIX path stuff. #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

linslin
Copy link

@linslin linslin commented Oct 5, 2017

  • Fixed: Entering a "path" in "Relative path to composer.json ?" input question resulted in a PHP-Error.
PHP Warning 'yii\base\ErrorException' with message 'file_get_contents(./composer.json): failed to open stream: No such file or directory'

in C:\development\webroot\relaunch2017-web\app\vendor\sweelix\yii2-webpack\src\commands\WebpackController.php:297

Stack trace:
#0 C:\development\webroot\relaunch2017-web\app\vendor\sweelix\yii2-webpack\src\commands\WebpackController.php(75): sweelix\webpack\commands\WebpackController->generatePackageJson()
#1 C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\base\InlineAction.php(57): sweelix\webpack\commands\WebpackController->actionInit()
#2 C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\base\InlineAction.php(57): ::call_user_func_array:{C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\base\InlineAction.php:57}()
#3 C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\base\Controller.php(156): yii\base\InlineAction->runWithParams()
#4 C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\console\Controller.php(128): yii\base\Controller->runAction()
#5 C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\base\Module.php(523): yii\console\Controller->runAction()
#6 C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\console\Application.php(180): yii\base\Module->runAction()
#7 C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\console\Application.php(147): yii\console\Application->runAction()
#8 C:\development\webroot\relaunch2017-web\app\vendor\yiisoft\yii2\base\Application.php(380): yii\console\Application->handleRequest()
#9 C:\development\webroot\relaunch2017-web\app\yii(20): yii\base\Application->run()
#10 {main}
  • Fixed: *NIX path stuff for Windows enviromnent.

@linslin
Copy link
Author

linslin commented Oct 5, 2017

Hi @pgaultier,

I've got a couple of little problems to make this nice approach running in my application. I want to talk to you about this little things. The main problem is, that your focused Yii2 application structure is something random and not based on the Yii2 application structure: https://github.com/yiisoft/yii2-app-basic & https://github.com/yiisoft/yii2-app-advanced. Please get in touch with me: [email protected]

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant