Skip to content

How to check package operation locally

minop1205 edited this page May 27, 2021 · 3 revisions

Example of directory structure

  • react-dnd-treeview
  • myapp

Commands

$ cd react-dnd-treeview
$ npm link && npm link --legacy-peer-deps ../myapp/node_modules/react
$ cd ../myapp
$ npm link @minoru/react-dnd-treeview

References

https://ja.reactjs.org/warnings/invalid-hook-call-warning.html#duplicate-react

Clone this wiki locally