Skip to content

error #3

@codermert

Description

@codermert

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions