You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to install and configure this to work with helix. First step I'm trying is to install the MATLAB lang server. I cloned this repo and ran npm run compile and yield the following errors and warnings (replaced home dir with $HOME, but thats the only change before posting):
Compile error
> [email protected] compile
> webpack --mode development
assets by path providers/ 17.3 KiB 6 assets
assets by path indexing/*.ts 11.8 KiB 4 assets
assets by path lifecycle/*.ts 7.51 KiB 3 assets
assets by path utils/*.ts 2.5 KiB
asset utils/PositionUtils.d.ts 1.19 KiB [compared for emit]
+ 2 assets
assets by path logging/*.ts 2.06 KiB
asset logging/Logger.d.ts 1.21 KiB [compared for emit]
asset logging/TelemetryUtils.d.ts 870 bytes [compared for emit]
assets by path *.ts 414 bytes
asset server.d.ts 403 bytes [compared for emit]
asset index.d.ts 11 bytes [compared for emit]
asset index.js 1.31 MiB [compared for emit] (name: main) 1 related asset
asset notifications/NotificationService.d.ts 1.06 KiB [compared for emit]
runtime modules 793 bytes 4 modules
modules by path ./node_modules/ 626 KiB
cacheable modules 626 KiB 92 modules
./node_modules/vscode-languageserver-textdocument/lib/umd/ sync 160 bytes [built] [code generated]
./node_modules/yargs/ sync 160 bytes [built] [code generated]
./node_modules/yargs/build/ sync 160 bytes [built] [code generated]
./node_modules/yargs-parser/build/ sync 160 bytes [built] [code generated]
modules by path ./src/ 640 KiB 22 modules
+ 20 modules
WARNING in ./node_modules/vscode-languageserver-textdocument/lib/umd/main.js 12:24-31
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./src/server.ts 14:45-90
@ ./src/index.ts 5:17-36
WARNING in ./node_modules/yargs-parser/build/index.cjs 1029:19-32
Critical dependency: the request of a dependency is an expression
@ ./node_modules/yargs/build/index.cjs 1:60569-60592 1:61841-61864
@ ./node_modules/yargs/index.cjs 5:29-57
@ ./src/utils/CliUtils.ts 5:14-30
@ ./src/lifecycle/ConfigurationManager.ts 17:19-47
@ ./src/server.ts 18:31-74
@ ./src/index.ts 5:17-36
WARNING in ./node_modules/yargs/build/index.cjs 1:437-463
Critical dependency: the request of a dependency is an expression
@ ./node_modules/yargs/index.cjs 5:29-57
@ ./src/utils/CliUtils.ts 5:14-30
@ ./src/lifecycle/ConfigurationManager.ts 17:19-47
@ ./src/server.ts 18:31-74
@ ./src/index.ts 5:17-36
WARNING in ./node_modules/yargs/build/index.cjs 1:626-644
Critical dependency: the request of a dependency is an expression
@ ./node_modules/yargs/index.cjs 5:29-57
@ ./src/utils/CliUtils.ts 5:14-30
@ ./src/lifecycle/ConfigurationManager.ts 17:19-47
@ ./src/server.ts 18:31-74
@ ./src/index.ts 5:17-36
WARNING in ./node_modules/yargs/build/index.cjs 1:60883-60890
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./node_modules/yargs/index.cjs 5:29-57
@ ./src/utils/CliUtils.ts 5:14-30
@ ./src/lifecycle/ConfigurationManager.ts 17:19-47
@ ./src/server.ts 18:31-74
@ ./src/index.ts 5:17-36
WARNING in ./node_modules/yargs/build/index.cjs 1:61275-61282
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./node_modules/yargs/index.cjs 5:29-57
@ ./src/utils/CliUtils.ts 5:14-30
@ ./src/lifecycle/ConfigurationManager.ts 17:19-47
@ ./src/server.ts 18:31-74
@ ./src/index.ts 5:17-36
WARNING in ./node_modules/yargs/index.cjs 12:39-46
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./src/utils/CliUtils.ts 5:14-30
@ ./src/lifecycle/ConfigurationManager.ts 17:19-47
@ ./src/server.ts 18:31-74
@ ./src/index.ts 5:17-36
7 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
ERROR in $HOME/apps/MATLAB-language-server/src/indexing/DocumentIndexer.ts
./src/indexing/DocumentIndexer.ts 50:25-32
[tsl] ERROR in $HOME/apps/MATLAB-language-server/src/indexing/DocumentIndexer.ts(50,26)
TS2345: Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
ts-loader-default_e3b0c44298fc1c14
@ ./src/server.ts 16:26-63
@ ./src/index.ts 5:17-36
ERROR in $HOME/apps/MATLAB-language-server/src/providers/linting/LintingSupportProvider.ts
./src/providers/linting/LintingSupportProvider.ts 242:25-32
[tsl] ERROR in $HOME/apps/MATLAB-language-server/src/providers/linting/LintingSupportProvider.ts(242,26)
TS2345: Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
ts-loader-default_e3b0c44298fc1c14
@ ./src/server.ts 25:33-86
@ ./src/index.ts 5:17-36
webpack 5.89.0 compiled with 2 errors and 7 warnings in 2037 ms
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to install and configure this to work with helix. First step I'm trying is to install the MATLAB lang server. I cloned this repo and ran
npm run compile
and yield the following errors and warnings (replaced home dir with$HOME
, but thats the only change before posting):Compile error
Environment:
Beta Was this translation helpful? Give feedback.
All reactions