Giter Site home page Giter Site logo

aaaaash / languageservices-webide Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 527 KB

LanguageServices for WebIDE

License: MIT License

TypeScript 98.98% JavaScript 0.86% Dockerfile 0.16%
web-ide language-server-protocol pyls jdt-ls-extension tsserver omnisharp

languageservices-webide's Introduction

LanguageServer

Build Status

run development

$ yarn install
$ yarn prepare:env
$ yarn dev

run production

$ yarn install
$ yarn prepare:env
$ yarn build
$ yarn pm2

languageservices-webide's People

Contributors

aaaaash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kesongyue

languageservices-webide's Issues

运行这个项目是不是要先安装nvm

$ yarn prepare:env
yarn run v1.12.3
warning ..\package.json: No license field
$ ./node_modules/.bin/gulp download-java-server && ./node_modules/.bin/gulp inst
all-py-server
[15:52:31] Using gulpfile ~\LanguageServices-WebIDE\gulpfile.js
[15:52:31] Starting 'download-java-server'...
[15:52:34] Finished 'download-java-server' after 2.5 s
[gulp] Downloading http://download.eclipse.org/jdtls/snapshots/jdt-language-serv
er-latest.tar.gz... 0.06753343139753774% 0.5803846614481769% Done
[15:52:44] Using gulpfile ~\LanguageServices-WebIDE\gulpfile.js
[15:52:44] Starting 'install-py-server'...
[15:52:44] Finished 'install-py-server' after 7.87 ms
'sudo' is not recognized as an internal or external command,
operable program or batch file.
child_process.js:651
throw err;
^

Error: Command failed: sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/sim
ple 'python-language-server[all]'
at checkExecSyncError (child_process.js:611:11)
at Object.execSync (child_process.js:648:13)
at cp.exec (C:\Users\su\LanguageServices-WebIDE\gulpfile.js:26:10)
at ChildProcess.exithandler (child_process.js:296:5)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.

Running out of problems

$ yarn install
yarn install v1.12.3
warning package-lock.json found. Your project contains lock files generated by tools ot
her than Yarn. It is advised not to mix package managers in order to avoid resolution i
nconsistencies caused by unsynchronized lock files. To clear this warning, remove packa
ge-lock.json.
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.39s.

su@DESKTOP-TKN9GJR MINGW64 ~/LanguageServices-WebIDE (master)
$ yarn prepare:env
yarn run v1.12.3
$ ./node_modules/.bin/gulp download-java-server && ./node_modules/.bin/gulp install-py-
server
[13:37:39] Using gulpfile ~\LanguageServices-WebIDE\gulpfile.js
[13:37:39] Starting 'download-java-server'...
jdt-language-server is existed.
[13:37:41] Finished 'download-java-server' after 2.82 s
[13:37:42] Using gulpfile ~\LanguageServices-WebIDE\gulpfile.js
[13:37:42] Starting 'install-py-server'...
[13:37:42] Finished 'install-py-server' after 8.1 ms
'pip' is not recognized as an internal or external command,
operable program or batch file.
child_process.js:651
throw err;
^

Error: Command failed: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 'python-
language-server[all]'
at checkExecSyncError (child_process.js:611:11)
at Object.execSync (child_process.js:648:13)
at cp.exec (C:\Users\su\LanguageServices-WebIDE\gulpfile.js:26:10)
at ChildProcess.exithandler (child_process.js:296:5)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Socket.stream.socket.on (internal/child_process.js:381:11)
at Socket.emit (events.js:182:13)
at Pipe._handle.close (net.js:606:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

failed to open http://localhost:3000/

The open page prompts for such an error

Failed to compile

./node_modules/vscode-base-languageclient/lib/client.js
Module not found: Can't resolve 'vscode' in 'C:\Users\su\Desktop\appp\node_modules\vscode-base-languageclient\lib'

This error occurred during the build time and cannot be dismissed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.