This repository was archived by the owner on Jul 24, 2024. It is now read-only.
-
Couldn't load subscription status.
- Fork 199
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
Unable to build React UI #9922
Copy link
Copy link
Open
Description
I am getting the following error while trying to build the history module.
./modules/index.js → cjs/history.js...
created cjs/history.js in 949ms
./modules/index.js → cjs/history.min.js...
created cjs/history.min.js in 324ms
./modules/index.js → esm/history.js...
[!] (size-snapshot plugin) Error: ModuleNotFoundError: Module not found: Error: Can't resolve './LocationUtils.js' in '/'
ModuleNotFoundError: Module not found: Error: Can't resolve './PathUtils.js' in '/'
ModuleNotFoundError: Module not found: Error: Can't resolve './createBrowserHistory.js' in '/'
ModuleNotFoundError: Module not found: Error: Can't resolve './createHashHistory.js' in '/'
ModuleNotFoundError: Module not found: Error: Can't resolve './createMemoryHistory.js' in '/'
Error: ModuleNotFoundError: Module not found: Error: Can't resolve './LocationUtils.js' in '/'
ModuleNotFoundError: Module not found: Error: Can't resolve './PathUtils.js' in '/'
ModuleNotFoundError: Module not found: Error: Can't resolve './createBrowserHistory.js' in '/'
ModuleNotFoundError: Module not found: Error: Can't resolve './createHashHistory.js' in '/'
ModuleNotFoundError: Module not found: Error: Can't resolve './createMemoryHistory.js' in '/'
at C:\syndesisio\syndesis\app\ui-react\packages\history\node_modules\rollup-plugin-size-snapshot\dist\treeshakeWithWebpack.js:58:16
at finalCallback (C:\syndesisio\syndesis\app\ui-react\packages\history\node_modules\rollup-plugin-size-snapshot\node_modules\webpack\lib\Compiler.js:257:39)
at C:\syndesisio\syndesis\app\ui-react\packages\history\node_modules\rollup-plugin-size-snapshot\node_modules\webpack\lib\Compiler.js:273:13 at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\syndesisio\syndesis\app\ui-react\packages\history\node_modules\rollup-plugin-size-snapshot\node_modules\tapable\lib\HookCodeFactory.js:33:10), :4:1)
Description
I don't know how to fix this problem.
My development environment is
Nodejs : v12.19.0
Npm: 6.14.8
and Windows 11. 64 bit
Please help me on this issue.
I tried the following ways:
yarn workspace @syndesis/history run buildSo i go into history folder and tried
yarn buildit is also not working so i tried to install rollup globally and tried
npm install --global rollup@0.66.6
rollup -cIt is also not working so i tried to go into tools/bin folder and open git bash here. and tried.
./syndesis ui --install --buildAll the time, i am getting only same above error.
Metadata
Metadata
Assignees
Labels
No labels