header-logo
Learn how to use Wix to build your site and business.
Design and manage your site using intuitive Wix features.
Manage subscriptions, plans and invoices.
Run your business and connect with members.
Learn to purchase, connect or transfer a domain to your site.
Get tools to grow your business and web presence.
Boost your visibility with SEO and marketing tools.
Get advanced features to help you work more efficiently.
Find solutions, learn about known issues or contact us.
placeholder-preview-image
Improve your skills with our courses and tutorials.
Get tips for web design, marketing and more.
Learn to increase organic site traffic from search engines.
Build a custom site using our full-stack platform.
Get matched with a specialist to help you reach your goals.
placeholder-preview-image

Publishing a Site with Code

2 min
In this article
  • Errors detected in the code
  • FAQs
When publishing a site with code, whether it was created in Wix Editor or the Studio Editor, Wix performs an automatic check for any errors. We analyze your code files (i.e. page files, web modules, .js files) and validate the syntax that may prevent the bundling of code files. 

Errors detected in the code

If dev mode is enabled while publishing and we detect errors in the code, you'll see a pop-up with options to: 
  • View the most recent build.log file and analyze the errors. 
  • Proceed with publishing the site despite the errors (not recommended). 
the pop-up that appears when publishing a site with code errors while dev mode was enabled
Either way, the build.log file is available under Developer Tools  in Dev Mode.  
The Developer Tools panel in the editor, highlighing the latest build section and the build.log file that opens
Note:
Wix only reports code errors if there have been changes to the code since the last time the site was published. If no modifications were made to the code, Wix publishes your site without requiring any additional confirmation.

FAQs

Click a question below to learn more.