You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been looking at this theme since you pushed updates and I have learnt a few things such as how you have added components into the schema and used a meta data info and date picker and other things. :) It's been really useful for me to learn how you have added features.
But while looking around I have had some crashed. I have updated to the latest version of Plenti v0.6.9 and noticed the builds are really fast much faster that when running say the Educenter site locally. For instance the total build is only about 1.2 secs compared to 2 sec on the former. But what is strange is that when I click around in the files, so I mean click on a file in the opened project in VS code it triggers a build. This behaviour doesn't happen while I am working in the Educenter project. :) Often when I saving changes in this project the build only seems to crash on svelte file saves (not when saving json changes) and I think i have posted that one before but here it is again.
This is the crash log in Educenter theme after saving a svelte file.
Could not compile 'core/cms/admin_menu.svelte' Svelte component: Unable to write compiled client file: open public/spa/core/cms/admin_menu.js: no such file or directory
2023/04/22 09:43:00 build.go:115:
Can't remove "%v" folder from previous buildunlinkat ./public: directory not emptypublic
Anyway, I have had a few crashes and wanted to post them here for your reference:
These logs are from Fitlife theme.
Total build took 1.265203625s
Compiling client SPA with Svelte took 1.151195958s
Creating data_source took 3.064125ms
Running Gopack took 101.625µs
2023/04/22 09:13:42 build.go:159:
Error in Gopack main.js build step
Can't runPack on public/spa/core/router.js";import allContent from"../generated/content.js";import*as allLayouts from"../generated/layouts.js";import{env}from"../generated/env.js";let content=allContent.find(e=>e.filepath===document.documentElement.dataset.contentFilepath),path=location.pathname,params=new URLSearchParams(location.search);import("../layouts/content/"+content.type+".js
Could not read file public/spa/core/router.js";import allContent from"../generated/content.js";import*as allLayouts from"../generated/layouts.js";import{env}from"../generated/env.js";let content=allContent.find(e=>e.filepath===document.documentElement.dataset.contentFilepath),path=location.pathname,params=new URLSearchParams(location.search);import("../layouts/content/"+content.type+".js to convert to esm
open public/spa/core/router.js";import allContent from"../generated/content.js";import*as allLayouts from"../generated/layouts.js";import{env}from"../generated/env.js";let content=allContent.find(e=>e.filepath===document.documentElement.dataset.contentFilepath),path=location.pathname,params=new URLSearchParams(location.search);import("../layouts/content/"+content.type+".js: no such file or directory
In both instances, I was able to re-start and serve the site again.
Hope that helps. Let me know if I can help with anything.
Cheers,
Ben
The text was updated successfully, but these errors were encountered:
Thanks for the bug report @jamestagal! I've been seeing some crashes on various projects on my end as well, but they don't happen very often. It's something I've been meaning to look into!
Hi @jimafisk
I have been looking at this theme since you pushed updates and I have learnt a few things such as how you have added components into the schema and used a
meta
data info and date picker and other things. :) It's been really useful for me to learn how you have added features.But while looking around I have had some crashed. I have updated to the latest version of Plenti v0.6.9 and noticed the builds are really fast much faster that when running say the Educenter site locally. For instance the
total build
is only about 1.2 secs compared to 2 sec on the former. But what is strange is that when I click around in the files, so I mean click on a file in the opened project in VS code it triggers abuild
. This behaviour doesn't happen while I am working in the Educenter project. :) Often when I saving changes in this project the build only seems to crash on svelte file saves (not when saving json changes) and I think i have posted that one before but here it is again.This is the crash log in
Educenter
theme after saving asvelte
file.Anyway, I have had a few crashes and wanted to post them here for your reference:
These logs are from
Fitlife
theme.First crash log
Second crash log
In both instances, I was able to re-start and serve the site again.
Hope that helps. Let me know if I can help with anything.
Cheers,
Ben
The text was updated successfully, but these errors were encountered: