Selagi membuka ruang kerja, Saya melihat pesan Unable to forward your request to backend. Tidak bisa hubungkan ke server di port 80.
Ini adalah masalah umum. Sebagai solusi, tunggu sekitar 5 detik dan muat ulang pada halaman.
Pratinjau saya rusak, tapi saya melihat tidak ada yang salah dengan kode saya. Bagaimana cara memulai ulang IDX?
Jika IDX tidak diperbarui dengan benar (biasanya disebabkan oleh
pemfaktoran ulang, atau perubahan pada file monospace.json
), jalankan Hard Restart,
yang tersedia di perintah
palet (Cmd+Shift+P di Mac atau Ctrl+Shift+P di ChromeOS, Windows, atau
Linux), dengan kategori IDX.
Saat membuat ruang kerja, saya melihat pesan, Aduh.. Kita perlu menyiapkan VM baru, dan UI akan hang setelah sehingga
IDX mengelola kumpulan VM yang hangat dan digunakan untuk menyediakan ruang kerja on-demand. Saat kumpulan hampir habis, ruang kerja akan disediakan setelah VM baru diputar. Proses ini dapat memakan waktu (terkadang hingga 5 menit) tetapi akhirnya berhasil.
Saat membuat ruang kerja, saya melihat pesan, terjadi error internal
Di sebagian besar kasus error internal selama penyediaan ruang kerja, memuat ulang halaman setelah satu menit atau lebih akan membuat Anda dapat melewati kesalahan itu dan langsung ruang kerja.
Berapa banyak ruang kerja yang berbeda yang dapat saya miliki di akun saya?
IDX memiliki batas 1 ruang kerja per pengguna. Anda memiliki Profil Developer Google, Anda dapat membuat hingga 5 ruang kerja. Untuk membuat Profil Developer Google secara langsung dari IDX setelah Anda mencapai batas ruang kerja, klik Selesaikan Penyiapan dari notifikasi di dasbor template.
Ruang kerja saya akan dimuat tetapi emulator kosong
Kami secara aktif meningkatkan keandalan emulator berbasis cloud kami. Jika halaman memuat ulang tidak menyelesaikan masalah, harap laporkan masalah tersebut.
Ruang kerja IDX memiliki Flutter yang tidak kompatibel dengan proyek saya.
Anda dapat mengupgrade atau mendowngrade versi hampir semua software bawaan di dalam ruang kerja seperti yang Anda lakukan di komputer lokal Anda (menggunakan apt-get atau brew). Perlu diketahui bahwa perubahan tidak dipertahankan saat "tidak ada aktivitas" hibernasi ruang kerja.
Apa perbedaan antara Project IDX dan Workstation Google Cloud
Kami telah membangun BEI dengan (luar biasa!) yang tersedia secara umum Penawaran Cloud Workstations dari Google Cloud. Cloud Workstation adalah penawaran infrastruktur yang berfokus pada workstation developer keandalan, keamanan, dan ketersediaan. Ini adalah pilihan ideal untuk perusahaan besar yang ingin mengelola pengalaman pengembangan aplikasi. Project IDX adalah "termasuk baterai" lingkungan di dalam workstation ini yang mengelola toolchain, pengembangan software, stack, dan dependensi sistem yang diperlukan untuk membangun tipe aplikasi yang berbeda.
Saya tidak terbiasa dengan Linux. Bagaimana caranya menjadi produktif di Project IDX?
Project IDX mengekspos shell Debian yang dapat Anda gunakan untuk menginstal dan mengelola dependensi perangkat lunak tingkat sistem dari proyek Anda. Kami akan segera beralih ke {i>shell<i} berbasis Nix yang tidak bergantung pada OS dan dapat Anda gunakan untuk mengelola perangkat lunak sistem dependensi sebagai konfigurasi tanpa memahami spesifikasi dari Pengelola paket khusus OS seperti {i>apt<i}. Nantikan kabar terbarunya.
Mengapa BEI membutuhkan pihak ketiga (3P) cookie diaktifkan?
BEI mengharuskan cookie pihak ketiga diaktifkan karena kami merender IFRAME dari satu domain (
subdomain cloudworkstations.dev
) di domain lain (idx.google.com
), dan
Cookie pihak ketiga memungkinkan komunikasi lintas origin yang aman.
Saya membagikan URL workstation saya kepada seseorang, tetapi mereka tidak dapat melihat ruang kerja saya
Anda hanya dapat membagikan URL ruang kerja kepada pengguna yang memiliki akses ke Workspace. Pengguna yang tidak memiliki izin akan melihat error saat mencoba mengunjungi URL. Pastikan untuk membagikan ruang kerja kepada mereka secara eksplisit, seperti membagikan Dokumen Google
Ketika saya berbagi {i>workstation<i} saya, apa yang dapat dilihat oleh kolaborator saya?
Pengguna yang ditambahkan ke ruang kerja Anda memiliki akses penuh ke seluruh VM sistem file, yang dapat berisi file sensitif seperti kunci pribadi dan akses token kata. Bagikan ruang kerja Anda hanya kepada orang yang Anda percayai. Meskipun pendekatan ini membantu pengguna lain melihat status yang tepat dari ruang kerja Anda, itu berarti mereka melihat semua yang ada di ruang kerja Anda.
Bagaimana cara membagikan ruang kerja saya dengan aman yang memiliki kredensial Firebase?
Ketika Anda menggunakan IDX untuk men-deploy aplikasi ke Firebase, ruang kerja disediakan hanya dengan izin paling dasar yang diperlukan untuk melakukan operasi. Meskipun Anda, sebagai pengguna, mungkin administrator project, ruang kerja itu sendiri tidak memiliki semua izin akses yang menyertainya dengan menjadi pemilik, yang beroperasi berdasarkan prinsip istimewa tersebut.
Dapatkah saya menggunakan kerangka kerja yang IDX tidak mendukung build aplikasi saya?
Ya. Sementara kita berupaya untuk memungkinkan ruang kerja dapat disesuaikan sepenuhnya, Anda dapat mengimpor project yang menggunakan frontend yang tidak didukung atau mungkin tidak memiliki UI sama sekali. Cara termudah untuk melewati ini adalah memilih Other sebagai App Type dalam alur Import a repo. Satu kali menyiapkan ruang kerja, Anda dapat menginstal dependensi tingkat sistem apa pun kebutuhan proyek Anda.
Dapatkah saya mengimpor repo dari GitLab atau Cloud Source Repositories?
Saat ini, kami mendukung GitHub. Jika Anda ingin kami mendukung lebih banyak {i>host<i} Git, kirimkan permintaan fitur.
Sementara itu, Anda dapat membuat ruang kerja baru dari template yang ada dan
jalankan git clone
dengan host Git berbasis https
atau ssh
di terminal, seperti Anda
seperti biasa di komputer lokal Anda.
Direktori target mana yang harus saya yang dipilih saat men-deploy aplikasi Flutter ke Firebase Hosting?
Pilih direktori build/web
. Direktori ini harus berisi index.html
dan semua aset statis yang dibutuhkan untuk merender aplikasi web Anda setelah aplikasi dibuat
berhasil (melalui flutter build web
).
Bagaimana cara menyiapkan backend aplikasi di ruang kerja agar frontend saya dapat berkomunikasi dengannya?
Kami berencana untuk menyederhanakannya dalam waktu dekat, tetapi untuk saat ini, gunakan solusi berikut:
- Project yang memiliki backend API dapat memulai layanan API-nya
secara manual di terminal, atau konfigurasikan
perintah {i>startup<i} di
File
monospace.json
. Buka port tempat layanan API berjalan agar dapat diakses oleh web Anda pratinjau frontend dengan menjalankan skrip
bash
berikut di terminal:export port=4000 #dont use restricted ports (8000, 9000-9002) export API_SERVICE="https://$port-$WEB_HOST" echo $API_SERVICE
Buka
API_SERVICE URL
di atas tab baru di browser Anda. Tindakan ini menyetel cookie yang diperlukan melalui alur pengalihan.Frontend aplikasi web Anda kini dapat mengakses layanan API di layanan API yang sepenuhnya memenuhi syarat .
Saya menutup pratinjau . Bagaimana cara mengembalikannya?
Buka palet perintah (Cmd+Shift+P di Mac atau Ctrl+Shift+P di ChromeOS, Windows, atau Linux) dan pilih Project IDX: Tampilkan Pratinjau Web.
Apa itu Code OSS?
{i>Code-Open Source Software<i} (Kode-OSS) adalah proyek {i>open source<i} yang intinya yaitu lapisan VS Code. Code-OSS tersedia di GitHub berdasarkan standar MIT Lisensi, dan merupakan tempat Microsoft mengembangkan produk VS Code.
Bagaimana cara mencegah kode saya penyelesaian tugas dan perintah percakapan Gemini digunakan sebagai data pelatihan?
Jika Anda tidak ingin perintah percakapan Gemini Anda digunakan sebagai data pelatihan untuk meningkatkan kualitas Gemini di IDX, tidak menggunakan asisten chat dan nonaktifkan pelengkapan kode di Setelan ruang kerja Anda.
Bagaimana cara mengirimkan fitur permintaan atau masukan terkait masalah yang saya hadapi?
Jika Anda mengalami masalah saat menggunakan Project IDX, laporkan bug untuk memberi tahu kami.
Jika ada fitur yang ingin Anda tambahkan ke IDX, atau fitur yang sudah ada yang ingin diperluas, ajukan permintaan fitur.
IDX menggunakan IssueTracker untuk bug dan permintaan fitur, guna mendukung permintaan beserta screenshot dan video. Di masa mendatang, IDX kemungkinan akan melacak masukan dan fitur melalui UserVoice. Masukan atau permintaan sudah yang dikirimkan melalui UserVoice telah disimpan dan dibagikan dengan tim.
Bagaimana cara mengetahui apakah Gemini di IDX tersedia di negara atau wilayah saya?
Gemini di IDX tersedia di wilayah terbatas, dengan ketersediaan yang diperluas secara rutin. Jika Gemini di IDX tersedia di wilayah Anda, Anda dapat menambahkannya ke ruang kerja Anda dengan mengikuti langkah-langkah yang diuraikan dalam Tambahkan Gemini ke ruang kerja Anda.
Saya menggunakan fitur tertentu di menggunakan Project IDX, tetapi saya tidak dapat menemukannya lagi. Mengapa konten ini dihapus?
Beberapa fitur di Project IDX bersifat eksperimental. Kami menghargai masukan Anda dan secara aktif menggunakannya untuk menginformasikan rangkaian fitur kami saat ini dan yang direncanakan, menghapus fitur yang tidak sesuai dengan harapan Anda atau kami sendiri. Jika fitur yang ingin Anda lihat di versi ideal Project IDX Anda, mengirimkan masukan kepada kami. Kami ingin mendengar pendapat Anda!