svaberg / swmf-grammar Goto Github PK
View Code? Open in Web Editor NEWVisual Studio Code language extension for SWMF configuration files
License: MIT License
Visual Studio Code language extension for SWMF configuration files
License: MIT License
I tried to run the source code in this way, but the debug mission report errors and exit.
git clone [email protected]:svaberg/SWMF-grammar.git --depth=1
cd SWMF-gramma
npm install
npm run compile
code .
PRESS <F5> and select 'Node.js'
error information:
C:\Program Files\nodejs\node.exe --inspect-brk=36597 out\extension.js
Debugger listening on ws://127.0.0.1:36597/e168a396-2f2b-4c6a-83cf-0a322d16ee18
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Waiting for the dError: Cannot find module 'vscode'
Require stack:
- c:\Users\***\Desktop\***\SWMF-grammar\out\extension.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:794:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:849:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (***\SWMF-grammar\src\extension.ts:5:1)
at Module._compile (internal/modules/cjs/loader.js:953:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1025:10)
ebugger to disconnect...
environment information
os=windows 10 ,10.0.17763.973
vscode version = 1.41.1
node.js version = 12.13.0
When installed manually
code --install-extension swmf-grammar-0.2.2.vsix
the following warnings are produced
(node:52615) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:52615) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
There are no instances of Buffer
in the source code so presumably it comes from the devDependencies
in package.json
"devDependencies": {
"typescript": "^3.7.2",
"vscode": "^1.1.36"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.