reflex-realworld-example icon indicating copy to clipboard operation
reflex-realworld-example copied to clipboard

error Process exited with code 1; 'nix' 'eval' when running ob

Open bakwan79 opened this issue 2 years ago • 1 comments

Hello,

Beginner here, I followed the readme, used docker to create the database. When I excute "ob run", a lot things compile but finally I have the following error message :

Process exited with code 1; 'nix' 'eval' '-f' '.' '(let a = import ./. {}; in toString (a.reflex.nixpkgs.lib.isDerivation a.passthru.staticFilesImpure))' '--raw'

I had the problem with a Ubuntu 22.04 Os on my local machine and the same happened under Nixos on an EC2 VM. I found via google a post suggesting to excute the command in the CLI, which resulted in this message "error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override" and I don't know what to do with that.

Thanks for your help bakwan

bakwan79 avatar Nov 04 '23 09:11 bakwan79

I have gathered some more infos, the problem is raised by this command that is executed in a nix-shell : /nix/store/a5l11f3dcgvh13wxn4kfnxq27ydlzrjm-obelisk-command-0.1/bin/.ob-wrapped --no-handoff --verbose internal run-static-io 01489bf44eb91e7f793dea3f236c5989

bakwan79 avatar Nov 04 '23 11:11 bakwan79