Closed olayway closed 1 year ago
Some progress made as the generate
script (which among other things indexes the content folder) succeeds. Some other weird error shows up though:
4:20:19 PM: > @flowershow/template@2.0.2 generate
4:20:19 PM: > cross-env NODE_OPTIONS="--experimental-json-modules --experimental-modules" node -r esbuild-register ./scripts/postbuild.mjs
4:20:21 PM: Sitemap generated...
4:20:21 PM: > @flowershow/template@2.0.2 build
4:20:21 PM: > next build
4:20:21 PM: warn - No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
4:20:21 PM: info - Skipping linting
4:20:21 PM: info - Checking validity of types...
4:20:24 PM: Failed to compile.
4:20:24 PM:
4:20:24 PM: ./components/MdxPage.tsx:3:30
4:20:24 PM: Type error: Cannot find module '@flowershow/core' or its corresponding type declarations.
4:20:24 PM: 1 | import React from "react";
4:20:24 PM: 2 | import { MDXRemote } from "next-mdx-remote";
4:20:24 PM: > 3 | import { Mermaid, Pre } from "@flowershow/core";
4:20:24 PM: | ^
4:20:24 PM: 4 |
4:20:24 PM: 5 | import layouts from "../layouts";
4:20:24 PM: 6 |
Ended up creating a separate repository for our Flowershow website, as we consider moving stuff out of monorepo anyway. New repo here: https://github.com/datopian/flowershow-app