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
[Support] Cannot determine webpack context. (Are you executing webpack from a directory outside of your project?). #82
Comments
Hey @Aerendir! Awesome, welcome :). Does your project have a Cheers! |
Hi @weaverryan , thank you :) Anyway, no, currently there is no Looking at it, it there isn't. I've not created it as the documentation states that it should be created automatically:
But I've used Anyway, what should have I to put into it if I want to create it manually? |
Yep, that's likely the problem :). I'd recommend using yarn, especially if you're starting new with this stuff (so that you will not have any surprises). But if you want to use npm, you should:
Cheers! |
Ok, I've created the But the documentation should be fixed as now it tells that the file is created automatically while it isn't. Also the exception could be more clear... In my
|
And just for completeness, after running
Again, really thank thank you! |
I've just installed Encore to test it and start using it in my projects (great great work!!! Really, thank you!).
I'm immediately having an issue.
When trying to run
./node_modules/.bin/encore dev
I receive the exception:I've simply followed the instructions in the official documentation about the first example and the result is this exception.
My project is structured like so:
So, basically, I have the classical structure of a Symfony 3.3 project, plus some folders related to
JS
.Can anyone help me solve this problem?
This is the very first time I approach a more sophisticated solution to manage css and javascript assets.
Unitl now I've done all putting those files in
src/AppBundle/Resources/public/
so I'm not very experienced with this new flow.Thank you!
I've opened also a question on StackOverflow.
The text was updated successfully, but these errors were encountered: