Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't execute pub global run scaff successfully #1

Open
AdMeen89 opened this issue Mar 4, 2021 · 9 comments
Open

Can't execute pub global run scaff successfully #1

AdMeen89 opened this issue Mar 4, 2021 · 9 comments

Comments

@AdMeen89
Copy link

AdMeen89 commented Mar 4, 2021

When I try to run pub global run scaff every time I get an error:

Unhandled exception:
StdinException: Error getting terminal echo mode, OS Error: Inappropriate ioctl for device, errno = 25
#0      Stdin.echoMode (dart:io-patch/stdio_patch.dart:71:7)
#1      get (package:prompts/prompts.dart:60:27)
#2      CliParser.getCliStream (package:scaff/src/classes/cli_parser.dart:51:23)
#3      main (file:///Library/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/scaff-1.2.0+2/lib/src/main.dart:22:31)
#4      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:301:19)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
pub finished with exit code 255

What should I do for avoiding this problem?

Scaff version: 1.2.0+2
OS: BigSur 11.2.1 (20D74)

Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (6 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5

The folder structure is exactly the same as in your example.
Full regards.

@AdMeen89 AdMeen89 changed the title Can't execute pub global run scaff successfully Can't execute pub global run scaff successfully Mar 4, 2021
@ganeshrvel
Copy link
Owner

I never had this issue. I will check.

@mohachouch
Copy link

I have the same error, on Windows.

Full Regards

@ganeshrvel
Copy link
Owner

What flutter version are you guys on?

@mohachouch
Copy link

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [version 10.0.18363.1379], locale fr-FR)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc1)
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.53.2)
[√] Connected device (2 available)

Thanks for your help

@AdMeen89
Copy link
Author

AdMeen89 commented Mar 7, 2021

What flutter version are you guys on?

As I've written above:

Flutter 1.22.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9b2d32b605 (6 weeks ago) • 2021-01-22 14:36:39 -0800
Engine • revision 2f0af37152
Tools • Dart 2.10.5

@mohachouch
Copy link

Hello @ganeshrvel

Any news for this issue,

Thanks for your work

@ganeshrvel
Copy link
Owner

@mohachouch unfortunately I am not getting time. I shall look into this issue this weekend and will update this thread.

@ganeshrvel
Copy link
Owner

Could you check if the below commands fixes your problem?

 $ pub global activate scaff 1.2.0+2
 $ pub global run scaff 1.2.0+2     

@mohachouch @AdMeen89

@mohachouch
Copy link

Hi @ganeshrvel

I tried the solution, unfortunately it doesn't work.

I have the same error.

Thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants