Hi Everyone, I have encountered an weird issue whi...
# suitecommerce
s
Hi Everyone, I have encountered an weird issue while deploying the theme it giving error "There is already a theme called: xyz". Also I have checked gulp>config>config.json and there is no create. And I did tried gulp theme:deploy --advanced. but nothing is working in version 21.2.0.
k
@Shubham S, This issue sounds similar to the issue that I encountered recently. You say that you checked config.json. Take a look at this post: https://netsuiteprofessionals.slack.com/archives/C29HR0BFG/p1669185051701699?thread_ts=1668899217.809229&cid=C29HR0BFG When I changed the “deploy_config” property in config.json to the following, I was able to deploy my theme:
Copy code
"deploy_config": {
        "update": true,
        "chunk_size": 80
    },
s
Hi @Keith Fetterman I checked but its already same. I mean the create part is not there. Still it is giving the same issue.
k
@Shubham S are you trying to deploy to a published theme?
s
@Keith Fetterman Yes I guess
k
You can not deploy to a published theme , like the SuiteCommerce Base theme. If you fetched a published theme, you have to change the name, vendor or version so that a new theme is created.
s
@Keith Fetterman Thanks for the solution. I will try this. And one more does it will create any issue in existing modifications?
k
No. When you deploy and it prompts you for the name, vendor, etc, you may encounter an error. If you do encounter an error, deploy again using the same names, vendor and version. The second time should work