rekit-portal icon indicating copy to clipboard operation
rekit-portal copied to clipboard

Error-in-copy-webpack-plugin

Open JohnHour89 opened this issue 7 years ago • 3 comments

Hi, Sir, I have an error in copy-webpack-plugin error in the screenshot below, please help. Thank you.

image

JohnHour89 avatar Jan 25 '18 03:01 JohnHour89

Hi @JohnHour89 ,

Thanks for reporting this. The repo here has been deprecated. You should clone https://github.com/supnate/rekit instead and start rekit-portal there.

supnate avatar Jan 25 '18 03:01 supnate

Hi @supnate ,

I have already try to run it but it is still have the same error.

JohnHour89 avatar Jan 25 '18 08:01 JohnHour89

Sorry, I should have mentioned you need to install lerna to init the rekit (not in packages/rekit-portal) as a monorepo.

Alternatively, if you just want to simply start rekit-portal, you could edit the webpack-config.js. under rekit-portal folder. Update to the following code:

new CopyWebpackPlugin([
        {
          from: '../node_modules/monaco-editor/min/vs',
          to: 'vs',
        },
....

That is, find the correct position of monoco-editor.

supnate avatar Jan 25 '18 08:01 supnate