Comments (10)
You likely have a service worker still running from a previous project. Clear service workers from within chrome devtools (application > service workers) and then hard reload the page.
This happens to me every once in a while.
from create-inferno-app.
Thanks for reporting this issue! I will look into it.
from create-inferno-app.
Hey @hulkish what should I do to reproduce the issue in your github repository?
What I tried so far:
I clone the repository.
I did npm i
I ran npm run start
-> browser opened localhost:3000 (basic example renderd, no errors in console)
I ran npm run build
I got info that production build was successfully made
from create-inferno-app.
@Havunen For me, I just run:
npm install
npm start
No errors during build and it seems like its working - however in the browser is where the error occurs
... what version of node are u using? i wonder if its. because of the version im using
from create-inferno-app.
I just tried this again with a different version of node (6.9.3
) and got the same (error'd) behavior as I originally reported
from create-inferno-app.
I previously tried with nodeJS 7.3.0 and npm 4.0.5 on my linux stack. I will try with windows machine nodeJS 7.4.0 now.
from create-inferno-app.
What I have tried so far:
git clone https://github.com/hulkish/inferno-test-2.git
npm install (wait until its ready)
npm start
- open Google Chrome v55 64bit localhost:3000 (no errors in console)
- open FireFox v50.1.0 localhost:3000 (no errors in console)
- open Microsoft EdgeHTML 14.14393 localhost:3000 (no errors in console)
- open Internet Explorer 11.576 localhost:3000 (no errors in console)
npm test (test runner starts 1 test pass)
I tried editing Inferno text in source and it reflect into the browser also. (hot reloading)
npm -v 4.0.5
node -v 7.4.0
windows 10 build 1607
I have also tried to reproduce this on my Linux stack no luck... what am I doing wrong?
from create-inferno-app.
I started browsing upstream repository and do you think any of these is related?:
facebook#658
Also now when I'm reading your description I noticed this line:
sw.js:1 The script has an unsupported MIME type ('text/html').
http://localhost:3000/sw.js Failed to load resource: net::ERR_INSECURE_RESPONSE
but I don't see sw.js anywhere loaded
from create-inferno-app.
@lukeed yep, that was it! That is a pretty sneaky one.. will definitely be making note of that lol
from create-inferno-app.
Closing this then. 👍
from create-inferno-app.
Related Issues (20)
- can we specify a custom build path for "inferno-scripts build"?
- make process.env available in sass? HOT 1
- PUBLIC_URL defined on .env is not on process.env
- .babelrc HOT 9
- My function call transpiled to (void, 0) HOT 2
- Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory HOT 5
- What's this code that was injected in index.html on build? HOT 1
- Doesnt install inferno-create-element HOT 1
- How do I use Linaria or Astroturf with this webpack setup? HOT 1
- Pretty far behind the fork of create-react-app HOT 12
- Inferno compat question HOT 3
- Anyone deployed inferno on Google App Engine?
- inferno-dev-utils/formatWebpackMessages support for webpack 5.x
- Test with new versions of Node with CI/CD HOT 1
- Dependencies must be upgraded HOT 10
- create-inferno-app dependency issue HOT 2
- Only npm supported?
- npm start error on eject HOT 5
- "WATcia-template asddas undefined" & Warnings on installing HOT 4
- after npm run eject, npm run build doesn't work HOT 1
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 create-inferno-app.