Muhammad Hafid

Janganlah malas untuk berkarya, biarpun sederhana tetapi bermanfaat bagi orang lain. Kerjakan dengan penuh kesabaran dan keikhlasan

Muncul Pesan Error Saat Memulai Beego

Pernah kalian ke esokan harinya ingin membuka kembali program yang sudah dibuat dengan Beego ? lalu pada saat diketikan go run main.go muncul pesan error seperti dibawah ini :

No command 'bee' found, did you mean:
 Command 'see' from package 'mime-support' (main)
 Command 'beet' from package 'beets' (universe)
 Command 'tee' from package 'coreutils' (main)
 Command 'beef' from package 'beef' (universe)
 Command 'beep' from package 'beep' (universe)
 Command 'ben' from package 'ben' (universe)
 Command 'bbe' from package 'bbe' (universe)
 Command 'beer' from package 'gerstensaft' (universe)
 Command 'be' from package 'bugs-everywhere' (universe)
 Command 'pee' from package 'moreutils' (universe)
 Command 'ree' from package 'ree' (universe)
 Command 'btee' from package 'ruby-bcat' (universe)
 Command 'bel' from package 'belier' (universe)
bee: command not found
Naah itu bearti path go kalian error, dan sebelum kalian memulai programing coba kalian ketikan bee  apabila muncul pesan error seperti diatas bearti kalian harus kembali menSet Workspace kalian, tanpa harus khawatir program kalian hilang. Caranya adalah ketikan ini secara berurutan : 
export PATH=$PATH:/usr/local/go/bin
export GOROOT=$HOME/golang
export PATH=$PATH:$GOROOT/bin
Pada baris kedua, saya menyimpan semua program golang saya di directory home dengan folde golang. Itu adalah path workspace kalian.

Setelah itu coba kalian test ketikan bee.

Jika munculnya pesan ini :
Bee is a Fast and Flexible tool for managing your Beego Web Application.
USAGE
    bee command [arguments]
AVAILABLE COMMANDS
    new         Creates a Beego application
    run         Run the application by starting a local development server
    pack        Compresses a Beego application into a single file
    api         Creates a Beego API application
    hprose      Creates an RPC application based on Hprose and Beego frameworks
    bale        Transforms non-Go files to Go source files
    version     Prints the current Bee version
    generate    Source code generator
    migrate     Runs database migrations
    fix         Fixes your application by making it compatible with newer versions of Beego
    dockerize   Generates a Dockerfile for your Beego application
Use bee help [command] for more information about a command.
ADDITIONAL HELP TOPICS

Use bee help [topic] for more information about that topic. 
Selamat anda bisa kembali menjalankan beego program kalian.
Labels: Go , programming

Thanks for reading Muncul Pesan Error Saat Memulai Beego . Please share...!

0 Comment for "Muncul Pesan Error Saat Memulai Beego"

Terima kasih sudah berkunjung ke blog saya, semoga informasi nya bermanfaat buat anda.

Back To Top