Express doen not load javascript to the client Express doen not load javascript to the client express express

Express doen not load javascript to the client


I think the problem is in static module, your nodejs code should be like that:

var express = require('express');var app = express();app.use(express.static(__dirname + '/public'));app.listen(8090);

The issue in:

Q1:I think the issue may be from empty content model, so please try to use

 <script></script>

instead of

<script />

Q2:I think this is an issue in require.js version, read this for more info.