Next.js Discord

Discord Forum

Importing monorepo

Unanswered
Clumber Spaniel posted this in #help-forum
Open in Discord
Clumber SpanielOP
Hii 👋

I am working on a project using Ant Design Pro components, but unfortunately, Ant Design doesn't provide customization options for adding new fields, fixing existing fields, and adjusting forms to suit project requirements. I decided to fork the Pro components to my GitHub account. After installing them using:

npm i github:myUserAccount/pro-components

they installed successfully. However, when I try to import them into my project, it says 'module not found,' even though the module exists in the node_modules. What should I do in this situation? Also, is it possible to install only specific packages in a monorepo?

0 Replies