Skip to content
Discussion options

You must be logged in to vote

Two things are tripping this up, and the second one is my mistake.

  1. The file has to be named nub.jsonc (with the c), not nub.json. Nub only looks for nub.jsonc and deliberately ignores nub.json, so your publicHoist was never read. That matches your output: default layout, same 4 packages, same missing node_modules/harfbuzzjs etc. The source says it explicitly: https://github.com/nubjs/nub/blob/main/crates/nub-cli/src/project_config.rs#L31-L33

Rename it (same contents), delete node_modules, and reinstall:

Rename-Item .\nub.json nub.jsonc
Remove-Item -Recurse .\node_modules
nub install

Afterwards node_modules\harfbuzzjs\package.json, ot-builder, is-in-ci, @msgpack\msgpack and typo-geom sho…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Unknown78
Comment options

@Maxaubert
Comment options

Answer selected by Unknown78
@Unknown78
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants