Advertisement
settix

link

Feb 18th, 2021
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None
  1. Microsoft Windows [Version 6.3.9600]
  2. (c) 2013 Microsoft Corporation. All rights reserved.
  3.  
  4. C:\Users\SETIMBA>mvn openmrs-sdk:create-project -Dtype=owa-project
  5. [INFO] Scanning for projects...
  6. [INFO]
  7. [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
  8. [INFO] Building Maven Stub Project (No POM) 1
  9. [INFO] --------------------------------[ pom ]---------------------------------
  10. [INFO]
  11. [INFO] --- openmrs-sdk-maven-plugin:3.13.6:create-project (default-cli) @ standa
  12. lone-pom ---
  13.  
  14. The specified directory C:\Users\SETIMBA\SETIMBA is not empty.
  15.  
  16. Are you sure you want to create a new OWA project in it? [Y/n]: Y
  17.  
  18. Creating OWA project in C:\Users\SETIMBA\SETIMBA...
  19.  
  20.  
  21. Looking for node ^6.4.0 and npm ^3.10.3 (SDK default, which can be overwritten w
  22. ith nodeVesion and npmVersion arguments or by engines in package.json).
  23. Cannot run program "node": CreateProcess error=2, The system cannot find the fil
  24. e specified
  25. Cannot run program "npm.cmd": CreateProcess error=2, The system cannot find the
  26. file specified
  27. Cannot run program "node\node.exe": CreateProcess error=2, The system cannot fin
  28. d the file specified
  29. Cannot run program "node\npm.cmd": CreateProcess error=2, The system cannot find
  30. the file specified
  31. [INFO] Node v6.17.1 is already installed.
  32. [INFO] NPM 3.10.10 is already installed.
  33. [INFO] Running 'npm install -g yo generator-openmrs-owa --no-optional' in C:\Use
  34. rs\SETIMBA
  35. [WARNING] npm WARN deprecated generator-openmrs-owa@2.0.0: Package no longer sup
  36. ported. Please use the @openmrs/generator-openmrs-owa package.
  37. [WARNING] npm WARN deprecated request@2.88.2: request has been deprecated, see h
  38. ttps://github.com/request/request/issues/3142
  39. [WARNING] npm WARN deprecated har-validator@5.1.5: this library is no longer sup
  40. ported
  41. [WARNING] npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer req
  42. uires a build toolchain, use it instead
  43. [WARNING] npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resol
  44. ve-url#deprecated
  45. [WARNING] npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/u
  46. rix#deprecated
  47. [INFO] C:\Users\SETIMBA\SETIMBA\node\yo -> C:\Users\SETIMBA\SETIMBA\node\node_mo
  48. dules\yo\lib\cli.js
  49. [INFO] C:\Users\SETIMBA\SETIMBA\node\yo-complete -> C:\Users\SETIMBA\SETIMBA\nod
  50. e\node_modules\yo\lib\completion\index.js
  51. [INFO]
  52. [INFO] > core-js@3.8.3 postinstall C:\Users\SETIMBA\SETIMBA\node\node_modules\yo
  53. \node_modules\core-js
  54. [INFO] > node -e "try{require('./postinstall')}catch(e){}"
  55. [INFO]
  56. [INFO]
  57. [INFO] > ejs@2.7.4 postinstall C:\Users\SETIMBA\SETIMBA\node\node_modules\yo\nod
  58. e_modules\ejs
  59. [INFO] > node ./postinstall.js
  60. [INFO]
  61. [INFO]
  62. [INFO] > spawn-sync@1.0.15 postinstall C:\Users\SETIMBA\SETIMBA\node\node_module
  63. s\yo\node_modules\spawn-sync
  64. [INFO] > node postinstall
  65. [INFO]
  66. [INFO]
  67. [INFO] > yo@3.1.1 postinstall C:\Users\SETIMBA\SETIMBA\node\node_modules\yo
  68. [INFO] > yodoctor
  69. [INFO]
  70. [ERROR] C:\Users\SETIMBA\SETIMBA\node\node_modules\yo\node_modules\yeoman-doctor
  71. \lib\index.js:12
  72. [ERROR] (async () => {
  73. [ERROR] ^
  74. [ERROR]
  75. [ERROR] SyntaxError: Unexpected token (
  76. [ERROR] at createScript (vm.js:56:10)
  77. [ERROR] at Object.runInThisContext (vm.js:97:10)
  78. [ERROR] at Module._compile (module.js:549:28)
  79. [ERROR] at Object.Module._extensions..js (module.js:586:10)
  80. [ERROR] at Module.load (module.js:494:32)
  81. [ERROR] at tryModuleLoad (module.js:453:12)
  82. [ERROR] at Function.Module._load (module.js:445:3)
  83. [ERROR] at Module.require (module.js:504:17)
  84. [ERROR] at require (internal/module.js:20:19)
  85. [ERROR] at Object.<anonymous> (C:\Users\SETIMBA\SETIMBA\node\node_modules\yo
  86. \node_modules\yeoman-doctor\lib\cli.js:3:1)
  87. [INFO] C:\Users\SETIMBA\SETIMBA\node
  88. [INFO] `-- generator-openmrs-owa@2.0.0
  89. [INFO]
  90. [ERROR] npm ERR! Windows_NT 6.3.9600
  91. [ERROR] npm ERR! argv "C:\\Users\\SETIMBA\\SETIMBA\\node\\node.exe" "C:\\Users\\
  92. SETIMBA\\SETIMBA\\node\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo"
  93. "generator-openmrs-owa" "--no-optional"
  94. [ERROR] npm ERR! node v6.17.1
  95. [ERROR] npm ERR! npm v3.10.10
  96. [ERROR] npm ERR! code ELIFECYCLE
  97. [ERROR]
  98. [ERROR] npm ERR! yo@3.1.1 postinstall: `yodoctor`
  99. [ERROR] npm ERR! Exit status 1
  100. [ERROR] npm ERR!
  101. [ERROR] npm ERR! Failed at the yo@3.1.1 postinstall script 'yodoctor'.
  102. [ERROR] npm ERR! Make sure you have the latest version of node.js and npm instal
  103. led.
  104. [ERROR] npm ERR! If you do, this is most likely a problem with the yo package,
  105. [ERROR] npm ERR! not with npm itself.
  106. [ERROR] npm ERR! Tell the author that this fails on your system:
  107. [ERROR] npm ERR! yodoctor
  108. [ERROR] npm ERR! You can get information on how to open an issue for this projec
  109. t with:
  110. [ERROR] npm ERR! npm bugs yo
  111. [ERROR] npm ERR! Or if that isn't available, you can get their info via:
  112. [ERROR] npm ERR! npm owner ls yo
  113. [ERROR] npm ERR! There is likely additional logging output above.
  114. [ERROR]
  115. [ERROR] npm ERR! Please include the following file with any support request:
  116. [ERROR] npm ERR! C:\Users\SETIMBA\npm-debug.log
  117. [INFO] ------------------------------------------------------------------------
  118. [INFO] BUILD FAILURE
  119. [INFO] ------------------------------------------------------------------------
  120. [INFO] Total time: 18:10 min
  121. [INFO] Finished at: 2021-02-18T12:36:05+03:00
  122. [INFO] ------------------------------------------------------------------------
  123. [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugi
  124. n:3.13.6:create-project (default-cli) on project standalone-pom: Unable to execu
  125. te mojo: Failed to run task: 'npm install -g yo generator-openmrs-owa --no-optio
  126. nal' failed. (error code 1) -> [Help 1]
  127. [ERROR]
  128. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
  129. ch.
  130. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  131. [ERROR]
  132. [ERROR] For more information about the errors and possible solutions, please rea
  133. d the following articles:
  134. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
  135. xception
  136.  
  137. C:\Users\SETIMBA>
Advertisement
RAW Paste Data Copied
Advertisement