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

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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug For bugs and any other unexpected breakage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants