Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Script "npm run watch:docs" is broken #2840

Open
tbreuss opened this issue May 6, 2023 · 0 comments · May be fixed by #2841
Open

Script "npm run watch:docs" is broken #2840

tbreuss opened this issue May 6, 2023 · 0 comments · May be fixed by #2841
Assignees
Labels
Area: Workflow For anything dealing with Mithril's internal tooling, including the mocks and bundler, but not ospec Type: Bug For bugs and any other unexpected breakage

Comments

@tbreuss
Copy link
Contributor

tbreuss commented May 6, 2023

As discussed in the internal Zulip channel, the script "npm run watch:docs" is broken.

npm run watch:docs

> mithril@2.2.2 watch:docs
> node scripts/generate-docs --watch

/www/mithril.js/scripts/_command.js:5
        if (!e.stdout || !e.stderr) throw e
                                    ^

TypeError: Cannot read properties of undefined (reading 'generateSingle')
    at FSWatcher.updateFile (/www/mithril.js/scripts/generate-docs.js:285:24)

Node.js v20.0.0
@tbreuss tbreuss added the Type: Bug For bugs and any other unexpected breakage label May 6, 2023
@tbreuss tbreuss linked a pull request May 6, 2023 that will close this issue
@tbreuss tbreuss changed the title watch:docs is broken npm watch:docs is broken May 6, 2023
@tbreuss tbreuss changed the title npm watch:docs is broken Script "npm run watch:docs" is broken May 6, 2023
@dead-claudia dead-claudia added the Area: Workflow For anything dealing with Mithril's internal tooling, including the mocks and bundler, but not ospec label Sep 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Area: Workflow For anything dealing with Mithril's internal tooling, including the mocks and bundler, but not ospec Type: Bug For bugs and any other unexpected breakage
Projects
Status: Needs triage
Development

Successfully merging a pull request may close this issue.

2 participants