alphagov/paas-admin

Missing file /assets/init.js

Closed this issue · 0 comments

I get this error running it:

   2018-10-08T16:48:04.56+0100 [APP/PROC/WEB/1] OUT {"level":50,"time":1539013684563,"msg":"unregistered route: /assets/init.js","pid":17,"hostname":"b6d3b30b-fea8-4006-65c0-fa58","req":{"method":"GET","url":"/assets/init.js"},"type":"Error","stack":"NotFoundError: unregistered route: /assets/init.js\n    at n.default.find (/home/vcap/app/dist/webpack:/src/lib/router/router.ts:17:13)\n    at find (/home/vcap/app/dist/webpack:/src/components/app/router-middleware.ts:34:22)\n    at Layer.handle [as handle_request] (/home/vcap/deps/0/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/home/vcap/deps/0/node_modules/express/lib/router/index.js:317:13)\n    at /home/vcap/deps/0/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/home/vcap/deps/0/node_modules/express/lib/router/index.js:335:12)\n    at next (/home/vcap/deps/0/node_modules/express/lib/router/index.js:275:10)\n    at next (/home/vcap/app/dist/webpack:/src/components/app/router-middleware.ts:28:5)\n    at Layer.handle [as handle_request] (/home/vcap/deps/0/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/home/vcap/deps/0/node_modules/express/lib/router/index.js:317:13)\n    at /home/vcap/deps/0/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/home/vcap/deps/0/node_modules/express/lib/router/index.js:335:12)\n    at next (/home/vcap/deps/0/node_modules/express/lib/router/index.js:275:10)\n    at expressInit (/home/vcap/deps/0/node_modules/express/lib/middleware/init.js:40:5)\n    at Layer.handle [as handle_request] (/home/vcap/deps/0/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/home/vcap/deps/0/node_modules/express/lib/router/index.js:317:13)\n    at /home/vcap/deps/0/node_modules/express/lib/router/index.js:284:7\n    at Function.process_params (/home/vcap/deps/0/node_modules/express/lib/router/index.js:335:12)\n    at next (/home/vcap/deps/0/node_modules/express/lib/router/index.js:275:10)\n    at query (/home/vcap/deps/0/node_modules/express/lib/middleware/query.js:45:5)\n    at Layer.handle [as handle_request] (/home/vcap/deps/0/node_modules/express/lib/router/layer.js:95:5)\n    at trim_prefix (/home/vcap/deps/0/node_modules/express/lib/router/index.js:317:13)","name":"NotFoundError","v":1}
   2018-10-08T16:48:04.56+0100 [RTR/0] OUT admin.alext.dev.cloudpipeline.digital - [2018-10-08T15:48:04.522+0000] "GET /assets/init.js HTTP/1.1" 404 0 3177 "https://admin.alext.dev.cloudpipeline.digital/organisations/ef19aa52-a2ff-4dae-b069-3132b43cd9f8/users/invite" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" "127.0.0.1:11270" "10.0.32.4:61112" x_forwarded_for:"213.86.153.236, 127.0.0.1" x_forwarded_proto:"https" vcap_request_id:"1c6244ee-3e06-42c8-50ca-7b600af45a6c" response_time:0.046086528 app_id:"ebe8aa35-7350-4bf4-8519-4d64b3ffd12f" app_index:"1" x_b3_traceid:"fe3293705cf876c9" x_b3_spanid:"fe3293705cf876c9" x_b3_parentspanid:"-"

I guess webpack needs to be updated to include that file