Template app does not work on Windows
See original GitHub issueIt looks like the css portion of the loaders do not work on Windows.
Description
Multiple failures while trying to parse the .scss
of the template app.
Expected Behavior
It shouldn’t fail.
Actual Behavior
[./src/css/main.scss] 1.43 KiB {index} [built] [failed] [1 error]
[./src/index.ts] 323 bytes {index} [built]
+ 2032 hidden modules
ERROR in ./src/css/main.scss
Module build failed: ModuleParseError: Module parse failed: Unexpected character ' ' (1:0)
Possible Fix
Nothing yet.
Steps to Reproduce
arcgis create myapp
cd myapp
npm start
Context
Your Environment
- Version used:
4.7.2
- Browser Name and version:
na
- Operating System and version (desktop or mobile): Windows 10
- Link to your project if available:
na
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Solved: powerapps training template does not work
Hi, You are in the editor mode. There are 3 diff ways you can make the app "work": 1. Save the app and...
Read more >Blank app WAP WinUI 3 Desktop template does not work out ...
Create a new [Experimental] Blank App. Packaged with WAP (WinUI 3 in Desktop); Don't change the default minimum and target windows versions. Hit...
Read more >The MAUI app project template does not target windows out-of ...
... I get a project that does not target windows: Steps to Reproduce Create a new project using the ".NET MAUI App (Preview)"...
Read more >Cannot see the Windows Forms App template - Stack Overflow
NOW if you want to see if this is somehow related to a visual bug try the following: 1) open visual installer 2)...
Read more >Reset Notion – Notion Help Center
Chrome · Open the Developer Tools using cmd + option + i for Mac, or ctrl + shift + i for Windows. ·...
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 FreeTop 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
Top GitHub Comments
Looks like my attempt to scope the assets to only
arcgis-js-api
doesn’t work in Windows. https://github.com/Esri/arcgis-webpack-plugin/commit/641614ecc3f7debd7b867ce136fe96af8d4490b5#diff-168726dbe96b3ce427e7fedce31bb0bcL107Since this regex doesn’t work in Windows, when Webpack hits one of these font or image files, it doesn’t have a loader available for that particular file type.
If someone knows how to have this regex work in all environments, I’m open to suggestions. @tomwayson any ideas? I blame you 😛 It’s a good suggestion, just not sure why Windows is being weird about it.
I’ll revert this in next update, but I have other features currently in the pipeline for the next release.
This should now be fixed with
@arcgis/webpack-plugin
4.7.8
. https://github.com/Esri/arcgis-webpack-plugin/releases/tag/4.7.8There might be another release in next couple of days, so I’ll wait on updating the CLI until that is done.