-
Notifications
You must be signed in to change notification settings - Fork 80
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: Cannot find module "ionic-gallery-modal/ionic-gallery-modal" #27
Comments
Why is it "ionic-gallery-modal/ionic-gallery-modal"? Did you import from that? |
No , this how i import it
|
Ok, that looks fine, for the app module I suppose. What about where you use it |
In the gallery.ts and its file structure is
in
Interesting thing is this fails only if i run in this is my
|
That is weird. Did you try searching within your project for |
Are you using yarn or npm? |
Yes , i do search there but i didn't find anything like that , i removed the package and added back again using npm from your readme , but still no luck.. |
Just to add more info , i didn't get any compile error as i have tried with |
Does it say where the error is? Like the file/line? |
This is the Console Error
|
Hmm, could you send me the main js compiled file? I don't think I can trace the error otherwise |
Can you provide me ur mail id , so that i can mail u , rather than posting whole file here? |
You can see my email address in my profile. :) Yeah, from the compiled file I can't tell |
@nikini , if it is uncompiled , im not getting this issue.. event then you need that uncompiled file ? |
Hmm, let's try it differently. Can you clone the demo and try to compile it? I'm curious if that is working for you |
Sure , let me give a try and get back to u |
@nikini even with your demo after upgrading to the 0.1.1 , i'm able to repro the issue.. |
What's the command you ran on my demo? I can also try to run it |
Sure , here is the package.json of your modified demo
In the above i added ionic-build in Prod mode , so i ran that one .. |
Hi there, I had the same issue, after that I removed my node_modules and run npm install to install it again. I am now getting this error when I run ionic build android --prod: ionic-app-script task: "build" |
I'll be releasing a new feature in a couple of days that will address this issue (beside others) |
@nikini sure, can you tell me what might be the cause of it ? Thanks for the Quick Response and Support .. any help for the Repo i'm there .. |
Well, like most issues, I think it's the transpiling. But, I've made a module out of it and then, you will only need to import the module. I think that that will fix it. I'll have to test. |
That seems to be interesting one to discuss .. generally transpiling will be taken care by |
Is a simple plugin and what many need, but I would like to know if you made any changes about the error when compiling --prod? :) |
What changes u are referring ?
…Sent from my iPhone
On 15-Jun-2017, at 7:28 PM, feliperoan ***@***.***> wrote:
Is a simple plugin and what many need, but I would like to know if you made any changes about the error when compiling --prod? :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@nikini Any update on this ? |
@nikini , Same is happening while running build with AOT Any update on this? |
Hello, sorry for the delay. Please check v0.2.1. But, also check on how to use it. It's slightly different now, since it has its own module |
I'll close this issue in 7 days and assume it's fixed :) |
@nikini i moved to another project , will take time and will check this issue and update u within 2 days .. thanks for this :) |
@nikini started working on this . .. will update the Status |
Just make sure you use the latest version, and make sure you include the library with the module as it says in the README, please |
@nikini i have tried with the new Changes , in my app using the lazy-load when i tried to load the modal it is throwing error as Update: : |
Hi, Still having the issue "ionic-gallery-modal module not found" with v.0.2.7. I'm following the new way to use it but still having trouble. My package.json file:
Any idea on what's going on there ? UPDATE: Fixed it with:
|
After Running
ionic-app-scripts build --prod
while running the app , facing the above error
The text was updated successfully, but these errors were encountered: