If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
When I've seen that error before it was because when I was generating the tar file, I was not in the correct folder. You have to navigate inside you root component folder (image-across-popup in your case) then run the following command:
tar cvfj ../flex_component.tar.bz2 .
If you're not inside your root folder the tar command will still work but it will add an extra directory in the tar which will break the import
Can you give that to me in Mac? When I run the command I use in Terminal, I have to be in the directory that the folder I am trying to tar is in. If I go inside the directory I want to tar, I get an error in the Terminal window.
tar -jcvf mmx-image-across-popup.tar.bz2 mmx-image-across-popup
When I've seen that error before it was because when I was generating the tar file, I was not in the correct folder. You have to navigate inside you root component folder (image-across-popup in your case) then run the following command:
tar cvfj ../flex_component.tar.bz2 .
If you're not inside your root folder the tar command will still work but it will add an extra directory in the tar which will break the import
I just noticed something in the docs - it's in the extracted view of the mmx-hero. It shows two files that in the export MMX_Hero.css and MMX_Hero.js not inside any folder. In the export I did of the mmx-hero and the structure I have is different:
I've been trying my hand a creating a Flex Component. I copied the entire folder of the Flex Component I was thinking about tweaking. I thought I should practice creating the import file first so all I did was to rename all the instances of "image-across" to "image-across-popup" along with changing the Name in the flex.json. I was careful in my find and replace and naming. I thought I did the tar.bz2 correctly but I am getting an error:
Flex Component package does not contain required file
Leave a comment: