Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing installation on Windows #210

Open
antonina-nesmelova opened this issue Feb 13, 2022 · 1 comment
Open

Failing installation on Windows #210

antonina-nesmelova opened this issue Feb 13, 2022 · 1 comment

Comments

@antonina-nesmelova
Copy link

hi! tried to install Reactide on Windows and got following error after npm run webpack-production command

> reactide@3.0.0 webpack-production
> webpack --mode production

[webpack-cli] Error: Cannot find module 'vs/editor/contrib/gotoSymbol/goToCommands'
Require stack:
- C:\Program Files\reactide\reactide\node_modules\monaco-editor-webpack-plugin\out\index.js
- C:\Program Files\reactide\reactide\webpack.config.js
- C:\Program Files\reactide\reactide\node_modules\webpack-cli\lib\webpack-cli.js
- C:\Program Files\reactide\reactide\node_modules\webpack-cli\lib\bootstrap.js
- C:\Program Files\reactide\reactide\node_modules\webpack-cli\bin\cli.js
- C:\Program Files\reactide\reactide\node_modules\webpack\bin\webpack.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.resolve (node:internal/modules/cjs/helpers:108:19)
    at resolveMonacoPath (C:\Program Files\reactide\reactide\node_modules\monaco-editor-webpack-plugin\out\index.js:34:28)
    at C:\Program Files\reactide\reactide\node_modules\monaco-editor-webpack-plugin\out\index.js:173:63
    at Array.map (<anonymous>)
    at createLoaderRules (C:\Program Files\reactide\reactide\node_modules\monaco-editor-webpack-plugin\out\index.js:173:43)
    at MonacoEditorWebpackPlugin.apply (C:\Program Files\reactide\reactide\node_modules\monaco-editor-webpack-plugin\out\index.js:91:23)
    at WebpackCLI.webpack (C:\Program Files\reactide\reactide\node_modules\webpack\lib\webpack.js:51:13)
    at WebpackCLI.createCompiler (C:\Program Files\reactide\reactide\node_modules\webpack-cli\lib\webpack-cli.js:2193:23)
    at async WebpackCLI.runWebpack (C:\Program Files\reactide\reactide\node_modules\webpack-cli\lib\webpack-cli.js:2323:16) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'C:\\Program Files\\reactide\\reactide\\node_modules\\monaco-editor-webpack-plugin\\out\\index.js',
    'C:\\Program Files\\reactide\\reactide\\webpack.config.js',
    'C:\\Program Files\\reactide\\reactide\\node_modules\\webpack-cli\\lib\\webpack-cli.js',
    'C:\\Program Files\\reactide\\reactide\\node_modules\\webpack-cli\\lib\\bootstrap.js',
    'C:\\Program Files\\reactide\\reactide\\node_modules\\webpack-cli\\bin\\cli.js',
    'C:\\Program Files\\reactide\\reactide\\node_modules\\webpack\\bin\\webpack.js'
  ]
}
@yasnoor
Copy link

yasnoor commented Feb 15, 2022

see #196 (comment)

or

remove the ^ in the package.json from the following, use fix #185, #176 and run npm install

"monaco-editor": "0.14.3",
"monaco-editor-webpack-plugin": "1.5.4",

and you may also need to fix line 15 in package.json
for 32 bit:

"electron-packager": "electron-packager . --overwrite --platform=win32 --arch=ia32 --prune=true --out=release-builds",

for 64 bit :

"electron-packager": "electron-packager . --overwrite --platform=win32 --arch=x64 --prune=true --out=release-builds",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants