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

Unable to start #22

Closed
soromamadou opened this issue Dec 20, 2019 · 1 comment
Closed

Unable to start #22

soromamadou opened this issue Dec 20, 2019 · 1 comment

Comments

@soromamadou
Copy link

Hi guys,
i get an issue just after installation of this plugin.

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:transformer_page_view/transformer_page_view.dart'; from project|lib/pages/login/index.dart at 12:1

Failed after 144ms

After short debugging i noticed that in the plugin:

** Imports are made like this:
import 'package:transformer_page_view/transformer_page_view.dart';
=>
Instead i think we you need to use related path :
import './transformer_page_view.dart';

After that, it starts working on the project when i put package files into the project without pubspec.yaml.

But when i use pubspec.yaml to load the package it dosen't works even if i done these modifications.

Could you please check this ?

Other thing I'm using the Beta channel of Flutter;

Thanks

@soromamadou soromamadou changed the title Unable de start Unable to start Dec 20, 2019
@soromamadou
Copy link
Author

Hi,
it starts working after i reboot the computer. Seems to be a cache.

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

1 participant