I want it to available asap or i need backup
My Deadline Is TOmmorow Evening,i Need it back its too important for me try , i am stuck hai laoding screen from last 30 minutes fix it sir
I want it to available asap or i need backup
My Deadline Is TOmmorow Evening,i Need it back its too important for me try , i am stuck hai laoding screen from last 30 minutes fix it sir
{ pkgs, … }: {
channel = “stable-24.05”; # or “unstable”
packages = [
pkgs.jdk17
pkgs.unzip
pkgs.sudo
pkgs.screenfetch
# pkgs.cocoapods
pkgs.systemd
];
env = { };
idx = {
# Search for the extensions you want on https://open-vsx.org/ and use “publisher.id”
extensions = [
“Dart-Code.flutter”
“Dart-Code.dart-code”
“Github.vscode-github-actions”
“Github.github-vscode-theme”
“Gruntfuggly.todo-tree”
“aaron-bond.better-comments”
“usernamehw.errorlens”
“vscode.image-preview”
“Nash.awesome-flutter-snippets”
];
workspace = {
# Runs when a workspace is first created with this `dev.nix` file
onCreate = {
build-flutter = ''
cd /home/user/myapp/android
./gradlew \
--parallel \
-Pverbose=true \
-Ptarget-platform=android-x86 \
-Ptarget=/home/user/myapp/lib/main.dart \
-Pbase-application-name=android.app.Application \
-Pdart-defines=RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNvbS9mbHV0dGVyLWNhbnZhc2tpdC85NzU1MDkwN2I3MGY0ZjNiMzI4YjZjMTYwMGRmMjFmYWMxYTE4ODlhLw== \
-Pdart-obfuscation=false \
-Ptrack-widget-creation=true \
-Ptree-shake-icons=false \
-Pfilesystem-scheme=org-dartlang-root \
assembleDebug
# TODO: Execute web build in debug mode.
# flutter run does this transparently either way
# https://github.com/flutter/flutter/issues/96283#issuecomment-1144750411
# flutter build web --profile --dart-define=Dart2jsOptimization=O0
'';
};
# To run something each time the workspace is (re)started, use the `onStart` hook
};
# Enable previews and customize configuration
previews = {
enable = true;
previews = {
# web = {
# command = ["flutter" "run" "--machine" "-d" "web-server" "--web-hostname" "0.0.0.0" "--web-port" "$PORT"];
# manager = "flutter";
# };
android = {
command = [ "flutter" "run" "--machine" "-d" "android" "-d" "emulator-5554" ];
manager = "flutter";
};
};
};
};
}
Should i Use Reset My workspace..?
But I Have Installed And Authorized some the important thing in /home folder of VM it will gone…? my project will deleted..? or it will just restart my VM?
after reset it will assign me a different VM with *0G default storage but i have 115 GB on My Current VM so i dont want to reset sir,is there nay other way..?or i should reset and developer have to increase my storage space to atleast 115 G
@Kirupa
@Kirupa
@Kirupa
@Kirupa
@Kirupa
@Kirupa
@Kirupa
@Kirupa
Create a new project, copy the dev.nix from that project, paste the contents into your 115GB VM, and restart.
i didn’t understand sir what you meant can you kindly provide me some details about htis and i am not able open old dev.nix i just copied dev.nix before it went out of service
creating new project i will get 115 GB storage automatically…?
and i have to copy only dev.nix ? but i am not able to open my existing workspcae how could i replace?
i got option of recovery mode then i edited dev.nix to original one and rebuilded enicironment ,thanks but what if i need custom environment?
@kirupa Again Got Atucked Have Setting Your workspace this time i haven’t even touched dev.nix automatically i got pop up your workspace is dissconeted refesh browser to connect and i refreshed then i got stuck at my old issue its again happend after almost 2day ,i used workspace for 38 hours straight is there something time limit?