OK - I re-did the steps described earlier and now get the following error message:
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
event - compiled client and server successfully in 620 ms (149 modules)
Error: You cannot define a route with the same specificity as a optional catch-all route (“/” and “/[[…catchall]]”).
at UrlNode._smoosh (/path/to/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:36:23)
at UrlNode.smoosh (/path/to/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:11:21)
at Object.getSortedRoutes (/path/to/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js:161:17)
at Watchpack. (/path/to/node_modules/next/dist/server/dev/next-dev-server.js:446:55)
Just a note here: I removed the [[…catchall]].jsx file and it now works. Apparently it conflicts with index.jsx? Let me know if there is a better way to handle this.
UPDATE: Removing all my local pages after pushing to github and using Plasmic’s catchall now works as expected. Going forward, I just simply turn off pushing to github repo so that I can continue to edit pages via Plasmic’s UI and let local code pull latest changes.