Closed Mecil9 closed 4 years ago
fix it, must be restart vscode.......
getting same issue how did u fix that ?
@syedqbuster he restarted vs code. What modules are you having a problem with?
I tried restart my android studio but getting same issue,,
@FilledStacks This is my pubsec.yml look like
version: 1.0.0+1
environment: sdk: ">=2.6.0 <3.0.0"
dependencies: flutter: sdk: flutter http: ^0.12.0+1 responsive_builder: ^0.1.5
Facing this issue
Unable to find modules for some sources, this is usually the result of either a bad import, a missing dependency in a package (or possibly a dev_dependency needs to move to a real dependency), or a build failure (if importing a generated file).
Please check the following imports:
import 'package:responsive_builder/responsive_builder.dart';
from demoapp|lib/main.dart at 4:1
Failed after 90ms
Update the package to the latest 0.1.9,
@FilledStacks earlier i used latest version, and got the same issue then i downgrade and tried of all version still getting this issue. and also I did the same step. Is it supported for web project ??
pubspec.yaml: dependencis: ....... responsive_builder: ^0.1.5
console print error: Unable to find modules for some sources, this is usually the result of either a bad import, a missing dependency in a package (or possibly a dev_dependency needs to move to a real dependency), or a build failure (if importing a generated file).
Please check the following imports:
import 'package:responsive_builder/responsive_builder.dart';
from web_router_demo|lib/widgets/navigation_bar/navigation_bar.dart at 2:1Failed after 88ms
in file import :
import 'package:flutter/material.dart'; import 'package:responsive_builder/responsive_builder.dart'; import 'package:web_router_demo/widgets/navigation_bar/navigation_bar_mobile.dart'; import 'package:web_router_demo/widgets/navigation_bar/navigation_bar_tablet_desktop.dart';
class NavigationBar extends StatelessWidget { @override Widget build(BuildContext context) { return ScreenTypeLayout( mobile: NavigationBarMobile(), tablet: NavigationBarTableDesktop(), ); } }
?????