I got this error when using new version of release v0.1.5. This error did not appear in my project when using previous version 0.1.4.
SERVER ERROR: Cannot find module 'minimist'
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at $getModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:10:55)
at Array.map (native)
at module.exports (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:16:46)
at CompilerService.resolveLanguageServiceModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1782:22)
at new CompilerService (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1746:24)
at new Project (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:702:36)
[Error - 4:06:03 PM] Notification handler 'textDocument/didOpen' failed with message: Cannot find module 'minimist'
Search path: /Users/apple/Desktop/lesson/forms-reactive-start/node_modules/@angular/cli/plugins
Config file name: /Users/apple/Desktop/lesson/forms-reactive-start/tsconfig.json
SERVER ERROR: Cannot find module 'minimist'
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at $getModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:10:55)
at Array.map (native)
at module.exports (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:16:46)
at CompilerService.resolveLanguageServiceModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1782:22)
at new CompilerService (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1746:24)
at new Project (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:702:36)
[Error - 4:06:04 PM] Notification handler 'textDocument/didOpen' failed with message: Cannot find module 'minimist'
Search path: /Users/apple/Desktop/lesson/forms-reactive-start/node_modules/@angular/cli/blueprints/ng/files/__path__/app
Config file name: /Users/apple/Desktop/lesson/forms-reactive-start/node_modules/@angular/cli/blueprints/ng/files/tsconfig.json
SERVER ERROR: Cannot find module 'minimist'
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at $getModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:10:55)
at Array.map (native)
at module.exports (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/node_modules/@angular/language-service/bundles/language-service.umd.js:16:46)
at CompilerService.resolveLanguageServiceModule (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1782:22)
at new CompilerService (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:1746:24)
at new Project (/Users/apple/.vscode/extensions/Angular.ng-language-service-0.1.5/server/editorServices.js:702:36)
Содержание
- VSCode fails to connect: cannot find module minimist (v2) #6772
- Comments
- Remote — SSH Output
- Error: Cannot find module ‘minimist’ #397
- Comments
- [version 0.1.5] SERVER ERROR: Cannot find module ‘minimist’ #142
- Comments
- iconv-lite and minimist packages missing? #42395
- Comments
- MeshCentral Service Crashes #450
- Comments
VSCode fails to connect: cannot find module minimist (v2) #6772
Related (but log is different): #6340
- VSCode Version: 1.67.2
- Local OS Version: Windows
- Remote OS Version:
$ uname -a
Linux magic 5.3.18-150200.24.112-preempt #1 SMP PREEMPT Wed Apr 6 12:31:53 UTC 2022 (faf9825) x86_64 x86_64 x86_64 GNU/Linux
- Remote Extension/Connection Type: SSH
- Logs: (See below)
Steps to Reproduce:
Not easily reproduced. I see it from time to time. This is typically what causes the problem:
- On remote server, manually killed all my VSCode processes
- On my local PC, close all VSCode instances
- Attempt to open connection to remote-server (by right-clicking toolbar icon, select workspace from Recent folders )
- VSC displays «Initializing server» (or similar message)
- Connection fails indicating: cannot not find module ‘minimist’
Recovering from this situation is not easy. After many attempts, it eventually recovers, but it might take 30+ minutes of trying different things. Here is what I do:
- On my local PC, run the command «Kill VSCode Server on Host. » and wait for the pop-up message
- On remote server, check and kill all remaining vscode processes
- Close all VSCode instances on my PC and re-open them
- Try closing and restarting things in different orders
- Eventually, something works and the server starts.
- Start a local VSC instance, open a local TERMINAL, ssh to the server. In another VSC instance connect to remote server (it worked after I did this, though it may have been a coincidence or a combination of things I tried previously).
Since I can eventually get the server to start, it’s a mystery why it cannot find module minimist in the prior attempts. Is this a clue as to the cause?
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: Haven’t tried that yet.
Remote — SSH Output
The text was updated successfully, but these errors were encountered:
Источник
Error: Cannot find module ‘minimist’ #397
$ npx yarle-evernote-to-md@4.10.1 yarle [17:14:24]
Need to install the following packages:
yarle-evernote-to-md@4.10.1
Ok to proceed? (y) y
npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see request/request#3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated fsevents@2.1.3: «Please update to latest v2.3 or v2.2»
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see request/request#3142
logfilepath: /Users/robert/Library/Application Support/yarle-evernote-to-md/conversion.log
clearing log: /Users/robert/Library/Application Support/yarle-evernote-to-md/conversion.log
node:internal/modules/cjs/loader:946
const err = new Error(message);
^
Error: Cannot find module ‘minimist’
Require stack:
- /Users/robert/.npm/_npx/f66a07d5d96a1351/node_modules/yarle-evernote-to-md/dist/dropTheRopeRunner.js
- /Users/robert/.npm/_npx/f66a07d5d96a1351/node_modules/yarle-evernote-to-md/dist/dropTheRope.js
at Module._resolveFilename (node:internal/modules/cjs/loader:946:15)
at Module._load (node:internal/modules/cjs/loader:787:27)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.run (/Users/robert/.npm/_npx/f66a07d5d96a1351/node_modules/yarle-evernote-to-md/dist/dropTheRopeRunner.js:34:18)
at Object. (/Users/robert/.npm/_npx/f66a07d5d96a1351/node_modules/yarle-evernote-to-md/dist/dropTheRope.js:26:19)
at Module._compile (node:internal/modules/cjs/loader:1112:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:834:12) <
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/Users/robert/.npm/_npx/f66a07d5d96a1351/node_modules/yarle-evernote-to-md/dist/dropTheRopeRunner.js’,
‘/Users/robert/.npm/_npx/f66a07d5d96a1351/node_modules/yarle-evernote-to-md/dist/dropTheRope.js’
]
>
Node.js v18.5.0
FAIL
The text was updated successfully, but these errors were encountered:
Источник
[version 0.1.5] SERVER ERROR: Cannot find module ‘minimist’ #142
I got this error when using new version of release v0.1.5. This error did not appear in my project when using previous version 0.1.4.
The text was updated successfully, but these errors were encountered:
Same on Windows.
Same on Windows 8.1, using the VSIX from the Releases tab (the version didn’t seem to show up in the extension gallery for me).
Solved by angular/angular#18532, now I suppose we have to wait the next patch or beta release of Angular so the VS Code extension could be fixed too.
Same here Windows 10 VS Code X64
Search path: c:/Users/Rati/Desktop/New folder (3)/MyApp/src/app Config file name: c:/Users/Rati/Desktop/New folder (3)/MyApp/tsconfig.json SERVER ERROR: Cannot find module ‘minimist’ Error: Cannot find module ‘minimist’ at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at $getModule (C:UsersRati.vscodeextensionsAngular.ng-language-service-0.1.5servernode_modules@angularlanguage-servicebundleslanguage-service.umd.js:10:55) at Array.map (native) at module.exports (C:UsersRati.vscodeextensionsAngular.ng-language-service-0.1.5servernode_modules@angularlanguage-servicebundleslanguage-service.umd.js:16:46) at CompilerService.resolveLanguageServiceModule (C:UsersRati.vscodeextensionsAngular.ng-language-service-0.1.5servereditorServices.js:1782:22) at new CompilerService (C:UsersRati.vscodeextensionsAngular.ng-language-service-0.1.5servereditorServices.js:1746:24) at new Project (C:UsersRati.vscodeextensionsAngular.ng-language-service-0.1.5servereditorServices.js:702:36) [Error — 10:42:17 PM] Notification handler ‘textDocument/didOpen’ failed with message: Cannot find module ‘minimist’ Search path: c:/Users/Rati/Desktop/New folder (3)/MyApp/dist Config file name: c:/Users/Rati/Desktop/New folder (3)/MyApp/tsconfig.json
Same here Windows 10 VS Code X64. Using 0.1.4 in the meantime. Any workaround for this?
Same here ,Win10 VsCode X64 extesnion vers0.1.5 .And waiting for the solution
Any update on this? this issue prevents us from using this extension.
This is active issue and there is still no update on it.
Version 0.1.5 was not published to the store because of this issue. I am cutting 0.1.6 to replace it.
This dependency was removed in 0.1.6. This doesn’t fix the issue with 0.1.5 however but I am closing this issue.
Источник
iconv-lite and minimist packages missing? #42395
Todays insiders when running from the command line:
< errorCode: ‘load’,
moduleId: ‘iconv-lite’,
neededBy: [ ‘vs/base/node/encoding’, ‘vs/code/node/cli’ ],
detail:
< Error: Cannot find module ‘iconv-lite’
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at t.load (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:15:911)
at e.load (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:13:465)
at s (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:27:811)
at Object.errorback (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:27:1003)
at e.triggerErrorback (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:13:826)
at /Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:13:535 code: ‘MODULE_NOT_FOUND’ > >
< errorCode: ‘load’,
moduleId: ‘minimist’,
neededBy: [ ‘vs/platform/environment/node/argv’ ],
detail:
< Error: Cannot find module ‘minimist’
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at t.load (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:15:911)
at e.load (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:13:465)
at s (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:27:811)
at Object.errorback (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:27:1003)
at e.triggerErrorback (/Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:13:826)
at /Applications/Visual Studio Code — Insiders.app/Contents/Resources/app/out/vs/loader.js:13:535 code: ‘MODULE_NOT_FOUND’ > >
The text was updated successfully, but these errors were encountered:
Источник
MeshCentral Service Crashes #450
I commented about this on another thread but thought I should put it here because this is related to the NPM install method and the other was more about the installer method. I noticed this on an upgrade and also just tried a brand new install of the latest version; the MeshCentral service crashes it appears from the logs that I have to create this folder manually and copy these files in order for the service to stay running.
< Error: Cannot find module ‘C:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (C:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (C:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘C:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (C:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (C:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘C:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (C:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (C:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘C:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (C:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (C:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘C:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (C:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (C:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘C:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (C:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (C:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
The text was updated successfully, but these errors were encountered:
So, when posting bug reports, please include how to replicate this problem. What OS and OS version are you using? What NPM commands did you type to get this? Did you using the MeshCentral Installer for Windows?
Any information to get me to replicate this issue would be much appreciated. Thanks.
Sorry Ylian, This is running on Windows Server 2012 R2 using NPM as follows:
cd c:meshcentral
npm install meshcentral
cd /node_modules/meshcentral
node meshcentral —install
This happened after upgrading around version 0.3.9 I believe and I have even tried a new install from scratch. If I go back to let’s say 0.3.9-f and upgrade from there this issue happens. The upgrade and even the new install seems to go fine but meshserver service just stops. If I manually create the nodemodules folder at this path: c$meshcentralnode_modulesmeshcentral with minimist, node-windows and ws and contents of these folders the service will stay running and everything works as expected. I gathered this idea from looking at the logs «Error: Cannot find module ‘C:meshcentralnode_modulesmeshcentralnode_modulesminimist’». Please let me know what else I can provide or test to help. Thanks
Ok, thanks. That is what I needed. Note that you can always rename «node_modules» to another name and do «npm install meshcentral» again, but «npm install» does not install all the modules MeshCentral needs. A workaround may be to run it once manually to let it install the optional modules.
Ok, so I had a chance to try this and ran all of the above commands as you recommended. This is the first part:
c:meshcentral>npm install meshcentral
npm WARN meshcentral No description
npm WARN meshcentral No repository field.
npm WARN meshcentral No license field.
- meshcentral@0.4.0-k
updated 1 package and audited 530 packages in 13.428s
found 0 vulnerabilities
c:meshcentral>node node_modules/meshcentral
MeshCentral HTTP redirection server running on port 80.
MeshCentral v0.4.0-k, Hybrid (LAN + WAN) mode.
MeshCentral Intel(R) AMT server running on support.rsa-systems.org:4433.
Server _customer1 has no users, next new account will be site administrator.
Server info has no users, next new account will be site administrator.
MeshCentral HTTPS server running on support.rsa-systems.org:443.
SMTP mail server mail.rsa-systems.org working as expected.
Then when I run the last part:
c:meshcentral>node node_modules/meshcentral —install
MeshCentral service installed.
MeshCentral service started.
The service is there but it still stops continually. Should there be a folder named «node_modules» under this path? C:meshcentralnode_modulesmeshcentral
When I create it manually everything works but it gets deleted when I update again.
Ylianst, have you had a chance to look at this based on me trying your suggestion (node node_modules/meshcentral) and still the same result after each update to meshcentral where the nodemodules folder has to be recreated?
Ylianst, I was just checking to see if this issue was resolved and I just missed it. I am still having this issue when I update meshcentral and the node_modules folder gets removed which causes the meshcentral server service to stop. I have the following folder structure: C:meshcentralnode_modulesmeshcentral (node_modules folder gets deleted from here) and I am running these commands:
cd c:meshcentral
npm install meshcentral
node node_modules/meshcentral
(wait, optional modules will install, hit ctrl-c when done)
node node_modules/meshcentral —install
If I copy that folder manually everything works. Just thought I’d see if anyone else is having this issue or is there something else I need to be doing so this one can be closed. Thanks
OK, so you’re still experiencing an issue. After reading this whole thread, I’m actually not sure what the actual issue is. Your description is . a bit nebulous.
Can you possibly answer these questions:.
Is this issue occurring even when going through the extra step (described above by Ylianst) of directly running MeshCentral without the service once prior to running it with the —install parameter (to set up the service), or is the issue only occurring when you skip that step? Also, can you post the output of each of the commands, and describe the difference between the expected behavior and what’s actually happening?
I don’t see where it was suggested to run MeshCentral without —install. I have been running these npm commands in this order:
1-cd c:meshcentral
2-npm install meshcentral
3-node node_modules/meshcentral
3b-(wait, optional modules will install, hit ctrl-c when done)
4-node node_modules/meshcentral —install
I don’t get any errors when going through all of the steps and MeshCentral service starts-initially. When I try to load the portal the service stops. The logs in the very first post gave me a hint as to what was happening. The node_modules folder gets removed after updating each time. If I copy it manually to this path: C:meshcentralnode_modulesmeshcentral with the included folders (minimist, node-windows and ws) the service stays running and everything works. I have to do this each time I upgrade and I have even tried a brand new install.
Here is the meshcentral.err.log
c:meshcentralnode_modulesnode-windowslibwrapper.js:177
child.send(‘shutdown’);
^
TypeError: Cannot read property ‘send’ of null
at process.killkid (c:meshcentralnode_modulesnode-windowslibwrapper.js:177:11)
at process.emit (events.js:198:13)
at process.exit (internal/process/per_thread.js:168:15)
at monitor (c:meshcentralnode_modulesnode-windowslibwrapper.js:99:17)
at ChildProcess. (c:meshcentralnode_modulesnode-windowslibwrapper.js:170:5)
at ChildProcess.emit (events.js:198:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
c:meshcentralnode_modulesnode-windowslibwrapper.js:177
child.send(‘shutdown’);
^
TypeError: Cannot read property ‘send’ of null
at process.killkid (c:meshcentralnode_modulesnode-windowslibwrapper.js:177:11)
at process.emit (events.js:198:13)
at process.exit (internal/process/per_thread.js:168:15)
at monitor (c:meshcentralnode_modulesnode-windowslibwrapper.js:99:17)
at ChildProcess. (c:meshcentralnode_modulesnode-windowslibwrapper.js:170:5)
at ChildProcess.emit (events.js:198:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
Here is the meshcentral.out.log:
< Error: Cannot find module ‘c:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (c:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (c:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘c:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (c:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (c:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘c:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (c:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (c:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘c:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (c:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (c:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘c:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (c:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (c:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
< Error: Cannot find module ‘c:meshcentralnode_modulesmeshcentralnode_modulesminimist’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at start (c:meshcentralnode_modulesmeshcentralwinservice.js:39:22)
at Object. (c:meshcentralnode_modulesmeshcentralwinservice.js:76:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12) code: ‘MODULE_NOT_FOUND’ >
Here is the output of the commands. Even though there are errors I get past these no problem. The server stills dies and won’t stay running unless I manually copy the folder as mentioned above from a previous install.
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
c:meshcentral>npm install meshcentral
npm WARN saveError ENOENT: no such file or directory, open ‘c:meshcentralpacka
ge.json’
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open ‘c:meshcentralpackage.
json’
npm WARN meshcentral No description
npm WARN meshcentral No repository field.
npm WARN meshcentral No README data
npm WARN meshcentral No license field.
- meshcentral@0.4.2-u
added 205 packages from 226 contributors and audited 486 packages in 27.631s
found 0 vulnerabilities
c:meshcentral>node node_modules/meshcentral
Installing node-windows.
Installing otplib.
MeshCentral HTTP redirection server running on port 80.
Generating certificates, may take a few minutes.
Generating root certificate.
Generating HTTPS certificate.
Generating MeshAgent certificate.
Generating Intel AMT MPS certificate.
MeshCentral v0.4.2-u, LAN mode.
Server has no users, next new account will be site administrator.
MeshCentral HTTPS server running on port 443.
Server Ctrl-C exit.
c:meshcentral>node node_modules/meshcentral —install
Installing node-sspi.
Installing greenlock.
ERROR: Unable to install required module «greenlock». MeshCentral may not have a
ccess to npm, or npm may not have suffisent rights to load the new module. Try »
npm install greenlock» to manualy install this module.
c:meshcentral>node node_modules/meshcentral —install
Installing le-acme-core.
Installing nodemailer.
MeshCentral service installed.
MeshCentral service started.
c:meshcentral>npm install greenlock
ursa-optional@0.9.10 install c:meshcentralnode_modulesursa-optional
node rebuild.js
ursaNative bindings compilation fail. This is not an issue. Modules that depend
on it will use fallbacks.
acme-v2@1.8.6 postinstall c:meshcentralnode_modulesacme-v2
node scripts/postinstall
Greenlock and ACME.js v3 are on the way!
Watch for updates at https://indiegogo.com/at/greenlock
npm WARN saveError ENOENT: no such file or directory, open ‘c:meshcentralpacka
ge.json’
npm WARN enoent ENOENT: no such file or directory, open ‘c:meshcentralpackage.
json’
npm WARN meshcentral No description
npm WARN meshcentral No repository field.
npm WARN meshcentral No README data
npm WARN meshcentral No license field.
- greenlock@2.8.8
added 19 packages from 8 contributors and audited 1729 packages in 19.026s
found 0 vulnerabilities
c:meshcentral>node node_modules/meshcentral —install
MeshCentral service already installed.
Thanks. FYI, it’s much easier to read code, commands, and command output of you put them in code blocks.
I’d recommend that you bypass all the extra steps of trying to get MeshCentral to install all of the optional modules by including them on the npm install command line. Looking at your command output from above, that would mean the following commands for you:
As far as the missing npm package(s), after you’ve installed MeshCentral, but before you copy/move that folder, can you run npm list while you’re in the C:meshcentral folder, and post the results here?
I don’t see where it was suggested to run MeshCentral without —install. I have been running these npm commands in this order:
1-cd c:meshcentral
2-npm install meshcentral
3-node node_modules/meshcentral
3b-(wait, optional modules will install, hit ctrl-c when done)
4-node node_modules/meshcentral —install
I don’t get any errors when going through all of the steps and MeshCentral service starts-initially. When I try to load the portal the service stops. The logs in the very first post gave me a hint as to what was happening. The node_modules folder gets removed after updating each time. If I copy it manually to this path: C:meshcentralnode_modulesmeshcentral with the included folders (minimist, node-windows and ws) the service stays running and everything works. I have to do this each time I upgrade and I have even tried a brand new install.
- Thanks for the tip on «code blocks». I am not sure how to do this running these commands from Windows command line but I’m sure I can figure it out.
- As for the «extra steps»; I don’t normally do this and haven’t in the past as the optional modules already installed.
- I see what you are referring to now with regards to running command without —install initially. You can see from my command output that this is what I was actually doing.
- I will attach the results of npm list below.
Thanks for your help!
+— binary-search-tree@0.2.5
| — underscore@1.4.4 +— body-parser@1.19.0 | +— bytes@3.1.0 | +— content-type@1.0.4 | +— debug@2.6.9 | | — ms@2.0.0
| +— depd@1.1.2
| +— http-errors@1.7.2
| | +— depd@1.1.2 deduped
| | +— inherits@2.0.3
| | +— setprototypeof@1.1.1 deduped
| | +— statuses@1.5.0 deduped
| | — toidentifier@1.0.0 | +— iconv-lite@0.4.24 | | — safer-buffer@2.1.2
| +— on-finished@2.3.0
| | — ee-first@1.1.1 | +— qs@6.7.0 | +— raw-body@2.4.0 | | +— bytes@3.1.0 deduped | | +— http-errors@1.7.2 deduped | | +— iconv-lite@0.4.24 deduped | | — unpipe@1.0.0
| — type-is@1.6.18 | +— media-typer@0.3.0 | — mime-types@2.1.24 deduped
+— cbor@4.1.5
| +— bignumber.js@8.1.1 deduped
| +— commander@2.20.3
| +— json-text-sequence@0.1.1
| | — delimit-stream@0.1.0 | — nofilter@1.0.3
+— compressible@2.0.17
| — mime-db@1.40.0 +— compression@1.7.4 | +— accepts@1.3.7 deduped | +— bytes@3.0.0 | +— compressible@2.0.17 deduped | +— debug@2.6.9 deduped | +— on-headers@1.0.2 | +— safe-buffer@5.1.2 | — vary@1.1.2
+— connect-redis@3.4.2
| +— debug@4.1.1
| | — ms@2.1.2 | — redis@2.8.0
| +— double-ended-queue@2.1.0-0
| +— redis-commands@1.5.0
| — redis-parser@2.6.0 +— content-disposition@0.5.3 | — safe-buffer@5.1.2 deduped
+— cookie@0.4.0
+— cookie-session@2.0.0-beta.3
| +— cookies@0.7.1
| | +— depd@1.1.2 deduped
| | — keygrip@1.0.3 | +— debug@3.1.0 | | — ms@2.0.0 deduped
| +— on-headers@1.0.2 deduped
| — safe-buffer@5.1.1 +— cookie-signature@1.0.6 +— define-properties@1.1.3 | — object-keys@1.1.1
+— destroy@1.0.4
+— encodeurl@1.0.2
+— escape-html@1.0.3
+— etag@1.8.1
+— express@4.17.1
| +— accepts@1.3.7 deduped
| +— array-flatten@1.1.1 deduped
| +— body-parser@1.19.0 deduped
| +— content-disposition@0.5.3 deduped
| +— content-type@1.0.4 deduped
| +— cookie@0.4.0 deduped
| +— cookie-signature@1.0.6 deduped
| +— debug@2.6.9 deduped
| +— depd@1.1.2 deduped
| +— encodeurl@1.0.2 deduped
| +— escape-html@1.0.3 deduped
| +— etag@1.8.1 deduped
| +— finalhandler@1.1.2
| | +— debug@2.6.9 deduped
| | +— encodeurl@1.0.2 deduped
| | +— escape-html@1.0.3 deduped
| | +— on-finished@2.3.0 deduped
| | +— parseurl@1.3.3 deduped
| | +— statuses@1.5.0 deduped
| | — unpipe@1.0.0 deduped | +— fresh@0.5.2 | +— merge-descriptors@1.0.1 | +— methods@1.1.2 | +— on-finished@2.3.0 deduped | +— parseurl@1.3.3 | +— path-to-regexp@0.1.7 | +— proxy-addr@2.0.5 | | +— forwarded@0.1.2 | | — ipaddr.js@1.9.0
| +— qs@6.7.0 deduped
| +— range-parser@1.2.1
| +— safe-buffer@5.1.2 deduped
| +— send@0.17.1
| | +— debug@2.6.9 deduped
| | +— depd@1.1.2 deduped
| | +— destroy@1.0.4 deduped
| | +— encodeurl@1.0.2 deduped
| | +— escape-html@1.0.3 deduped
| | +— etag@1.8.1 deduped
| | +— fresh@0.5.2 deduped
| | +— http-errors@1.7.2 deduped
| | +— mime@1.6.0
| | +— ms@2.1.1
| | +— on-finished@2.3.0 deduped
| | +— range-parser@1.2.1 deduped
| | — statuses@1.5.0 deduped | +— serve-static@1.14.1 | | +— encodeurl@1.0.2 deduped | | +— escape-html@1.0.3 deduped | | +— parseurl@1.3.3 deduped | | — send@0.17.1 deduped
| +— setprototypeof@1.1.1
| +— statuses@1.5.0
| +— type-is@1.6.18 deduped
| +— utils-merge@1.0.1
| — vary@1.1.2 deduped +— express-handlebars@3.1.0 | +— glob@7.1.4 deduped | +— graceful-fs@4.2.2 | +— handlebars@4.4.3 | | +— neo-async@2.6.1 | | +— optimist@0.6.1 deduped | | +— source-map@0.6.1 | | — uglify-js@3.6.3
| | +— commander@2.20.3 deduped
| | — source-map@0.6.1 deduped | +— object.assign@4.1.0 | | +— define-properties@1.1.3 deduped | | +— function-bind@1.1.1 | | +— has-symbols@1.0.0 | | — object-keys@1.1.1 deduped
| — promise@8.0.3 | — asap@2.0.6 deduped
+— express-ws@4.0.0
| — ws@5.2.2 | — async-limiter@1.0.1 deduped
+— fd-slicer@1.1.0
| — pend@1.2.0 +— greenlock@2.8.8 | +— acme@1.3.5 | | — acme-v2@1.8.6 deduped
| +— acme-dns-01-cli@3.0.7
| +— acme-v2@1.8.6
| | +— @root/request@1.3.11
| | — rsa-compat@2.0.8 deduped | +— cert-info@1.5.1 | +— greenlock-store-fs@3.0.2 | | +— @root/mkdirp@1.0.0 | | — safe-replace@1.1.0
| +— keypairs@1.2.14
| | +— eckles@1.4.1
| | — rasha@1.2.5 | +— le-challenge-fs@2.0.9 | | — @root/mkdirp@1.0.0 deduped
| +— le-sni-auto@2.1.9
| +— le-store-certbot@2.2.3
| | +— @root/mkdirp@1.0.0 deduped
| | +— pyconf@1.1.7
| | | — safe-replace@1.1.0 deduped | | — safe-replace@1.1.0 deduped
| — rsa-compat@2.0.8 | — keypairs@1.2.14 deduped
+— immediate@3.0.6
+— ipcheck@0.1.0
+— le-acme-core@2.1.4
| +— request@2.88.0
| | +— aws-sign2@0.7.0
| | +— aws4@1.8.0
| | +— caseless@0.12.0
| | +— combined-stream@1.0.8
| | | — delayed-stream@1.0.0 | | +— extend@3.0.2 | | +— forever-agent@0.6.1 | | +— form-data@2.3.3 | | | +— asynckit@0.4.0 | | | +— combined-stream@1.0.8 deduped | | | — mime-types@2.1.24 deduped
| | +— har-validator@5.1.3
| | | +— ajv@6.10.2
| | | | +— fast-deep-equal@2.0.1
| | | | +— fast-json-stable-stringify@2.0.0
| | | | +— json-schema-traverse@0.4.1
| | | | — uri-js@4.2.2 | | | | — punycode@2.1.1
| | | — har-schema@2.0.0 | | +— http-signature@1.2.0 | | | +— assert-plus@1.0.0 | | | +— jsprim@1.4.1 | | | | +— assert-plus@1.0.0 deduped | | | | +— extsprintf@1.3.0 | | | | +— json-schema@0.2.3 | | | | — verror@1.10.0
| | | | +— assert-plus@1.0.0 deduped
| | | | +— core-util-is@1.0.2 deduped
| | | | — extsprintf@1.3.0 deduped | | | — sshpk@1.16.1
| | | +— asn1@0.2.4
| | | | — safer-buffer@2.1.2 deduped | | | +— assert-plus@1.0.0 deduped | | | +— bcrypt-pbkdf@1.0.2 | | | | — tweetnacl@0.14.5 deduped
| | | +— dashdash@1.14.1
| | | | — assert-plus@1.0.0 deduped | | | +— ecc-jsbn@0.1.2 | | | | +— jsbn@0.1.1 deduped | | | | — safer-buffer@2.1.2 deduped
| | | +— getpass@0.1.7
| | | | — assert-plus@1.0.0 deduped | | | +— jsbn@0.1.1 | | | +— safer-buffer@2.1.2 deduped | | | — tweetnacl@0.14.5
| | +— is-typedarray@1.0.0
| | +— isstream@0.1.2
| | +— json-stringify-safe@5.0.1
| | +— mime-types@2.1.24 deduped
| | +— oauth-sign@0.9.0
| | +— performance-now@2.1.0
| | +— qs@6.5.2
| | +— safe-buffer@5.1.2 deduped
| | +— tough-cookie@2.4.3
| | | +— psl@1.4.0
| | | — punycode@1.4.1 | | +— tunnel-agent@0.6.0 | | | — safe-buffer@5.1.2 deduped
| | — uuid@3.3.3 | — rsa-compat@1.9.4 extraneous
+— lie@3.1.1
| — immediate@3.0.6 deduped +— localforage@1.7.3 | — lie@3.1.1 deduped
+— meshcentral@0.4.2-u
| +— archiver@3.1.1 deduped
| +— body-parser@1.19.0 deduped
| +— cbor@4.1.5 deduped
| +— compression@1.7.4 deduped
| +— connect-redis@3.4.2 deduped
| +— cookie-session@2.0.0-beta.3 deduped
| +— express@4.17.1 deduped
| +— express-handlebars@3.1.0 deduped
| +— express-ws@4.0.0 deduped
| +— ipcheck@0.1.0 deduped
| +— meshcentral@0.4.2-u deduped
| +— minimist@1.2.0
| +— multiparty@4.2.1
| | +— fd-slicer@1.1.0 deduped
| | +— http-errors@1.7.2 deduped
| | +— safe-buffer@5.1.2 deduped
| | — uid-safe@2.1.5 | | — random-bytes@1.0.0
| +— nedb@1.8.0
| | +— async@0.2.10
| | +— binary-search-tree@0.2.5 deduped
| | +— localforage@1.7.3 deduped
| | +— mkdirp@0.5.1
| | | — minimist@0.0.8 | | — underscore@1.4.4 deduped
| +— node-forge@0.8.5
| +— node-vault@0.9.11
| | +— debug@3.1.0
| | | — ms@2.0.0 deduped | | +— mustache@2.3.2 | | +— request@2.88.0 deduped | | +— request-promise-native@1.0.7 | | | +— request-promise-core@1.1.2 | | | | — lodash@4.17.15 deduped
| | | +— stealthy-require@1.1.1
| | | — tough-cookie@2.4.3 deduped | | — tv4@1.3.0
| +— ws@6.2.1
| | — async-limiter@1.0.1 deduped | +— xmldom@0.1.27 | — yauzl@2.10.0
| +— buffer-crc32@0.2.13 deduped
| — fd-slicer@1.1.0 deduped +— node-sspi@0.2.5 | +— bindings@1.5.0 | | — file-uri-to-path@1.0.0
| — nan@2.14.0 +— node-windows@0.1.14 | +— optimist@0.6.1 | | +— minimist@0.0.10 | | — wordwrap@0.0.3
| — xml@0.0.12 +— nodemailer@6.3.1 — otplib@11.0.1
`— thirty-two@1.0.2
npm ERR! extraneous: rsa-compat@1.9.4 C:meshcentralnode_modulesle-acme-coren
ode_modulesrsa-compat
Sorry for the delay, I wrote a reply the other day, but accidentally hit the back button, and it disappeared, so I wasn’t feeling very motivated to rewrite it again.
It looks like minimist , node-windows , and ws are all in the right places to me. Did you still have to copy/move things around after using npm to install the optional components from the beginning?
Also, to be a bit more specific about the code blocks, inline code should be ‘quoted’ in single ‘backticks’ (e.g. I ran `this command` in that folder ), but multi-line code blocks should be placed between two lines that contain three backticks ( «` ) on each of them, so while writing your post, it would look like so:
Also, another tip is that you can easily copy the output of a command to the clipboard on Windows by piping the command to CLIP , so if I’m posting the output from npm list , I would run npm list | CLIP , go to my GitHub reply and type ` , ` , ` , Enter , Ctrl + V , Enter , ` , ` , `
No worries at all-I’ve done that before.
I’ve never had this issue with those components before the 0.4.x versions. I just noticed that after I upgraded; the service started and all seemed fine until I loaded the site. So if I am the only one having this issue I’ll need to investigate further. I know I haven’t changed my method of install/upgrading, so this is quite strange. I’ll post back if I come up with anything. Thanks for your help!
Did you still have to copy/move things around after using npm to install the optional components from the beginning?
No, I did not have to copy that node_modules folder with the 3 components (minimist, node-windows, and ws). I also did not have to install the optional components that you saw when I shared my script, i.e. letsencrypt, greenlock, etc., but this is not a big deal. One thing I thought about and I was going to try again was to not use my config.json when I do the new install-just for testing. I may have already tried this but can’t remember. I will let you know the results.
This is the result of a brand new install without using my custom config.json:
»’
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
c:meshcentral>npm install meshcentral
npm WARN saveError ENOENT: no such file or directory, open ‘c:meshcentralpacka
ge.json’
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open ‘c:meshcentralpackage.
json’
npm WARN meshcentral No description
npm WARN meshcentral No repository field.
npm WARN meshcentral No README data
npm WARN meshcentral No license field.
- meshcentral@0.4.2-z
added 205 packages from 226 contributors and audited 486 packages in 39.544s
found 0 vulnerabilities
c:meshcentral>node node_modules/meshcentral
Installing node-windows.
Installing otplib.
MeshCentral HTTP redirection server running on port 80.
Generating certificates, may take a few minutes.
Generating root certificate.
Generating HTTPS certificate.
Generating MeshAgent certificate.
Generating Intel AMT MPS certificate.
MeshCentral v0.4.2-z, LAN mode.
Server has no users, next new account will be site administrator.
MeshCentral HTTPS server running on port 443.
Server Ctrl-C exit.
c:meshcentral>node node_modules/meshcentral —install
MeshCentral service installed.
MeshCentral service started.
Still doing the same thing.
Ok, so I tried uninstalling everything, this includes npm and node.js and reinstalling-everything. Please note that this is and has always been installed on Windows Server 2012 R2, which was listed as supported OS in Install Guide; at least for the Windows Installation Tool. So. back to the original question: «why all of a sudden is the meshcentral service stopping?» Surely, something can be gleaned from the logs I have provided. I keep going back to the meshcentral.out.log and what is telling the service to look here (< Error: Cannot find module ‘c:meshcentralnode_modulesmeshcentral*node_modules*minimist’) for these components.
So, just to verify, please let me know if any of this is incorrect: You’re trying to run the MeshCentral server is as a service, and after installing the service, it seems to start and operate normally, until you open a web browser and try to connect to it. At this point it crashes, and leaves something in the log about not being able to find minimist. As a workaround to the issue, you create a node_modules folder inside the meshcentral folder, where you place a minimist folder (containing minimist`).
Can you open up C:WindowsSystem32services.msc , open up the properties of the mesh central service, and post a screenshot, as well as copy/pasting the full contents of the «Path to executable:» field?
Yes, you are mostly correct:
The meshcentral service will stop even before I open up the web browser.
Path to executable: «C:meshcentralnode_modulesmeshcentraldaemonmeshcentral.exe»
It will only start and stay running if I copy the «minimist», «node-windows», and «ws» in the path you mentioned.
Oh, well that’s not what I expected. . I guess I’ll have to actually install it as a service some time to see what it’s like.
When you say “. not what you expected” what do you mean? That’s how I’ve always ran it, so I’m wondering how many others do not run it as a service and that’s why this seems like such a remote issue.
I don’t know how others use it, but I’m still primarily testing MeshCentral, and so far I’ve only run it via a portable version of node from https://github.com/jgonyea/nodejs-portable/releases, which I run, then through the command prompt that opens, I run npm install meshcentral , and node node_modulesmeshcentral . To install it as a service, I’d first have to set up a proper install of node, or I’d have to use the MeshCentral installer.
When I said it was «not what I expected» I meant that I wasn’t even aware that when installed as a service it gained a ‘daemon’ folder, which isn’t present in my installation.
I was ready to give up on this but after walking away because of being so busy I revisited today and figured this out. Ylianst is it possible to change the winservice.js //setup libraries section to this:
// Setup libraries
const args = require(path.join(cwd, ‘../minimist‘))(process.argv.slice(2));
const nodewindows = require(path.join(cwd, ‘../node-windows‘));
When it is set to node_modules/minimist and node_modules/node_windows it is causing the meshcentral Windows service to crash after upgrading because it is expecting to find another node_modules folder under the meshcentral folder: (i.e. C:meshcentralnode_modulesmeshcentralnode_modules when it should be looking in the existing C:meshcentralnode_modules for the libraries, specifically node-windows and minimist.
With these changes in my winservice.js the Windows service starts and runs perfectly but I know it will get overwritten in future updates. Thanks
@Ylianst: johnczer is recommending the following changes to these lines:
Lines 38 to 40 in 45043b2
// Setup libraries |
const args = require ( path . join ( cwd , ‘node_modules/minimist’ ) ) ( process . argv . slice ( 2 ) ) ; |
const nodewindows = require ( path . join ( cwd , ‘node_modules/node-windows’ ) ) ; |
I’m wondering though, wouldn’t it be better to drop the path all together and let require() find these modules automatically? By default it should search through several locations, and I think the actual locations of these modules is among them, isn’t it?
Ylianst is it possible to make the changes per above as this node_modules folder with minimist and node_windows still gets removed on upgrade and I have to replace it each time or service will not stay running.
@johnczer: Next time you update could you check if this change also works for you?
I just tried this upgrade and I get the same result, which is it removes the expected node_modules folder from this path: C:meshcentralnode_modulesmeshcentral and I have to copy it back after every upgrade.
Before I sent this I checked to see if the winservice.js was already modified with the above changes in 4.8-x. So I manually added those lines and still the same result. I added my suggestions back in and the service started and stayed running. It doesn’t expect the node_modules in the path specified above, which is how I would expect it to behave.
So, I’m experiencing the same issues. Once I installed MeshCentral (Windows Server 2016), I had to additionally install minimist and node-windows after cd to ./node-modules/meshcentral and before I was able to run node meshcentral —install. When I updated my installation, I had to install additional modules once again
Источник
I am getting the following error upon runing bower install.
$ bower install
module.js:340
throw err;
^
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:289:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/home/ubuntu/.nvm/versions/node/v5.1.0/lib/node_modules/bower/node_modules/bower-config/node_modules/optimist/index.js:2:16)
at Module._compile (module.js:425:26)
at Object.Module._extensions..js (module.js:432:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Module.require (module.js:366:17)
at require (module.js:385:17)
I have «minimist» installed as a local npm package but not globally. Is there any way to get bower to recognize the local package and avoid installing minimist globally?
asked Dec 4, 2015 at 12:53
1
Running npm install -S minimist
in a CLI from your project root directory should solve your problem.
answered Dec 4, 2015 at 13:13
BeatBeat
4,3782 gold badges34 silver badges51 bronze badges
2
Kinga
Posted on Feb 14, 2022
When writing custom commands for rush, package dependencies used by your script may be automatically installed using autoinstaller
.
Autoinstallers provide a way to manage a set of related dependencies that are used for
scripting scenarios outside of the usual «rush install» context
One example of such a configuration is Enabling Prettier.
But what will happen if you want to use these dependencies in your script? For example, instead of this:
"commands": [
{
"name": "prettier",
"commandKind": "global",
"autoinstallerName": "rush-prettier",
// This will invoke common/autoinstallers/rush-prettier/node_modules/.bin/pretty-quick
"shellCommand": "pretty-quick --staged"
}
Enter fullscreen mode
Exit fullscreen mode
you want to execute this:
"commands": [
{
"name": "prettier",
"commandKind": "global",
"autoinstallerName": "rush-prettier",
"shellCommand": "node common/scripts/run-pretty-quick-and-some-other-scripts.js"
}
Enter fullscreen mode
Exit fullscreen mode
The command
My new rush command rush print-arguments
should parse and print arguments provided during the command invocation. The argument parsing is done with minimist
.
Create autoinstaller
# create the autoinstaller
rush init-autoinstaller --name rush-minimist
# install minimist as a dependency
cd common/autoinstallers/rush-minimist
pnpm i minimist
# ensure that the common/autoinstallers/rush-minimist/ppnpm-lock.yaml file is up to date
rush update-autoinstaller --name rush-minimist
Enter fullscreen mode
Exit fullscreen mode
Create the command
common/config/rush/command-line.json
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/command-line.schema.json",
"commands": [
{
"name": "print-arguments",
"commandKind": "global",
"summary": "Prints provided arguments to the output",
"autoinstallerName": "rush-minimist",
"shellCommand": "node common/scripts/print-arguments.js"
}
],
"parameters": [
{
"parameterKind": "string",
"argumentName": "ARGUMENT1",
"longName": "--arg1",
"description": "",
"associatedCommands": ["print-arguments"]
}
]
}
Enter fullscreen mode
Exit fullscreen mode
Create the script
Create your script in common/scripts folder:
common/scripts/print-arguments.js
var minimist = require('minimist');
var args = minimist(process.argv.slice(2));
Enter fullscreen mode
Exit fullscreen mode
Run the command
rush install
rush print-arguments --arg1 "Hello world!"
Enter fullscreen mode
Exit fullscreen mode
The error
Acquiring lock for "commonautoinstallersrush-minimist" folder...
Autoinstaller folder is already up to date
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'minimist'
Require stack:
- [...]commonscriptsprint-arguments.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
...
(internal/modules/run_main.js:72:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'[...]\common\scripts\print-arguments.js'
]
}
The script failed with exit code 1
Enter fullscreen mode
Exit fullscreen mode
The root cause
According to the documentation:
The
autoinstallerName
[…] «my-task» would map to «common/autoinstallers/my-task/package.json», and the «common/autoinstallers/my-task/node_modules/.bin» folder would be added to the shellPATH
.
And indeed, the minimist
is in common/autoinstallers/rush-minimist/node_modules
, and process.env.PATH
does include common/autoinstallers/my-task/node_modules/.bin
.
What is the issue then?
When requiring a module without specifying a path, Node will look for it in all the paths specified by module.paths
:
[
'C:\folder1\folder2\project\common\scripts\node_modules',
'C:\folder1\folder2\project\common\node_modules',
'C:\folder1\folder2\project\node_modules',
'C:\folder1\folder2\node_modules',
'C:\folder1\node_modules',
'C:\node_modules'
]
Enter fullscreen mode
Exit fullscreen mode
The common/autoinstallers/my-task/node_modules/
is not on the list and in effect, node is throwing a «cannot find module error.»
The solution
Modules that are outside of the above node_modules directories can be found using either relative or absolute paths. All we need to do is to find it.
common/scripts/print-arguments.js
//1. See current location: this would be {repo}/common/scripts path
// console.log(__dirname )
//2. Packages installed by autoinstaller are saved to common/autoinstallers/autoinstaller-name/ and added to the shell PATH
// console.dir(process.env.PATH);
//3. Knowing current location, and location of the node_modules with packages, path will be ../autoinstallers/autoinstaller-name/node_modules/
// Get node_modules location
const path = require('path');
const node_modules = path.join(__dirname, '..', 'autoinstallers/rush-minimist/node_modules');
var argv = require(path.join(node_modules, 'minimist'))(process.argv.slice(2));
Enter fullscreen mode
Exit fullscreen mode
E Voila! Works like a charm =)
Acquiring lock for "commonautoinstallersrush-minimist" folder...
Autoinstaller folder is already up to date
{ _: [], edit: 'Hello world!' }
Enter fullscreen mode
Exit fullscreen mode
Vahid
unread,
Mar 25, 2018, 4:22:18 AM3/25/18
to taigaio
Hi
i installed latest version of taiga back-front on my ubuntu server (16.04) in production environment and it have this error on taigaevents.stderr file Repeatedly:
Error: Cannot find module ‘minimist’
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/taiga/taiga-events/index.coffee:2:8)
at Object.<anonymous> (/home/taiga/taiga-events/index.coffee:1:1)
at Module._compile (module.js:652:30)
at Object.exports.run (/usr/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:173:23)
at compileScript (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:224:29)
at compilePath (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:174:14)
at Object.exports.run (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:98:20)
at Object.<anonymous> (/usr/lib/node_modules/coffee-script/bin/coffee:15:45)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
whats cause of this error and how can i solve it?
David Barragán
unread,
Mar 25, 2018, 5:55:22 PM3/25/18
to Vahid, taigaio
Try to install npm modules again
cd taiga-events
npm install
you can force to install minimist too
npm install minimist
And then try to run taiga-evenrts again
Regard
Vahid
unread,
Mar 25, 2018, 7:06:36 PM3/25/18
to taigaio
Hi
Thank you. i run this command and output of it is:
admin@studio:~$ cd /home/taiga/taiga-events
sshadmin@studio:/home/taiga/taiga-events$ npm install
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, follo wing the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for comp atibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated coffee-script@1.11.1: CoffeeScript on NPM has moved to "coff eescript" (no hyphen)
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compa tibility with current and future versions of Node.js
npm WARN checkPermissions Missing write access to /home/taiga/taiga-events
npm ERR! path /home/taiga/taiga-events
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/home/taiga/taiga-events'
npm ERR! { Error: EACCES: permission denied, access '/home/taiga/taiga-events'
npm ERR! stack: 'Error: EACCES: permission denied, access '/home/taiga/taiga- events'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/home/taiga/taiga-events' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR
! A complete log of this run can be found in:
npm ERR! /home/sshadmin/.npm/_logs/2018-03-25T15_24_40_933Z-debug.log
admin@studio:/home/taiga/taiga-events$ sudo npm install
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, follo wing the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated coffee-script@1.11.1: CoffeeScript on NPM has moved to "coff eescript" (no hyphen)
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for comp atibility with current and future versions of Node.js
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compa tibility with current and future versions of Node.js> nodemon@1.17.2 postinstall /home/taiga/taiga-events/node_modules/nodemon
> node -e "console.log('u001b[32mLove nodemon? You can now support the project via the open collective:u001b[22mu001b[39mn > u001b[96mu001b[1mhttps://open collective.com/nodemon/donateu001b[0mn')" || exit 0Love nodemon? You can now support the project via the open collective:
> https://opencollective.com/nodemon/donate
npm notice created a lockfile
as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fse vents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@ 1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"} )
added
438 packages in 15.888s
i see few warning there. is there ok?
David Barragán
unread,
Mar 26, 2018, 12:30:54 PM3/26/18
to Vahid, taigaio
It seems that you setup taiga-events with root user instead of taiga user.
pm WARN checkPermissions Missing write access to /home/taiga/taiga—events
npm ERR! path /home/taiga/taiga—events
npm ERR! code EACCES
npm ERR! errno —13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access ‘/home/taiga/taiga-events’
npm ERR! { Error: EACCES: permission denied, access ‘/home/taiga/taiga-events’
npm ERR! stack: ‘Error: EACCES: permission denied, access ‘/home/taiga/taiga- events»,
npm ERR! errno: —13,
npm ERR! code: ‘EACCES’,
npm ERR! syscall: ‘access’,
npm ERR! path: ‘/home/taiga/taiga-events’ }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
Vahid
unread,
Mar 26, 2018, 12:37:00 PM3/26/18
to taigaio
Hi Again,
so i run that command with taiga user:
taiga@studio:~/taiga-events$ sudo npm install
[sudo] password for taiga:
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date
in 4.828s
taiga@studio:~/taiga-events$
is it ok now?
On Sunday, March 25, 2018 at 5:52:18 AM UTC+4:30, Vahid wrote:
David Barragán
unread,
Mar 27, 2018, 9:56:38 PM3/27/18
to Vahid, taigaio
I’m so sorry but I don’t know because I’ve never seem this warning message. I don’t understand why you setup taiga with root user but in the taiga home user. I recomend you to use the taiga-scripts to get a generic taiga instance running and then try to customize it.
Vahid
unread,
Mar 28, 2018, 12:19:38 AM3/28/18
to taigaio
Hi
i repeat it with taiga user:
taiga@studio:~/taiga-events$ sudo npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY
: fsevents@1.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date
in 4.565s╭─────────────────────────────────────╮
│ │
│ Update available 5.6.0 → 5.8.0 │
│ Run npm i -g npm to update │
│ │
╰─────────────────────────────────────╯
also i upgraded npm:
taiga@studio:~/taiga-events$ sudo npm i -g npm
/usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
/usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
+ npm@5.8.0
added 89 packages, removed 42 packages and updated 67 packages in 10.346s
and now i dont see that error on logs of taigaevents.stderr file
On Sunday, March 25, 2018 at 5:52:18 AM UTC+4:30, Vahid wrote:
David Barragán
unread,
Mar 28, 2018, 6:21:59 PM3/28/18
to Vahid, taigaio
Ok, but I don’t understand why you use sudo to do npm install
Closed
VSCode fails to connect: cannot find module minimist (v2) #6772
LiveFreeAndRoam
Related (but log is different): https://github.com/microsoft/vscode-remote-release/issues/6340
- VSCode Version: 1.67.2
- Local OS Version: Windows
- Remote OS Version:
$ uname -a
Linux magic 5.3.18-150200.24.112-preempt #1 SMP PREEMPT Wed Apr 6 12:31:53 UTC 2022 (faf9825) x86_64 x86_64 x86_64 GNU/Linux
- Remote Extension/Connection Type: SSH
- Logs: (See below)
Steps to Reproduce:
Not easily reproduced. I see it from time to time. This is typically what causes the problem:
- On remote server, manually killed all my VSCode processes
- On my local PC, close all VSCode instances
- Attempt to open connection to remote-server (by right-clicking toolbar icon, select workspace from
Recent folders
) - VSC displays «Initializing server» (or similar message)
- Connection fails indicating:
cannot not find module 'minimist'
Recovering from this situation is not easy. After many attempts, it eventually recovers, but it might take 30+ minutes of trying different things. Here is what I do:
- On my local PC, run the command «Kill VSCode Server on Host…» and wait for the pop-up message
- On remote server, check and kill all remaining vscode processes
- Close all VSCode instances on my PC and re-open them
- Try closing and restarting things in different orders
- Eventually, something works and the server starts.
- Start a local VSC instance, open a local TERMINAL, ssh to the server. In another VSC instance connect to remote server (it worked after I did this, though it may have been a coincidence or a combination of things I tried previously).
Since I can eventually get the server to start, it’s a mystery why it cannot find module minimist
in the prior attempts. Is this a clue as to the cause?
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: Haven’t tried that yet.
Remote — SSH Output
[07:58:13.091] Log Level: 2
[07:58:13.094] remote-ssh@0.80.0
[07:58:13.094] win32 x64
[07:58:13.136] SSH Resolver called for "ssh-remote+magic", attempt 1
[07:58:13.136] "remote.SSH.useLocalServer": false
[07:58:13.137] "remote.SSH.showLoginTerminal": false
[07:58:13.137] "remote.SSH.remotePlatform": {"5":"linux","6":"linux","7":"linux","8":"linux","9":"linux","10":"linux","11":"linux","12":"linux","13":"linux","14":"linux","s33":"linux","ilby":"linux","cross":"linux","fos":"linux","z10":"linux","magic":"linux","z3":"linux"}
[07:58:13.137] "remote.SSH.path": undefined
[07:58:13.137] "remote.SSH.configFile": undefined
[07:58:13.137] "remote.SSH.useFlock": true
[07:58:13.137] "remote.SSH.lockfilesInTmp": false
[07:58:13.138] "remote.SSH.localServerDownload": auto
[07:58:13.138] "remote.SSH.remoteServerListenOnSocket": false
[07:58:13.138] "remote.SSH.showLoginTerminal": false
[07:58:13.138] "remote.SSH.defaultExtensions": []
[07:58:13.138] "remote.SSH.loglevel": 2
[07:58:13.138] "remote.SSH.enableDynamicForwarding": true
[07:58:13.138] "remote.SSH.enableRemoteCommand": false
[07:58:13.138] "remote.SSH.serverPickPortsFromRange": {}
[07:58:13.140] "remote.SSH.serverInstallPath": {"5":"/store","6":"/store","7":"/store","8":"/store","9":"/store","10":"/store","11":"/store","12":"/store","13":"/store","14":"/store","s1":"/store","s2":"/store","s3":"/store","s4":"/store","s5":"/store","s6":"/store","s7":"/store","s8":"/store","s9":"/store","s10":"/store","s11":"/store","s12":"/store","s13":"/store","s14":"/store","s15":"/store","s16":"/store","s17":"/store","s18":"/store","s19":"/store","s20":"/store","s21":"/store","s22":"/store","s23":"/store","s24":"/store","s25":"/store","s26":"/store","s27":"/store","s28":"/store","s29":"/store","s30":"/store","s31":"/store","s32":"/store","s33":"/store","s34":"/store","s35":"/store","s36":"/store","s37":"/store","s38":"/store","s39":"/store","s40":"/store","s41":"/store","s42":"/store","s43":"/store","s44":"/store","s45":"/store","s46":"/store","s47":"/store","s48":"/store","s49":"/store"}
[07:58:13.158] SSH Resolver called for host: magic
[07:58:13.158] Setting up SSH remote "magic"
[07:58:13.167] Using commit id "c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5" and quality "stable" for server
[07:58:13.175] Install and start server if needed
[07:58:13.188] Checking ssh with "ssh -V"
[07:58:13.272] > OpenSSH_9.0p1, OpenSSL 1.1.1o 3 May 2022
[07:58:13.289] Running script with connection command: ssh -T -D 54035 magic bash
[07:58:13.293] Terminal shell path: C:WINDOWSSystem32cmd.exe
[07:58:19.056] > eb663fe337e6: running
> ]0;C:WINDOWSSystem32cmd.exe
[07:58:19.056] Got some output, clearing connection timeout
[07:58:19.068] > Acquiring lock on /home/username/.vscode-server/bin/c3511e6c69bb39013c4a4b7b95
> 66ec1ca73fc4d5/vscode-remote-lock.username.c3511e6c69bb39013c4a4b7b9566ec1ca73
> fc4d5
[07:58:19.141] > Found existing installation at /home/username/.vscode-server/bin/c3511e6c69bb3
> 9013c4a4b7b9566ec1ca73fc4d5...
> Checking /home/username/.vscode-server/.c3511e6c69bb39013c4a4b7b9566ec1ca73fc4
> d5.log and /home/username/.vscode-server/.c3511e6c69bb39013c4a4b7b9566ec1ca73f
> c4d5.pid for a running server
[07:58:19.154] > Looking for server with pid: 71086
[07:58:19.167] > Starting server with command... /home/username/.vscode-server/bin/c3511e6c69bb
> 39013c4a4b7b9566ec1ca73fc4d5/bin/code-server --start-server --host=127.0.0.1 --a
> ccept-server-license-terms --enable-remote-auto-shutdown --port=0 --telemetry-le
> vel all &> "/home/username/.vscode-server/.c3511e6c69bb39013c4a4b7b9566ec1ca
> 73fc4d5.log" < /dev/null
> printenv:
> GLASSFISH_BIN=/home/username/distros/glassfish4/bin
> HOSTTYPE=x86_64
> DEFDEVDIR=h3/h3-mfw
> SSH_CONNECTION=16.99.178.28 54039 10.234.84.130 22
> LESSCLOSE=lessclose.sh %s %s
> XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
> LANG=en_US.UTF-8
> WINDOWMANAGER=/usr/bin/gnome
> LESS=-M -I -R
> JAVA_ROOT=/usr/lib64/jvm/jre-1.8.0-ibm
> HOSTNAME=magic
> PYENV_ROOT=/home/username/.pyenv
> GWROOT=/work/username/s.gw
> CSHEDIT=emacs
> AUDIODRIVER=pulseaudio
> GPG_TTY=not a tty
> LESS_ADVANCED_PREPROCESSOR=no
> COLORTERM=1
> PYENV_VIRTUALENV_INIT=1
> GWBMC=/work/username/s.gw/uv400/bmc
> JAVA_HOME=/home/username/distros/jdk1.8.0_102
> ALSA_CONFIG_PATH=/etc/alsa-pulse.conf
> MACHTYPE=x86_64-suse-linux
> DEVROOT=/work/username
> QEMU_AUDIO_DRV=pa
> MINICOM=-c on
[07:58:19.177] >
> CLONEDIR=s.clone
> GWCMC=/work/username/s.gw/uv2/cmc
> QT_SYSTEM_DIR=/usr/share/desktop-data
> OSTYPE=linux
> GLASSFISH_BASE=/home/username/distros/glassfish4
> XDG_SESSION_ID=1869
> USER=username
> PAGER=less
> MODULE_VERSION=3.2.10
> MORE=-sl
> PWD=/home/username
> HOME=/home/username
> HOST=magic
> SSH_CLIENT=16.99.178.28 54039 22
> PYENV_VERSION=3.8.5
> CLONERMC=/work/username/s.clone/uv2/cmc
> XNLSPATH=/usr/share/X11/nls
> CLONEBMC=/work/username/s.clone/uv400/bmc
> https_proxy=http://proxy:8080
> XDG_DATA_DIRS=/home/username/.local/share/flatpak/exports/share:/var/lib/f
> latpak/exports/share:/usr/local/share:/usr/share
> http_proxy=http://proxy:8080
> LIBGL_DEBUG=quiet
> PROFILEREAD=true
> GWRMC=/work/username/s.gw/uv2/cmc
> LOADEDMODULES=
> no_proxy=localhost, 127.0.0.1
> OPENGROK_CONFIGURATION=/home/username/opengrok/etc/opengrok-env.sh
> NO_PROXY=localhost, 127.0.0.1
> FROM_HEADER=
> MAIL=/var/spool/mail/username
> SOCKS_PROXY=
> CLONECMC=/work/username/s.clone/uv2/cmc
[07:58:19.178] >
> LESSKEY=/etc/lesskey.bin
> SHELL=/bin/bash
> JAVA=/home/username/distros/jdk1.8.0_102/bin/java
> socks_proxy=
> XCURSOR_THEME=DMZ
> GWDIR=s.gw
> PYTHONSTARTUP=/etc/pythonstart
> SHLVL=2
> PYENV_SHELL=bash
> G_FILENAME_ENCODING=@locale,UTF-8,ISO-8859-15,CP1252
> MANPATH=/usr/local/man:/usr/share/man
> SOCKS5_SERVER=
> VSCODE_AGENT_FOLDER=/home/username/.vscode-server
> gopher_proxy=
> MODULEPATH=/usr/share/modules:/usr/share/Modules/$MODULE_VERSION/modulefiles
> :/usr/share/modules/modulefiles
> SHOST=magic
> LOGNAME=username
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/135011636/bus
> XDG_RUNTIME_DIR=/run/user/135011636
> MODULE_VERSION_STACK=3.2.10
> JRE_HOME=/usr/lib64/jvm/jre
> XDG_CONFIG_DIRS=/etc/xdg
> PATH=/home/username/.pyenv/plugins/pyenv-virtualenv/shims:/home/username
> /.pyenv/shims:/home/username/.pyenv/bin:/home/username/.local/bin:/home/mugg
> eridge/bin:/usr/local/bin:/usr/bin:/bin:/users/mfwdev/bin:/opt/udock/bin
> JAVA_BINDIR=/usr/lib64/jvm/jre-1.8.0-ibm/bin
> SDL_AUDIODRIVER=pulse
> CLONEROOT=/work/username/s.clone
> MODULESHOME=/usr/share/Modules/3.2.10
> G_BROKEN_FILENAMES=1
> HISTSIZE=1000
> ftp_proxy=http://proxy:8080
> CPU=x86_64
> CVS_RSH=ssh
> LESSOPEN=lessopen.sh %s
> BASH_FUNC_module%%=() { eval `/usr/share/Modules/$MODULE_VERSION/bin/module
> cmd bash $*`
> }
> BASH_FUNC_cpuhog%%=() { ps -eo pcpu,pid,user,args | sort -k 1 -gr | head -2
> 1
> }
> _=/usr/bin/printenv
> Removing old logfile at /home/username/.vscode-server/.c3511e6c69bb39013c4a4b7
> b9566ec1ca73fc4d5.log
> Spawned remote server: 72800
[07:58:19.201] >
[07:58:19.334] > Waiting for server log...
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
> Waiting for server log...
[07:58:19.342] > Waiting for server log...
[07:58:19.375] > Waiting for server log...
[07:58:19.415] > Waiting for server log...
[07:58:19.459] > Waiting for server log...
[07:58:19.473] > Waiting for server log...
[07:58:19.484] >
[07:58:19.504] > Waiting for server log...
[07:58:19.548] > Waiting for server log...
[07:58:19.580] > Waiting for server log...
[07:58:19.605] > Waiting for server log...
[07:58:19.618] >
[07:58:19.636] > Waiting for server log...
[07:58:19.699] > Waiting for server log...
> Waiting for server log...
[07:58:19.711] >
[07:58:19.764] > Waiting for server log...
[07:58:19.779] > Waiting for server log...
[07:58:19.785] >
[07:58:19.802] > Waiting for server log...
[07:58:19.832] > Waiting for server log...
[07:58:19.875] > Waiting for server log...
[07:58:19.897] > Waiting for server log...
[07:58:19.932] > Waiting for server log...
[07:58:19.969] > Waiting for server log...
[07:58:19.997] > Waiting for server log...
[07:58:20.006] >
[07:58:20.030] > Waiting for server log...
[07:58:20.061] > Waiting for server log...
[07:58:20.092] > Waiting for server log...
[07:58:20.124] > Waiting for server log...
[07:58:20.159] > Waiting for server log...
[07:58:20.193] > Waiting for server log...
[07:58:20.225] > Waiting for server log...
[07:58:20.256] > Waiting for server log...
[07:58:20.288] > Waiting for server log...
[07:58:20.323] > Waiting for server log...
[07:58:20.352] > Waiting for server log...
[07:58:20.410] > Waiting for server log...
[07:58:20.420] > Waiting for server log...
[07:58:20.426] >
[07:58:20.455] > Waiting for server log...
[07:58:20.488] > Waiting for server log...
[07:58:20.520] > Waiting for server log...
[07:58:20.550] > Waiting for server log...
[07:58:20.585] > Waiting for server log...
[07:58:20.615] > Waiting for server log...
[07:58:20.648] > Waiting for server log...
[07:58:20.680] > Waiting for server log...
[07:58:20.714] > Waiting for server log...
[07:58:20.719] >
[07:58:20.746] > Waiting for server log...
[07:58:20.778] > Waiting for server log...
[07:58:20.812] > Waiting for server log...
[07:58:20.843] > Waiting for server log...
[07:58:20.875] > Waiting for server log...
[07:58:20.910] > Waiting for server log...
[07:58:20.943] > Waiting for server log...
[07:58:20.972] > Waiting for server log...
[07:58:21.008] > Waiting for server log...
[07:58:21.043] > Waiting for server log...
[07:58:21.071] > Waiting for server log...
[07:58:21.079] >
[07:58:21.106] > Waiting for server log...
[07:58:21.137] > Waiting for server log...
[07:58:21.169] > Waiting for server log...
[07:58:21.201] > Waiting for server log...
[07:58:21.236] > Waiting for server log...
[07:58:21.267] > Waiting for server log...
[07:58:21.300] > Waiting for server log...
[07:58:21.335] > Waiting for server log...
[07:58:21.364] > Waiting for server log...
[07:58:21.399] > Waiting for server log...
[07:58:21.432] > Waiting for server log...
[07:58:21.463] > Waiting for server log...
[07:58:21.495] > Waiting for server log...
[07:58:21.529] > Waiting for server log...
[07:58:21.575] > Waiting for server log...
[07:58:21.632] > Waiting for server log...
> Waiting for server log...
[07:58:21.731] > Waiting for server log...
> Waiting for server log...
[07:58:21.738] > Waiting for server log...
[07:58:21.798] > Waiting for server log...
[07:58:21.805] > Waiting for server log...
[07:58:21.861] > Waiting for server log...
> Waiting for server log...
[07:58:21.871] >
[07:58:21.907] > Waiting for server log...
[07:58:21.949] > Waiting for server log...
[07:58:21.956] > Waiting for server log...
[07:58:22.006] > Waiting for server log...
[07:58:22.049] > Waiting for server log...
[07:58:22.055] > Waiting for server log...
[07:58:22.084] > Waiting for server log...
[07:58:22.163] > Waiting for server log...
> Waiting for server log...
[07:58:22.190] >
> Waiting for server log...
[07:58:22.196] >
[07:58:22.224] > Waiting for server log...
[07:58:22.264] > Waiting for server log...
[07:58:22.301] > Waiting for server log...
[07:58:22.333] > Waiting for server log...
[07:58:22.388] > Waiting for server log...
[07:58:22.400] > Waiting for server log...
[07:58:22.431] > Waiting for server log...
[07:58:22.462] > Waiting for server log...
[07:58:22.498] > Waiting for server log...
[07:58:22.509] > Waiting for server log...
[07:58:22.556] > Waiting for server log...
[07:58:22.576] > Waiting for server log...
[07:58:22.633] > Waiting for server log...
[07:58:22.672] > Waiting for server log...
> Waiting for server log...
[07:58:22.679] >
[07:58:22.711] > Waiting for server log...
[07:58:22.751] > Waiting for server log...
[07:58:22.806] > Waiting for server log...
> Waiting for server log...
[07:58:22.812] >
[07:58:22.859] > Waiting for server log...
[07:58:22.866] > Waiting for server log...
[07:58:22.901] > Waiting for server log...
[07:58:22.935] > Waiting for server log...
[07:58:22.968] > Waiting for server log...
[07:58:23.001] > Waiting for server log...
[07:58:23.032] > Waiting for server log...
[07:58:23.063] > Waiting for server log...
[07:58:23.096] > Waiting for server log...
[07:58:23.129] > Waiting for server log...
[07:58:23.159] > Waiting for server log...
[07:58:23.194] > Waiting for server log...
[07:58:23.247] > Waiting for server log...
[07:58:23.262] > Waiting for server log...
[07:58:23.291] > Waiting for server log...
[07:58:23.326] > Waiting for server log...
[07:58:23.370] > Waiting for server log...
[07:58:23.396] > Waiting for server log...
[07:58:23.423] > Waiting for server log...
[07:58:23.454] > Waiting for server log...
[07:58:23.497] > Waiting for server log...
[07:58:23.526] > Waiting for server log...
[07:58:23.559] > Waiting for server log...
[07:58:23.590] > Waiting for server log...
[07:58:23.618] > Waiting for server log...
[07:58:23.653] > Waiting for server log...
[07:58:23.684] > Waiting for server log...
[07:58:23.717] > Waiting for server log...
[07:58:23.749] > Waiting for server log...
[07:58:23.792] > Waiting for server log...
[07:58:23.824] > Waiting for server log...
[07:58:23.852] > Waiting for server log...
[07:58:23.882] > Waiting for server log...
[07:58:23.911] > Waiting for server log...
[07:58:23.945] > Waiting for server log...
[07:58:23.978] > Waiting for server log...
[07:58:24.009] > Waiting for server log...
[07:58:24.047] > Waiting for server log...
[07:58:24.096] > Waiting for server log...
[07:58:24.109] > Waiting for server log...
[07:58:24.142] > Waiting for server log...
[07:58:24.172] > Waiting for server log...
[07:58:24.208] > Waiting for server log...
[07:58:24.239] > Waiting for server log...
[07:58:24.271] > Waiting for server log...
[07:58:24.303] > Waiting for server log...
[07:58:24.337] > Waiting for server log...
[07:58:24.370] > Waiting for server log...
[07:58:24.404] > Waiting for server log...
[07:58:24.437] > Waiting for server log...
[07:58:24.468] > Waiting for server log...
[07:58:24.499] > Waiting for server log...
[07:58:24.535] > Waiting for server log...
[07:58:24.566] > Waiting for server log...
[07:58:24.597] > Waiting for server log...
[07:58:24.632] > Waiting for server log...
[07:58:24.663] > Waiting for server log...
[07:58:24.670] >
[07:58:24.695] > Waiting for server log...
[07:58:24.730] > Waiting for server log...
[07:58:24.760] > Waiting for server log...
[07:58:24.794] > Waiting for server log...
[07:58:24.828] > Waiting for server log...
[07:58:24.858] > Waiting for server log...
[07:58:24.894] > Waiting for server log...
[07:58:24.926] > Waiting for server log...
[07:58:24.957] > Waiting for server log...
[07:58:24.990] > Waiting for server log...
[07:58:25.022] > Waiting for server log...
[07:58:25.031] >
[07:58:25.056] > Waiting for server log...
[07:58:25.087] > Waiting for server log...
[07:58:25.122] > Waiting for server log...
[07:58:25.153] > Waiting for server log...
[07:58:25.187] > Waiting for server log...
[07:58:25.220] > Waiting for server log...
[07:58:25.250] > Waiting for server log...
[07:58:25.284] > Waiting for server log...
[07:58:25.318] > Waiting for server log...
[07:58:25.348] > Waiting for server log...
[07:58:25.383] > Waiting for server log...
[07:58:25.415] > Waiting for server log...
[07:58:25.448] > Waiting for server log...
[07:58:25.480] > Waiting for server log...
[07:58:25.514] > Waiting for server log...
[07:58:25.547] > Waiting for server log...
[07:58:25.578] > Waiting for server log...
[07:58:25.585] >
[07:58:25.611] > Waiting for server log...
[07:58:25.645] > Waiting for server log...
[07:58:25.678] > Waiting for server log...
[07:58:25.710] > Waiting for server log...
[07:58:25.743] > Waiting for server log...
[07:58:25.776] > Waiting for server log...
[07:58:25.808] > Waiting for server log...
[07:58:25.839] > Waiting for server log...
[07:58:25.872] > Waiting for server log...
[07:58:25.906] > Waiting for server log...
[07:58:25.940] > Waiting for server log...
[07:58:25.947] >
[07:58:25.972] > Waiting for server log...
[07:58:26.004] > Waiting for server log...
[07:58:26.037] > Waiting for server log...
[07:58:26.071] > Waiting for server log...
[07:58:26.102] > Waiting for server log...
[07:58:26.135] > Waiting for server log...
[07:58:26.168] > Waiting for server log...
[07:58:26.201] > Waiting for server log...
[07:58:26.233] > Waiting for server log...
[07:58:26.265] > Waiting for server log...
[07:58:26.299] > Waiting for server log...
[07:58:26.304] >
[07:58:26.332] > Waiting for server log...
[07:58:26.363] > Waiting for server log...
[07:58:26.395] > Waiting for server log...
[07:58:26.429] > Waiting for server log...
[07:58:26.462] > Waiting for server log...
[07:58:26.495] > Waiting for server log...
[07:58:26.529] > Waiting for server log...
[07:58:26.561] > Waiting for server log...
[07:58:26.593] > Waiting for server log...
[07:58:26.626] > Waiting for server log...
[07:58:26.657] > Waiting for server log...
[07:58:26.692] > Waiting for server log...
[07:58:26.725] > Waiting for server log...
[07:58:26.757] > Waiting for server log...
[07:58:26.791] > Waiting for server log...
[07:58:26.823] > Waiting for server log...
[07:58:26.854] > Waiting for server log...
[07:58:26.886] > Waiting for server log...
[07:58:26.920] > Waiting for server log...
[07:58:26.954] > Waiting for server log...
[07:58:26.990] > Waiting for server log...
[07:58:27.018] > Waiting for server log...
[07:58:27.050] > Waiting for server log...
[07:58:27.081] > Waiting for server log...
[07:58:27.117] >
> *
> * Reminder: You may only use this software with Visual Studio family products,
> * as described in the license (https://go.microsoft.com/fwlink/?linkid=2077057)
> *
>
> Server did not start successfully. Full server log at /home/username/.vscode-s
[07:58:27.121] >
> erver/.c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5.log >>>
> node:internal/modules/cjs/loader:933
> const err = new Error(message);
> ^
>
> Error: Cannot find module 'minimist'
> Require stack:
> - /home/username/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/o
> ut/server-main.js
> at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15
> )
> at Function.Module._load (node:internal/modules/cjs/loader:778:27)
> at Module.require (node:internal/modules/cjs/loader:1005:19)
> at require (node:internal/modules/cjs/helpers:102:18)
> at start (/home/username/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec
> 1ca73fc4d5/out/server-main.js:1:292)
> at Object.<anonymous> (/home/username/.vscode-server/bin/c3511e6c69bb39013
> c4a4b7b9566ec1ca73fc4d5/out/server-main.js:12:28)
> at Module._compile (node:internal/modules/cjs/loader:1101:14)
> at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
> at Module.load (node:internal/modules/cjs/loader:981:32)
> at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
> code: 'MODULE_NOT_FOUND',
> requireStack: [
> '/home/username/.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d
> 5/out/server-main.js'
> ]
> }
> <<< End of server log
> eb663fe337e6: start
> exitCode==32==
> listeningOn====
> osReleaseId==sles==
> arch==x86_64==
> tmpDir==/run/user/135011636==
> platform==linux==
> unpackResult====
[07:58:27.135] >
[07:58:27.179] > didLocalDownload==0==
> downloadTime====
> installTime====
> extInstallTime====
> serverStartTime==7951==
> eb663fe337e6: end
[07:58:27.180] Received install output:
exitCode==32==
listeningOn====
osReleaseId==sles==
arch==x86_64==
tmpDir==/run/user/135011636==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
extInstallTime====
serverStartTime==7951==
[07:58:27.180] Cannot find module 'minimist'
[07:58:27.181] Resolver error: Error: Cannot find module 'minimist'
at Function.ServerInstallError (c:Usersmuggerid.vscodeextensionsms-vscode-remote.remote-ssh-0.80.0outextension.js:1:585723)
at d (c:Usersmuggerid.vscodeextensionsms-vscode-remote.remote-ssh-0.80.0outextension.js:1:578198)
at Object.t.handleInstallOutput (c:Usersmuggerid.vscodeextensionsms-vscode-remote.remote-ssh-0.80.0outextension.js:1:582831)
at Object.t.tryInstall (c:Usersmuggerid.vscodeextensionsms-vscode-remote.remote-ssh-0.80.0outextension.js:1:681707)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async c:Usersmuggerid.vscodeextensionsms-vscode-remote.remote-ssh-0.80.0outextension.js:1:644347
at async Object.t.withShowDetailsEvent (c:Usersmuggerid.vscodeextensionsms-vscode-remote.remote-ssh-0.80.0outextension.js:1:647692)
at async Object.t.resolve (c:Usersmuggerid.vscodeextensionsms-vscode-remote.remote-ssh-0.80.0outextension.js:1:645426)
at async c:Usersmuggerid.vscodeextensionsms-vscode-remote.remote-ssh-0.80.0outextension.js:1:722509
[07:58:27.204] ------
[07:58:27.880] >
[07:58:28.494] "install" terminal command done
[07:58:28.494] Install terminal quit with output:
Comment
Chrmarti commented on 8 months ago
Chrmarti
@aeschil FYI, not sure if this might be an issue with the server.
Comment
Aeschli commented on 8 months ago
Aeschli
Maybe a corrupt server install? Please delete /home/username/.vscode-server/bin
on the remote machine, close all windows and try again.
LiveFreeAndRoam
If there were corruption, surely it would remain broken? As describes above, I can eventually get it working again.
It’s working now, so I don’t see any value in reinstalling everything from scratch.
Please advise with more detail if need be.
Comment
Aeschli commented on 8 months ago
Aeschli
This is quite a mystery to me. require('minimist')
is the first statement in our main file (.vscode-server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/out/server-main.js
) and ‘minimist’ should be found in server/bin/c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5/node_modules/minimist
which you say is there.
I know that the NODE_PATH
env variable could impact how node modules are found, but your log doesn’t show that variable being present.
LiveFreeAndRoam
This is a useful tip. If/When I see this again,I’ll post details of the minimist file and NODE_PATH variable. If there is anything else that I should collect, please let me know.
I’ll try to reproduce it by killing the server when I next have some spare time. For now, the server has been running continuously since I posted this issue.
Comment
Cassieyy commented on 4 months ago
Comment
Itnet7 commented on 4 months ago
Itnet7
Maybe a corrupt server install? Please delete
/home/username/.vscode-server/bin
on the remote machine, close all windows and try again.
In my particular case, my home was on an NFS space. I had tried to clean up some things and went to consolidate and cleanup the .vscode-server instance in bin/, when actually trying to remove them I was stopped by things being in use. I possibly had VScode opened somewhere and didn’t realize it. It probably got rid of the non-in-use files which basically in my case seemed like corruption. I looked at it again today, and followed your recommendation to remove the contents of bin, and this time they removed without any in use warnings. Now attempting to use the remote ssh works without complaint. Thank you!
Comment
Cassieyy commented on 4 months ago
LiveFreeAndRoam
Interesting. Mine home was also served by NFS. I haven’t seen this error in a long time. Maybe our NFS server has improved.
Akshay1-6180
this works for me sometimes , In the server delete “~/.vscode-server/“ folder and reconnect via vscode
Comment
Aeschli commented on 1 month ago
Aeschli
Is this still a problem? Is anyone seeing the Cannot find module 'minimist'
error message?
Comment
Aeschli commented on 1 month ago
Aeschli
Thanks! I’m closing the issue for now.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.