Open limsocheat opened 3 years ago
Hey, I've just installed get_cli today, but I have the same issue. Trying to run get create page:chats on home
✖ + Folder .\lib\app\modules\home\chats not found
Unhandled exception:
NoSuchMethodError: The getter 'path' was called on null.
Receiver: null
Tried calling: path
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1 Structure.model (package:get_cli/core/structure.dart:68:20)
#2 handleFileCreate (package:get_cli/functions/create/create_single_file.dart:16:31)
#3 CreatePageCommand._writeFiles (package:get_cli/commands/impl/create/page/page.dart:67:26)
#4 CreatePageCommand.execute (package:get_cli/commands/impl/create/page/page.dart:51:13)
#5 main (file:///C:/Dev_Tools/flutter/.pub-cache/hosted/pub.dartlang.org/get_cli-1.4.5/bin/get.dart:15:23)
#6 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:281:32)
#7 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
Me too
same error!
Me too
Hasn't it been solved yet?
@CpdnCristiano
what's your version?
你的版本是什么?
你的版本是什么?
Not resolved yet
get create page:dialogview on home
✖ + Folder .\lib\app\data\home\dialogview not found
Time: 85 Milliseconds
The page [dialogview] already exists, do you want to overwrite it?
1) Yes!
2) No
3) I want to rename
1
✖ + Folder .\lib\app\data\home\dialogview not found
Time: 55061 Milliseconds
Hello, sorry for the delay in resolution, I currently have no windows to test
please fix it, pleaseeeeeeeee 😢
same here :(
any update guys?
any update? Windows 10
Same error to me. I am using windows 10
same here :(
me too :(
This tool has been so great however I am facing the same error.
Alright, I have found a workaround.
get create page:'module_name'/sub_module_name
Eg.
You want to create a sub module takeaway_checkout
in takeaway
The command will be as follows :
get create page:takeaway/takeaway_checkout
This was only tested on Windows 11.
I want to create a child page on the parent page:
get create page:takeaway_checkout on takeaway
But it created only empty folder with error message:
Even I chose option 1(yes), it still creates an empty folder only.