You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/themexpert/react-filemanager.git cd react-filemanager/ npm init npm install npm run prod
But the app stops before the command 'npm run prod' finishes.
This is the output of the command:
@themexpert/react-filemanager@1.0.0 prod /home/daniel/my-app/react-filemanager
npm run production
@themexpert/react-filemanager@1.0.0 production /home/daniel/my-app/react-filemanager
cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
21% building modules 94/104 modules 10 active ...dules/antd/lib/button/button-group.js[BABEL] Note: The code generator has deoptimised the styling of "/home/daniel/my-app/react-filemanager/node_modules/@ant-design/icons/lib/dist.js" as it exceeds the max of "500KB".
95% emitting
ERROR Failed to compile with 2 errors 22:47:10
This dependency was not found:
components/button in ./src/core/fm/action/index.jsx, ./src/core/fm/content/index.jsx
ERROR in ./src/core/fm/action/index.jsx
Module not found: Error: Can't resolve 'components/button' in '/home/daniel/my-app/react-filemanager/src/core/fm/action'
@ ./src/core/fm/action/index.jsx 23:14-42
@ ./src/core/fm/index.jsx
@ ./src/core/store.js
@ ./src/core/file-manager.jsx
@ ./src/index.js
@ ./build.js
@ multi ./build.js ./src/style.less
ERROR in ./src/core/fm/content/index.jsx
Module not found: Error: Can't resolve 'components/button' in '/home/daniel/my-app/react-filemanager/src/core/fm/content'
@ ./src/core/fm/content/index.jsx 23:14-42
@ ./src/core/fm/index.jsx
@ ./src/core/store.js
@ ./src/core/file-manager.jsx
@ ./src/index.js
@ ./build.js
@ multi ./build.js ./src/style.less
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @themexpert/react-filemanager@1.0.0 production: cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @themexpert/react-filemanager@1.0.0 production script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/daniel/.npm/_logs/2020-03-22T01_47_10_417Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @themexpert/react-filemanager@1.0.0 prod: npm run production
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @themexpert/react-filemanager@1.0.0 prod script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!
Hi, sorry about the inconvenience. You didn't do anything wrong. We have abandoned this repository for quite a while and also didn't think anyone was using it directly so didn't update the README.md file. The missing dependency is from one of our products.
If you want to use it, you can fork it and workout the dependency issues or you can checkout the new repository here: https://github.com/reactfilemanager that we're currently working on. Thank you for bringing this up. We'll update the README.md file with instructions ASAP.
Hello my friend,
I tried to run your code but I had no luck.
I run the commands bellow:
git clone https://github.com/themexpert/react-filemanager.git
cd react-filemanager/
npm init
npm install
npm run prod
But the app stops before the command 'npm run prod' finishes.
This is the output of the command:
Looks like there is a problem with "components/button", but I do not know what is the problem.
Am I doing something wrong?
Thank you.
The text was updated successfully, but these errors were encountered: