An error occurred while creating the docker image for the k8s dashboard

Kubernetes version: v1.15.0
Installation method: kudeadm
Host OS: ubuntu 18.04
CNI and version: calico 3.8.0
Hello everyone,

After I configured the environment according to the requirements in, I got an error when using the “npm run build” command.

The error log that appears is as follows:

$ npm run build

kubernetes-dashboard@2.0.0-beta1 build /home/sgj/workspace/kubernetes/dashboard
kubernetes-dashboard@2.0.0-beta1 postversion /home/sgj/workspace/kubernetes/dashboard
node aio/scripts/version.js
Version v2.0.0-beta1-20-g45550dac9 saved to …/src/app/frontend/environments/version.ts
Building backend
[14:12:06] Requiring external module babel-register
[14:12:06] Using gulpfile ~/workspace/kubernetes/dashboard/gulpfile.babel.js
[14:12:06] Starting ‘backend:prod’…
[14:12:06] Starting ‘’…
go: unrecognized import path “” (https fetch: Get net/http: TLS handshake timeout)
go: error loading module requirements
[14:12:17] ‘’ errored after 10 s
[14:12:17] Error: Go command error, code: 1
at ChildProcess. (/home/sgj/workspace/kubernetes/dashboard/aio/gulp/gocommand.js:148:23)
at ChildProcess.emit (events.js:203:13)
at ChildProcess.EventEmitter.emit (domain.js:494:23)
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
[14:12:17] ‘backend:prod’ errored after 10 s
npm ERR! errno 1
npm ERR! kubernetes-dashboard@2.0.0-beta1 build: ./aio/scripts/
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kubernetes-dashboard@2.0.0-beta1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/sgj/.npm/_logs/2019-07-18T06_12_17_232Z-debug.log

Since I am a new user, I can’t send more than 5 links, some of which have been deleted by me.
The reason for the error is because there is no file to get to, is there any way to solve it? Thank you.