Description
I am seeing the <noscript>You need to enable JavaScript to run this app.</noscript>
markup when using the dev server launched with npm start
.
Is this a bug report?
No
$ node --version
v8.5.0
$ npm --version
5.3.0
I previously have been working with CRA without ejecting in order to build a custom server with Firebase Cloud Functions to support SSR. I had things working well - my custom server would serve the expected html and the CRA dev server worked independently just fine.
I just began expanding upon the client code to call API in my custom server. I must have messed up something because now I always see markup that JS is disabled. What could I have done to make the dev server think it needs to insert such a warning?
Edit: I just noticed the initial response from the custom server SSR also contains the unexpected noscript warning. I guess this means the client-app must be adding the markup rather than the framework. My SSR technique depends on using a custom Webpack config to transform the client-app into CommonJS modules that the server imports.