I am trying to bundle the project but couldn't get successful result - bigcommerce

This is the pixel union theme. I am trying to bundle the project using "stencil bundle" but I can't get the successful result. The error is occurring that the following templates are missing but I saw the original theme and found that there is not available the products folder in the original theme.
Please help me.

You should have all three of these files in your template:
components/products/ratings.html
components/products/price.html
components/common/login-for-pricing.html
Did you delete them by chance? They are certainly in Cornerstone.

Related

Find invalid image paths in vue project

In my Vue 3 project, all images are located in public/assets/image then in .vue files I refer to these images like assets/image/image.png.
Sometimes I might make a typo in a path or a path might not be correct anymore.
Is there any automated way to find and fix all incorrect paths in a project?
I am using "VS Code" and "IntelliJ IDEA" might be there are any plugins to handle this.
In VS Code there is an extension called Image preview
https://marketplace.visualstudio.com/items?itemName=kisstkondoros.vscode-gutter-preview
If the path is right it shows the image at the left side of the import.

Getting the following error: Unable to resolve "../assets/icon.png" from "app\assets\screens\WelcomeScreen.js"

When I try to run my app I get the error
Unable to resolve "../assets/icon.png" from "app\assets\screens\WelcomeScreen.js"
Error: Problems validating asset fields in app.json. See https://docs.expo.io/
• Field: icon - cannot access file at './assets/icon.png'.
I created a screens folder and input my homescreen into it as I heard that the majority of the react native community does things that way. Attached is a picture of my filesenter image description here
I think that the image path is off, however I had changed it multiple times and am still getting the same error.
Any help would be appreciated.
try the following: ../icon.png
Cause that's what I can see from your file structure.
If you use visual studio code as dev tool, when you type path cue, correct path will be appeared. so you can avoid to make mistake in path of image.

Xcode 5 invalid image path error

Im relatively new to programming and am just in the process of uploading my first app to the app store however i am getting the following error message which i just can't figure out / fix. I have looked everywhere online for a solution but as yet, no luck. Please can someone help? I am using Xcode 5:
Error:
ERROR ITMS-9000: "Invalid Image Path - No image found at the path referenced under key 'CFBundleIcons': 'AppIcon40x40'" at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
This really doesn't mean anything to me as i have tried all the usual asset catalogue stuff / looked at my p-list.
You need an App Icon.
If you created the project in Xcode 5 then there should be a catalogue called Images.xcassets where you should place the icons of the correct sizes for your app.
I have added a screenshot of my app as an example of what I am talking about:
I saw the same error. First I thought that the images where not correct (I found one with 144 dpi), but the error showed up again.
Just search for the exact name "AppIcon40x40" in the whole project using Shift+Cmd+F. I have seen it referenced in a plist file under another key. There you have to change the names to the appropriate ones.

Path to VersionInfo.plist from app bundle

I am currently working on CoreData, but I am getting some errors. I have tried all the solutions stated on StackOverflow, except for one:
Make sure the NSManagedObjectModel_CurrentVersionName is correct.
There are posts of people suggesting going to app bundle -> coreData.momd -> VersionInfo.plist to do the checking.
However, I cannot even find where my app bundle is. I can find my build folder with intermediates and products. However, nothing in those folders direct me to the app bundle.
Any help or suggestion is greatly appreciated.
Thanks.
You can find the currently selected version by selecting the .cxdatamodeld file in the Project Navigator pane on the left of the screen. Then, in the Utilities pane on the right of the screen select the File Inspector and under Versioned Core Data Model is the selection for "Current". This should show your current data model.
Open terminal and type the following command:
find / -name "VersionInfo.plist"
Mine is in "./Users/blossomwoo/Library/Application Support/iPhone Simulator/6.1/Applications/DB103D5D-9FFA-4E95-9715-944E8E339FCB/.app/DataModel.momd/"

Offline application in sencha touch 2 not working

I am trying to to build an offline application in sencha touch 2 using mvc structure. In offline mode page displayed is blank. I checked developer tool and there was an error as
"Failed to load resource http://ipaddress/AppName/app/view/LoginViewport.js?_dc=1334316337812 "
We can also see in the above error, there is some data appended to "LoginViewPort.js", and that might be the problem.
Please help.
When I get that error, it means I didn't place the file in the correct location Sencha Touch is expecting. It is perhaps you made the directory VIEWS and it is looking in VIEW for the information? Did you define it like so?
Ext.application({
name: 'MyApp',
views: ['LoginViewport'],
...
Ext.define('MyApp.view.LoginViewport', {
...
I believe this would mean it would look in the view folder for the file LoginViewport.js.
I had the same problem. Even though sencha can find the file in the view folder. It ignores it for some reason. If you rename the folder to views it should work. At least that's what it did in my project.
It works ones we go for production. Because all the mvc structure files will be copied into one file.