Fix GitHub Pages deployment: workflow never triggered, Node ≥18 dev server incompatibility#1
Draft
Fix GitHub Pages deployment: workflow never triggered, Node ≥18 dev server incompatibility#1
Conversation
Co-authored-by: albertzfg <28681165+albertzfg@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add function block encapsulation for Omron PLC motion control
feat: 欧姆龙PLC 轴运动控制功能块封装 UI
Mar 5, 2026
…ject Co-authored-by: albertzfg <28681165+albertzfg@users.noreply.github.com>
Copilot
AI
changed the title
feat: 欧姆龙PLC 轴运动控制功能块封装 UI
docs: replace scaffold README with project description for Omron PLC axis motion control tool
Mar 19, 2026
Co-authored-by: albertzfg <28681165+albertzfg@users.noreply.github.com>
Copilot
AI
changed the title
docs: replace scaffold README with project description for Omron PLC axis motion control tool
Add GitHub Pages deployment and improve startup documentation
Mar 19, 2026
Co-authored-by: albertzfg <28681165+albertzfg@users.noreply.github.com>
Co-authored-by: albertzfg <28681165+albertzfg@users.noreply.github.com>
Copilot
AI
changed the title
Add GitHub Pages deployment and improve startup documentation
Fix GitHub Pages deployment: workflow never triggered, Node ≥18 dev server incompatibility
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The deployed site was inaccessible because the CI workflow only triggered on
main/master— neither of which exists in this repo. Additionally,npm run devsilently breaks on Node ≥18 due to removal of thehttp_parserbinding used by webpack-dev-server v2.Workflow (
deploy.yml)copilot/package-omron-plc-function-blocksto push triggers so deployment actually runsnpm ci→npm install(old webpack 3 lockfile is fragile with strict clean-install)README
gh-pagesbranch → Save) — the action pushes the branch but Pages must be enabled manuallynpm run devrequires Node ≤16;npm run buildworks on any versionnpm run build npx serve -s dist # -s flag for SPA routing; avoids 404 on refreshNo such module: http_parserpointing to nvm or the build path💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.