Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Closed
tbreuss opened this issue May 6, 2023 · 1 comment
Closed

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

tbreuss opened this issue May 6, 2023 · 1 comment
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 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
@dead-claudia
Copy link
Member

Fixed as part of the docs migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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: Closed
Development

Successfully merging a pull request may close this issue.

2 participants