Comments (6)
Unit recently, when executing gulp serve:prod another non-obvious error can occur in case environment variables are not passed to root. However, in latest version we do check GOPATH variable and the execution will exit. So, a user will most likely realize his wrong action. Anyway, in case it is simple, please add another check:
cheld@estheld:~/devel/dashboard$ sudo env "GOPATH=$GOPATH" gulp serve:prod
[09:08:27] Requiring external module babel-core/register
[09:08:29] Using gulpfile ~/devel/dashboard/gulpfile.babel.js
[09:08:29] Starting 'assets'...
[09:08:29] Starting 'angular-templates'...
[09:08:29] Starting 'styles:prod'...
[09:08:29] Starting 'package-backend-source'...
[09:08:29] Starting 'kill-backend'...
[09:08:29] Finished 'kill-backend' after 47 μs
[09:08:29] Finished 'assets' after 103 ms
[09:08:29] Finished 'styles:prod' after 126 ms
[09:08:29] Finished 'package-backend-source' after 131 ms
[09:08:29] Starting 'backend:prod'...
execvp(): No such file or directory
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
from dashboard.
Yes, this would be extremely helpful. Most people don't realize they need godep for a frontend project.
Another idea that struck me is that we could stop requiring godep and download it during a build step, e.g.,
go get godep
$GOPATH/bin/godep go <commad>
This could actually work.
from dashboard.
I am on it first thing tomorrow morning :) (Moving in to my new apartment right now)
from dashboard.
+1 at @bryk, the download is usually quite fast
from dashboard.
Please consider 'go clean', because it might remove godep again. This might be non-intentional.
from dashboard.
Fixed. Environment variables are checked. In addition godep is downloaded by npm and does not require user setup any longer
from dashboard.
Related Issues (20)
- Issue when trying to complete ACME Challenge for custom domain used in chart: "failed to perform self check GET request Get \"http://<domain>/.well-known/acme-challenge/<token>": EOF" HOT 4
- Support configurable Service Type field HOT 1
- Allow hiding "All namespaces" in namespaces dropdown list
- Workload status with black graphs in DE, ES, FR and ZH HOT 2
- Kubernetes-Dashboard out of sync in ArgoCD because of rollme annotation HOT 2
- kong don't start HOT 4
- 400 Bad Request: plain HTTP request was sent to HTTPS port HOT 1
- nginx: [emerg] bind() to [::1]:8444 failed (99: Cannot assign requested address) HOT 3
- Add user details when login with OIDC HOT 2
- How to set affinity rule and requests/limits for kong HOT 2
- Helm chart does not have a nodeSelector field for Kong service, and it doesn't use at least the global option from app field HOT 5
- Error when install dashboard on clean k8s cluster HOT 14
- Delete resource should have an option to choose the deletion cascading strategy HOT 3
- Setup HTTPS for Kubernetes Dashboard HOT 1
- Broken link to Dashboard Tour on default landing page HOT 2
- kubernetes dashboard give fail when use custom dns. HOT 2
- Default Helm chart installation fails because of Kong configuration issue: could not prepare Kong prefix at /kong_prefix: nginx configuration is invalid (exit code 1): HOT 3
- k3s: Make ingress.tls completely optional. HOT 2
- With Ingress to reach the svc , the expose site report error /api/v1/login not found HOT 3
- Ingress not allowed when kong is disabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dashboard.