PhilippeChab / nwscript-ee-language-server

A NWScript Language Server.
https://marketplace.visualstudio.com/items?itemName=PhilippeChab.nwscript-ee-language-server
MIT License
20 stars 7 forks source link

1.5.4 Indexer Issue #47

Closed Daztek closed 1 year ago

Daztek commented 1 year ago

Hi, the 1.5.4 update seems to have broken the indexer, it doesn't find include files anymore.

Here's the log:


  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
node:internal/modules/cjs/loader:990
  throw err;
  ^

Error: Cannot find module 'c:\Users\Daz\.vscode\extensions\philippechab.nwscript-ee-language-server-1.5.4\server\out\indexer.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:987:15)
    at Module._load (node:internal/modules/cjs/loader:832:27)
    at c._load (node:electron/js2c/asar_bundle:5:13343)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}
[Info  - 1:38:26 PM] Compiling file:///d%3A/Github/EquinoxFramework/Systems/ef_s_console.nss:
[Info  - 1:38:26 PM] Loading base game resources...
[Info  - 1:38:26 PM] ef_s_console.nss(8): Error: NSC1085: Unable to open the include file "ef_i_core"
[Info  - 1:38:26 PM] Compilation aborted with errors.
[Info  - 1:38:26 PM] Total Execution time = 0.0620 seconds
[Info  - 1:38:26 PM] Done.```
PhilippeChab commented 1 year ago

Hey Daz,

Thanks for the notice. I'll look into this as soon as I can.

PhilippeChab commented 1 year ago

Should be fixed in 1.5.5. Sorry for the inconvenience.