-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Bug Report
What is the issue?
Do we definitely need to log all the 404 errors, especially for first time users
The following errors are logged at startup:
Error: Page not found: /nhsuk-frontend/stylesheets/application.min.css
at /path/to/project/app.js:242:15
at Layer.handleRequest (/path/to/project/node_modules/router/lib/layer.js:152:17)
at trimPrefix (/path/to/project/node_modules/router/index.js:342:13)
at /path/to/project/node_modules/router/index.js:297:9
at processParams (/path/to/project/node_modules/router/index.js:582:12)
at Immediate.next (/path/to/project/node_modules/router/index.js:291:5)
at Immediate.<anonymous> (/path/to/project/node_modules/router/index.js:688:15)
at process.processImmediate (node:internal/timers:507:21)
Error: Page not found: /nhsuk-frontend/javascripts/application.min.js
at /path/to/project/app.js:242:15
at Layer.handleRequest (/path/to/project/node_modules/router/lib/layer.js:152:17)
at trimPrefix (/path/to/project/node_modules/router/index.js:342:13)
at /path/to/project/node_modules/router/index.js:297:9
at processParams (/path/to/project/node_modules/router/index.js:582:12)
at Immediate.next (/path/to/project/node_modules/router/index.js:291:5)
at Immediate.<anonymous> (/path/to/project/node_modules/router/index.js:688:15)
at process.processImmediate (node:internal/timers:507:21)
Error: Page not found: /nhsuk-frontend/stylesheets/nhsuk-frontend.min.css
at /path/to/project/app.js:242:15
at Layer.handleRequest (/path/to/project/node_modules/router/lib/layer.js:152:17)
at trimPrefix (/path/to/project/node_modules/router/index.js:342:13)
at /path/to/project/node_modules/router/index.js:297:9
at processParams (/path/to/project/node_modules/router/index.js:582:12)
at Immediate.next (/path/to/project/node_modules/router/index.js:291:5)
at Immediate.<anonymous> (/path/to/project/node_modules/router/index.js:688:15)
at process.processImmediate (node:internal/timers:507:21)
Error: Page not found: /nhsuk-frontend/javascripts/nhsuk-frontend.min.js
at /path/to/project/app.js:242:15
at Layer.handleRequest (/path/to/project/node_modules/router/lib/layer.js:152:17)
at trimPrefix (/path/to/project/node_modules/router/index.js:342:13)
at /path/to/project/node_modules/router/index.js:297:9
at processParams (/path/to/project/node_modules/router/index.js:582:12)
at Immediate.next (/path/to/project/node_modules/router/index.js:291:5)
at Immediate.<anonymous> (/path/to/project/node_modules/router/index.js:688:15)
at process.processImmediate (node:internal/timers:507:21)
Error: Page not found: /apple-touch-icon-precomposed.png
at /path/to/project/app.js:242:15
at Layer.handleRequest (/path/to/project/node_modules/router/lib/layer.js:152:17)
at trimPrefix (/path/to/project/node_modules/router/index.js:342:13)
at /path/to/project/node_modules/router/index.js:297:9
at processParams (/path/to/project/node_modules/router/index.js:582:12)
at Immediate.next (/path/to/project/node_modules/router/index.js:291:5)
at Immediate.<anonymous> (/path/to/project/node_modules/router/index.js:688:15)
at process.processImmediate (node:internal/timers:507:21)
Error: Page not found: /apple-touch-icon.png
at /path/to/project/app.js:242:15
at Layer.handleRequest (/path/to/project/node_modules/router/lib/layer.js:152:17)
at trimPrefix (/path/to/project/node_modules/router/index.js:342:13)
at /path/to/project/node_modules/router/index.js:297:9
at processParams (/path/to/project/node_modules/router/index.js:582:12)
at Immediate.next (/path/to/project/node_modules/router/index.js:291:5)
at Immediate.<anonymous> (/path/to/project/node_modules/router/index.js:688:15)
at process.processImmediate (node:internal/timers:507:21)
Error: Page not found: /favicon.ico
at /path/to/project/app.js:242:15
at Layer.handleRequest (/path/to/project/node_modules/router/lib/layer.js:152:17)
at trimPrefix (/path/to/project/node_modules/router/index.js:342:13)
at /path/to/project/node_modules/router/index.js:297:9
at processParams (/path/to/project/node_modules/router/index.js:582:12)
at Immediate.next (/path/to/project/node_modules/router/index.js:291:5)
at Immediate.<anonymous> (/path/to/project/node_modules/router/index.js:688:15)
at process.processImmediate (node:internal/timers:507:21)What steps are required to reproduce the issue?
Open http://localhost:3000 after running:
npm run watchWhat was the environment where this issue occurred?
N/A
Metadata
Metadata
Assignees
Labels
No labels