Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Template app does not work on Windows

See original GitHub issue

It looks like the css portion of the loaders do not work on Windows.


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

  1. arcgis create myapp
  2. cd myapp
  3. npm start


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:closed
  • Created 5 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

odoecommented, May 17, 2018

Looks like my attempt to scope the assets to only arcgis-js-api doesn’t work in Windows.

Since 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.

odoecommented, May 17, 2018

This should now be fixed with @arcgis/webpack-plugin 4.7.8.

There might be another release in next couple of days, so I’ll wait on updating the CLI until that is done.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found