Deleted Shopify Application & Cannot Reinstall?

New Member
3 0 0

It's not work me, I used similar code, let me know another solution.

Thanks

0 Likes
Shopify Partner
10 0 0

When developing an application, when i uninstall the app, I always reload the dev store that I am using, before trying to reinstall the app. This always works for me.

0 Likes
New Member
3 0 0

Can u check what I missing, I used below code-

 

<!DOCTYPE html>
<html>
<head>
<link href="<?php echo site_url(); ?>assets/css/seaff.css" type="text/css" rel="stylesheet">
<script src="https://cdn.shopify.com/s/assets/external/app.js"></script>
<script type="text/javascript">
ShopifyApp.init({
apiKey : '<?php echo $api_key; ?>',
shopOrigin : '<?php echo 'https://' . $shop; ?>',
debug: true
});
</script>
<script type="text/javascript">
ShopifyApp.ready(function(){
ShopifyApp.Bar.initialize({
buttons: {
primary: {
label: 'Save',
message: 'unicorn_form_submit',
loading: true
}
}
});
});
</script>

 

 

Thanks

0 Likes
New Member
3 0 0

Hii,

 

It's still not work, I used below code-

 

<link href="<?php echo site_url(); ?>assets/css/seaff.css" type="text/css" rel="stylesheet">
<script src="https://cdn.shopify.com/s/assets/external/app.js"></script>
<script type="text/javascript">
ShopifyApp.init({
apiKey : '<?php echo $api_key; ?>',
shopOrigin : '<?php echo 'https://' . $shop; ?>'
});
</script>
<script type="text/javascript">
ShopifyApp.ready(function(){
ShopifyApp.Bar.initialize({
buttons: {
primary: {
label: 'Save',
message: 'unicorn_form_submit',
loading: true
}
}
});
});
</script>

 

Please let me know what I missing.

 

Thanks

0 Likes
Tourist
3 0 1

I came across the same issue with a nodejs app that I've been serving from my local machine with the help of the Shopify App CLI tools.

Not sure what is causing that issue but if you are trying to reinstall your app in a development store and you are getting "page not found error ..." then instead of trying to add it through the admin console in the Shopify admin use the below:

 

As the Shopify App CLI creates an embedded app, you'll need to install it on a development store. To do so, open the installation URL in your web browser: https://<LIVE_NGROK_URL>/auth?shop=your-development-store.myshopify.com. This will prompt you to install on your development store. It’s necessary to view and test your app in a live development store because some App Bridge and Polaris features are only available for use by your app when it’s embedded in the Shopify admin.

0 Likes
Highlighted
Shopify Partner
2 0 0

Had the same issue on my side and updating the packages fixed it.

0 Likes