Closed SeaDude closed 2 years ago
Interesting note...
blogpost.md
file to Squido /source/posts/
directory. blogpost.md
.So the error only occurs when adding a blog post.
...
Using Node version:
v14.18.3
Using Npm version:
6.14.15
Running 'npm install --unsafe-perm'...
npm WARN deprecated flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash.
> esbuild@0.11.10 postinstall /working_dir/node_modules/esbuild
> node install.js
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN squido-build-file@1.0.0 No repository field.
npm WARN squido-build-file@1.0.0 No license field.
added 418 packages from 343 contributors and audited 419 packages in 31.192s
45 packages are looking for funding
run `npm fund` for details
found 1 moderate severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
Running 'npm run build'...
> squido-build-file@1.0.0 build /working_dir
> squido build -c
Cleaned: /working_dir/build
[Building environment: development]
Built: /working_dir/build/powertrip-1/index.html
Built: /working_dir/build/about/index.html
...
Copied: /working_dir/build/404.ejs
Copied: /working_dir/build/index.ejs
Copied: /working_dir/build/package.json
Copied: /working_dir/build/page.ejs
Copied: /working_dir/build/post.ejs
Copied: /working_dir/build/robots.txt
Copied: /working_dir/build/tag.ejs
...
Minified: /working_dir/build/content/javascripts/site.min.js
Minified: /working_dir/build/content/stylesheets/style.min.css
Built: /working_dir/build/sitemap.xml
Built: /working_dir/build/rss
Built: /working_dir/build/atom
Built: /working_dir/build/json
[Build complete]
Preparing output...
Copying files to destination directory '/ss-oryx/app'...
Done in 2 sec(s).
Removing existing manifest file
Creating a manifest file...
Manifest file created.
Done in 38 sec(s).
---End of Oryx build logs---
...
It's definitely failing to parse the Markdown content. Would you be able to post the contents of the .md
file?
It happens with any markdown, even a test.
And just realized what happened...I created the blogpost.md
file without the YAML frontmatter! It was just plain markdown.
Eh! Sorry for the false alarm!
Thanks for the update. I might write some code to catch that and print a nice/helpful error.
Hello,
I have had Squido up and running for a few months now. Recently I'm seeing the build action fail due to new errors. I can't quite tell where the error exists, Squido or Azure DevOps. I haven't changed anything except adding new markdown blog posts.
If you see something that would tell where the issue is occurring, please let me know.
Stack:
Error when building: