Comments (13)
I would have to guess this is all the hot module reloading which will not occur in prod. You can remove it by passing a false into the following method.
from dotnet.
What you recommended disables HMR completely correct? I'm just curious why I don't see this same behavior in projects created with the Aurelia CLI that also include HMR?
from dotnet.
Can you attach your chrome network details to this so I can see.
from dotnet.
I'm using FireFox, but yes, here are the details from network.
Incidentally, I noticed that I'm getting a ton of errors in the console window as well
from dotnet.
Loading the same page in Chrome gives a little different results.
So, I'm still getting some kind of WebSocket failure in Chrome, but it seems to quit after the first failure as opposed to FireFox that seems to keep trying to do whatever it is its trying to do.
from dotnet.
I pulled fresh from nuget and created a project with the same layout and had no errors?
from dotnet.
I still don't see this can I close or are you still getting?
from dotnet.
I tried to start a new project to test and see if this is still acting the same way -- however, it appears that when I install the template dotnet new -i aurelia-dotnet-templates
, I'm getting the 2.2 version which means I only get one shot to test before a child process gets left open. The only way I know to get rid of the child process is to reboot my system. If you have an easier way of finding and killing that child process, that would be helpful. Better yet, if you have a way of loading the 2.1 version of the template I can re-test this for you and let you know if I'm still experiencing the issue.
from dotnet.
The new template should not be doing this? Make sure to check the project file for any existence of the InProcess and remove it.
from dotnet.
Grab the latest again as well. should be 1.5
from dotnet.
So I'm getting the same thing. I uninstalled the aurelia template and reinstalled 1.5 version. Created a new project dotnet new aurelia
and ran it. I get Hello World! but in FireFox I get a ton of errors and requests (same as screen shots above) and in Chrome I basically get the same screen shots that I included before as well.
I made no changes to the app at all after creating the project.
(Incidentally, when I created a project with the newer version of the template -- the one with the process issue, I did not see this behavior.)
from dotnet.
I don't know if you're trying to track this down or not, but I did see a minor difference in what I'm getting now and the previous errors in FireFox. The name of the file where the error is occurring has changed slightly.
The original error was in line10 of a file named vendor~[hash name].chunk.js
, the error I'm getting is now in line 10 of vendor.sockjs-client~[hash name].chunk.js
. Maybe that was just a rename of some file in your code and doesn't mean anything -- but I thought I'd mention it just in case.
Again, in chrome, this is what I see
from dotnet.
Having the same problem. I get numerous error on chrome.
I installed the latest 1.5.0 template. Is there a workaround this?
I have netcore2.2 version
@roddharris were you able to find a fix on this? how?
from dotnet.
Related Issues (9)
- After creating a project, I get a Dependencies Error HOT 10
- Is this template being kept up to date? HOT 4
- Local HTTPS support
- System.TimeoutException: The aurelia cli server did not start listening for requests within the timeout period
- basic install setup HOT 15
- Script 'au run' exited without indicating that the node server was listening HOT 3
- Cannot find module '@babel/polyfill' HOT 6
- Node process from Aurelia CLI is not shutdown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotnet.