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

error #3

Open
codermert opened this issue Mar 11, 2023 · 1 comment
Open

error #3

codermert opened this issue Mar 11, 2023 · 1 comment

Comments

@codermert
Copy link

lib/screens/upload_screen/upload_screen.dart:5:8: Error: Error when reading 'lib/cloudinary.dart': No such file or directory
import 'package:cachedrun/cloudinary.dart';
^
../.pub-cache/hosted/pub.dev/stacked-3.0.1/lib/src/state_management/skeleton_loader.dart:106:19: Error: No named parameter with the name 'vsync'.
vsync: this,
^^^^^
../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/animated_size.dart:28:9: Context: Found this candidate, but the arguments don't match.
const AnimatedSize({
^^^^^^^^^^^^
lib/screens/upload_screen/upload_screen.dart:39:20: Error: The method 'uploadFile' isn't defined for the class '_UploadPageState'.

  • '_UploadPageState' is from 'package:cachedrun/screens/upload_screen/upload_screen.dart' ('lib/screens/upload_screen/upload_screen.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'uploadFile'.
    return await uploadFile(File(outPath), "$videoId-video");
    ^^^^^^^^^^
    lib/screens/upload_screen/upload_screen.dart:55:20: Error: The method 'uploadFile' isn't defined for the class '_UploadPageState'.
  • '_UploadPageState' is from 'package:cachedrun/screens/upload_screen/upload_screen.dart' ('lib/screens/upload_screen/upload_screen.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'uploadFile'.
    return await uploadFile(File(outPath), videoid);
    ^^^^^^^^^^
    Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

  • Where:
    Script '/home/mert/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1154

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/home/mert/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUİLD FAILED in 1m 55s
Exception: Gradle task assembleDebug failed with exit code 1

@Ansh-Rathod
Copy link
Owner

#2
hey check this issue

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

2 participants