我正在构建反应组件库。
我需要“npm link”我的库项目才能使用主项目中的react-redux
我这样做就像'npm link ../MainProject/node_modules/react-redux'
但它给了我一个错误:
npm ERR! code 1
npm ERR! path C:\Users\jamal\WorkspaceAmavisca\Cerebrum-Administration\node_modules\react-redux
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c npm run clean && npm run build
npm ERR! > react-redux@7.2.6 clean
npm ERR! > rimraf lib dist es coverage
npm ERR!
npm ERR!
npm ERR! > react-redux@7.2.6 build
npm ERR! > npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min
npm ERR!
npm ERR!
npm ERR! > …Run Code Online (Sandbox Code Playgroud)