angular-architects / module-federation-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'The package "package" wasn't found on the file system but is built into mode. Are you trying to bundle for node? You can use the "platform:node" to do that, which will remove this error'

carepollo opened this issue · comments

I added native federation to an existing angular 16 project. When running NG serve I get 91 errors saying that could not resolve x or y package even though it worked just fine before adding it.

The packages that are not found are:
Path, fs, OS, stream, zlib, assert, constants, quill, and so on, it repeats the error but found in different node modules.

I created a dummy repo to replicate the error, the only difference with my project is that mine has way more dependencies on different angular plugins.