flowershow icon indicating copy to clipboard operation
flowershow copied to clipboard

Cannot preview nor build my garden

Open hvitis opened this issue 1 year ago • 14 comments

Describe the bug Preview and Build commands do not work.

To Reproduce I have installed the flowershow sucessfully:

Log:

npx flowershow@latest install
? Create Flowershow project in current directory? Yes
? Flowershow template is already installed in directory MYDIR.
What do you want to do?: Overwrite
? Path to the folder with your markdown files book/aphorisms
? There are no subfolders in your content folder, that could be used as assets folder I don't need assets folder
INFO  No index.md file found in MYDIR. Flowershow will create one for you.
INFO  No config.mjs file found in MYDIR. Flowershow will create one for you.
⠋  Creating Flowershow template in MYDIR
🌷  Creating Flowershow template in MYDIR/.flowershow
Created symlinks:
MYDIR
⠸  Installing Flowershow dependencies
⠴  Installing Flowershow dependencies
⠧  Installing Flowershow dependencies
⠇  Installing Flowershow dependencies
⠙  Installing Flowershow dependencies
added 599 packages, and audited 600 packages in 42s

189 packages are looking for funding
 run `npm fund` for details

found 0 vulnerabilities
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated @silvenon/[email protected]: renamed to just "remark-smartypants"
npm WARN deprecated @floating-ui/[email protected]: Package renamed to @floating-ui/react
npm WARN deprecated [email protected]: < 19.4.0 is no longer supported
🌸  Installing Flowershow dependencies
🎊 Successfully installed Flowershow!

Then I run preview and build commands:

LOGS:

❯ npx flowershow@latest preview

> @flowershow/[email protected] predev
> npm run generate


> @flowershow/[email protected] generate
> cross-env NODE_OPTIONS="--experimental-json-modules --experimental-modules" node -r esbuild-register ./scripts/postbuild.mjs

❯ npx flowershow@latest preview

> @flowershow/[email protected] predev
> npm run generate


> @flowershow/[email protected] generate
> cross-env NODE_OPTIONS="--experimental-json-modules --experimental-modules" node -r esbuild-register ./scripts/postbuild.mjs

Expected behavior I should be able to see on localhost 3000 my preview.

Desktop (please complete the following information):

  • OS MacOS

hvitis avatar May 21 '23 21:05 hvitis