Example giving in documentation does not work on windows
See original GitHub issueWhen following the first example in documentation you will end up with this error on windows
Error: Cannot determine how to prefix the keys in manifest.json. Call Encore.setManifestKeyPrefix() to choose what path (e.g. build/) to use when building your manifest keys. This is caused by setOutpu tPath() and setPublicPath() containing paths that don’t seem compatible.
This is reproduce able by creating an empty directory and following:
- execute
$ yarn add @symfony/webpack-encore --dev
- create
webpack.config.js
file with contents found on http://symfony.com/doc/current/frontend/encore/simple-example.html - creating
assets/js/main.js
&assets/css/global.scss
- execute
./node_modules/.bin/encore dev
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (5 by maintainers)
Top Results From Across the Web
WHY can't MS get their documentation to reflect the actual steps
Select the Start button, then select Settings > Update & security > Windows Update > Advanced options > View your update history.
Read more >Error opening Help in Windows-based programs: "Feature not ...
Resolves issues in which you cannot open Help files (.hlp) that were created in Windows Help format in Windows 7 or Windows Vista....
Read more >How to troubleshoot problems that occur when you start or use ...
Start Word. Delete the Word Options registry key. Exit all Office programs. Type regedit in the Search box (in Windows ...
Read more >Error codes in Device Manager in Windows - Microsoft Support
Lists the error codes that may be reported by Device Manager and the possible resolutions in Windows.
Read more >Troubleshooting why Word won't print - Office | Microsoft Learn
Step 1: Test printing in other documents; Step 2: Test printing in other programs ... For example, some printing problems affect only Word, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Temporary fix for Windows environment:
At least this one is worked for me. @DaRamirezSoto Can you confirm, that this workaround is ok?
@Alestaan Hi,
I am executing this command: