flowershow
flowershow copied to clipboard
npc flowershow preview fails silently
I am unable to preview my files. I am running on MacOS 13.4.
I ran npm run dev in the .flowershow folder, and this is the result:
❯ npm run dev
> [email protected] predev
> npm run generate
> [email protected] generate
> cross-env NODE_OPTIONS="--experimental-json-modules --experimental-modules" node -r esbuild-register ./scripts/postbuild.mjs
> [email protected] dev
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
#
# Fatal error in , line 0
# Fatal JavaScript invalid size error 169220804
#
#
#
#FailureMessage Object: 0x7ff7b24ff580
1: 0x10dcb904e node::NodePlatform::GetStackTracePrinter()::$_3::__invoke() [/usr/local/Cellar/node/19.8.1/bin/node]
2: 0x10e52f50a V8_Fatal(char const*, ...) [/usr/local/Cellar/node/19.8.1/bin/node]
3: 0x10df09fea v8::internal::FactoryBase<v8::internal::Factory>::NewFixedArrayWithFiller(v8::internal::Handle<v8::internal::Map>, int, v8::internal::Handle<v8::internal::Oddball>, v8::internal::AllocationType) [/usr/local/Cellar/node/19.8.1/bin/node]
4: 0x10e0babef v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2>>::ConvertElementsWithCapacity(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::FixedArrayBase>, v8::internal::ElementsKind, unsigned int, unsigned int, unsigned int) [/usr/local/Cellar/node/19.8.1/bin/node]
5: 0x10e0b9729 v8::internal::(anonymous namespace)::ElementsAccessorBase<v8::internal::(anonymous namespace)::FastPackedObjectElementsAccessor, v8::internal::(anonymous namespace)::ElementsKindTraits<(v8::internal::ElementsKind)2>>::GrowCapacity(v8::internal::Handle<v8::internal::JSObject>, unsigned int) [/usr/local/Cellar/node/19.8.1/bin/node]
6: 0x10e23cc50 v8::internal::Runtime_GrowArrayElements(int, unsigned long*, v8::internal::Isolate*) [/usr/local/Cellar/node/19.8.1/bin/node]
7: 0x10da91379 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/Cellar/node/19.8.1/bin/node]
8: 0x1157b7cea
9: 0x10da0921c Builtins_InterpreterEntryTrampoline [/usr/local/Cellar/node/19.8.1/bin/node]
I believe this is in relation to Excalidraw or some sort of assets issue, because this started happening after I messed around with excalidraw's export settings. I tried reinstalling flowershow to no avail.
With a bit of googling, it seems like that specific error can be caused by an infinite loop. I wonder how the two could be connected?
When renaming my assets folder so flowershow can't find it, it can run the preview command. Interestingly, the content symlink was missing, I just discovered that when reinstalling flowershow.