Skip to content

[UG] Give guidance on what to do on "failed to load modules" error#2117

Merged
chalin merged 2 commits intogoogle:mainfrom
chalin:chalin-im-080-build-note-2024-11-06
Nov 6, 2024
Merged

[UG] Give guidance on what to do on "failed to load modules" error#2117
chalin merged 2 commits intogoogle:mainfrom
chalin:chalin-im-080-build-note-2024-11-06

Conversation

@chalin
Copy link
Copy Markdown
Collaborator

@chalin chalin commented Nov 6, 2024

@chalin chalin requested a review from LisaFC November 6, 2024 15:06
@chalin
Copy link
Copy Markdown
Collaborator Author

chalin commented Nov 6, 2024

/cc @sftim

@chalin chalin force-pushed the chalin-im-080-build-note-2024-11-06 branch from 5d43f80 to bfdf486 Compare November 6, 2024 15:17
@chalin chalin merged commit 55e0ce2 into google:main Nov 6, 2024
@chalin chalin deleted the chalin-im-080-build-note-2024-11-06 branch November 6, 2024 15:40
@chalin chalin added this to the 24Q4 milestone Nov 6, 2024
@sftim
Copy link
Copy Markdown

sftim commented Nov 6, 2024

A related concern; the postinstall I think runs cp -R node_modules/bootstrap/scss/vendor/* assets/_vendor/bootstrap/scss/ and this is making assumptions about both the current working directory and the name of the install target.

Seems like NPM might not guarantee those are always the right values to make that command work.

@chalin
Copy link
Copy Markdown
Collaborator Author

chalin commented Nov 6, 2024

For the cp command, we've switched to use of the NPM cpy-cli command. As for the working directory, I'll leave that as is for now. We can address any specific issues if/when they arise.

@chalin
Copy link
Copy Markdown
Collaborator Author

chalin commented Nov 6, 2024

@sftim - btw, unless you run ci:prepare, you won't hit the copy commands. The ci:prepare script is only for those maintaining and releasing Docsy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] Docsy 0.8.0 NPM-package postinstall may fail to run

3 participants