-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Labels
BugSomething isn't workingSomething isn't working
Description
Most appropriate sections of the p5.js website?
Home
What is your operating system?
Windows
Web browser and version
Chrome://latest
Actual Behavior
When we try to start website locally using npm run dev
after building reference using npm run build:reference
we got an error on browser
the error on editor terminal is as follows:
(node:17964) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
17:20:44 [ERROR] [InvalidContentEntryFrontmatterError] reference → en/p5/arrayCopy.mdx frontmatter does not match collection schema.
deprecated: Expected type `"string"`, received "boolean"
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Stack trace:
at C:/Users/path/to/p5.js-website/src/content/reference/en/p5/arrayCopy.mdx
[...] See full stack trace in the browser, or rerun with --verbose.
17:20:44 [ERROR] [InvalidContentEntryFrontmatterError] reference → en/p5/arrayCopy.mdx frontmatter does not match collection schema.
deprecated: Expected type `"string"`, received "boolean"
Hint:
See https://docs.astro.build/en/guides/content-collections/ for more information on content schemas.
Error reference:
https://docs.astro.build/en/reference/errors/invalid-content-entry-frontmatter-error/
Stack trace:
at C:/Users/path/to/p5.js-website/src/content/reference/en/p5/arrayCopy.mdx
[...] See full stack trace in the browser, or rerun with --verbose.
and this is only happening after building reference.
- after
npm run custom:cleanup
which deletes the reference files modification, this error won't come,
Expected Behavior
Website server would run as usual even after building reference
Steps to reproduce
Open p5.js-website in editor
run npm run build:reference
and then npm run dev
go to the provided localhost link
wait for few minutes to load the wesbite
Would you like to work on the issue?
Yes
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't working