import Debug "mo:base/Debug";
actor DBank{
var currentValue = 300;
currentValue := 100;
Debug.print("Hello");
}
Running the command dfx start
:
Running dfx start for version 0.12.1
Using the default definition for the 'local' shared network because /home/karthik/.config/dfx/networks.json does not exist.
Dashboard: http://localhost:40021/_/dashboard
Also the dfx deploy
command reports:
Error: Failed while trying to deploy canisters.
Caused by: Failed while trying to deploy canisters.
Cannot find dfx configuration file in the current working directory. Did you forget to create one?