Skip to content

pnpm dev works... but pnpm build breaks app... Any ideas? #257

Answered by frankmayer
frankmayer asked this question in Q&A
Discussion options

You must be logged in to vote

So, solved this myself, given the time....
In the past I had checked the node-linker=hoisted option in .npm, but it had given me problems with other modules not updating etc, so I went for not using that option. It turns out this was causing the problem.

So, I went for including individual packages, but those things in the past did also bring trouble... but.... turns out the trouble was actually because while testing out the different hoisted - nonhoisted, dependencies and their versions, the package stores were getting corrupted and while I was mostly prune(ing) (and store prune(ing) them, sometimes I also needed to do full deletes. While this was going on I wasn't very consistent in cle…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jycouet
Comment options

@frankmayer
Comment options

@frankmayer
Comment options

@jycouet
Comment options

Answer selected by frankmayer
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