conwnet / github1s

One second to read GitHub code with VS Code.
https://github1s.com
MIT License
22.82k stars 865 forks source link

Cannot find module 'vscode-gulp-watch' #456

Open pablotdv opened 1 year ago

pablotdv commented 1 year ago

When I run

yarn watch-with-vscode

I recive the error

 Error: Cannot find module 'vscode-gulp-watch'
[watch-extensions] Require stack:
[watch-extensions] - /mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/build/lib/watch/index.js
[watch-extensions] - /mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/build/lib/compilation.js
[watch-extensions] - /mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/build/gulpfile.js
[watch-extensions] - /mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/gulpfile.js
[watch-extensions] - /mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/node_modules/gulp-cli/lib/shared/require-or-import.js
[watch-extensions] - /mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js
[watch-extensions] - /mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/node_modules/gulp-cli/index.js
[watch-extensions] - /mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/node_modules/gulp/bin/gulp.js
[watch-extensions]     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
[watch-extensions]     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
[watch-extensions]     at Module.require (node:internal/modules/cjs/loader:1028:19)
[watch-extensions]     at require (node:internal/modules/cjs/helpers:102:18)
[watch-extensions]     at Object.<anonymous> (/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/build/lib/watch/index.js:6:73)
[watch-extensions]     at Module._compile (node:internal/modules/cjs/loader:1126:14)
[watch-extensions]     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
[watch-extensions]     at Module.load (node:internal/modules/cjs/loader:1004:32)
[watch-extensions]     at Function.Module._load (node:internal/modules/cjs/loader:839:12)
[watch-extensions]     at Module.require (node:internal/modules/cjs/loader:1028:19) {
[watch-extensions]   code: 'MODULE_NOT_FOUND',
[watch-extensions]   requireStack: [
[watch-extensions]     '/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/build/lib/watch/index.js',
[watch-extensions]     '/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/build/lib/compilation.js',
[watch-extensions]     '/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/build/gulpfile.js',
[watch-extensions]     '/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/gulpfile.js',
[watch-extensions]     '/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/node_modules/gulp-cli/lib/shared/require-or-import.js',
[watch-extensions]     '/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/node_modules/gulp-cli/lib/versioned/^4.0.0/index.js',
[watch-extensions]     '/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/node_modules/gulp-cli/index.js',
[watch-extensions]     '/mnt/wsl/PHYSICALDRIVE2/exemplos/github1s/vscode-web/lib/vscode/node_modules/gulp/bin/gulp.js'
[watch-extensions]   ]
[watch-extensions] }
[watch-extensions] error Command failed with exit code 1.
[watch-extensions] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "watch-extensions" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
ERROR: "watch:vscode" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
<i> [webpack-dev-server] Gracefully shutting down. To force exit, press ^C again. Please wait...
ERROR: "watch-vscode" exited with 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
welcome[bot] commented 1 year ago

Hello there!๐Ÿ‘‹ Welcome to the project!๐Ÿ’– Thank you and congrats๐ŸŽ‰for opening your very first issue in this project.Be patient while we get back to you.๐Ÿ˜„

github-actions[bot] commented 1 year ago

Hello there pablotdv ๐Ÿ‘‹

Welcome to github1s !!๐Ÿ’–๐Ÿฅณ

Thank you and congratulations ๐ŸŽ‰ for opening your very first issue in this project. github1s fosters an open and welcoming environment for all our contributors.๐ŸŒธ

Incase you want to claim this issue, please comment down below! We will try to get back to you as soon as we can.๐Ÿ‘€

Feel free to visit github1s.com. ๐Ÿ‘ฉโ€๐Ÿ’ป If you have any interesting ideas, just open an issue. We would love to hear you and engage in discussions.

conwnet commented 1 year ago

For a easy way to use github1s, you can just run yarn watch or yarn build, it will use our prebuilt vscode.

If you want to customized vscode source code, we recommend to use Linux or MacOS. (I think it is a challenge to setup the development environment of vscode on windows)