Tassos

[SSP simplesamlphp-1.19] node v14.15.1 + npm 6.14.8

Dec 9th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.58 KB | None | 0 0
  1. root@snf-16199:/srv/simplesamlphp/simplesamlphp-1.19# php composer.phar install
  2. Do not run Composer as root/super user! See https://getcomposer.org/root for details
  3. Continue as root/super user [yes]? yes
  4. Installing dependencies from lock file (including require-dev)
  5. Verifying lock file contents can be installed on current platform.
  6. Package operations: 45 installs, 0 updates, 0 removals
  7. - Downloading composer/package-versions-deprecated (1.11.99.1)
  8. - Downloading myclabs/deep-copy (1.10.2)
  9. - Downloading phar-io/version (2.0.1)
  10. - Downloading phar-io/manifest (1.0.3)
  11. - Downloading phpdocumentor/reflection-common (2.1.0)
  12. - Downloading phpdocumentor/type-resolver (1.0.1)
  13. - Downloading sebastian/recursion-context (3.0.0)
  14. - Downloading sebastian/exporter (3.1.2)
  15. - Downloading sebastian/diff (3.0.2)
  16. - Downloading sebastian/comparator (3.0.2)
  17. - Downloading phpdocumentor/reflection-docblock (4.3.4)
  18. - Downloading doctrine/instantiator (1.4.0)
  19. - Downloading phpspec/prophecy (v1.10.3)
  20. - Downloading theseer/tokenizer (1.1.3)
  21. - Downloading sebastian/version (2.0.1)
  22. - Downloading sebastian/environment (4.2.3)
  23. - Downloading sebastian/code-unit-reverse-lookup (1.0.1)
  24. - Downloading phpunit/php-token-stream (3.1.1)
  25. - Downloading phpunit/php-file-iterator (2.0.2)
  26. - Downloading phpunit/php-code-coverage (6.1.4)
  27. - Downloading phpunit/php-timer (2.1.2)
  28. - Downloading sebastian/global-state (2.0.0)
  29. - Downloading sebastian/object-reflector (1.1.1)
  30. - Downloading sebastian/object-enumerator (3.0.3)
  31. - Downloading sebastian/resource-operations (2.0.1)
  32. - Downloading webmozart/path-util (2.3.0)
  33. - Downloading webmozart/glob (4.1.0)
  34. - Downloading openlss/lib-array2xml (1.0.0)
  35. - Downloading nikic/php-parser (v4.10.2)
  36. - Downloading netresearch/jsonmapper (v2.1.0)
  37. - Downloading felixfbecker/language-server-protocol (v1.5.0)
  38. - Downloading felixfbecker/advanced-json-rpc (v3.1.1)
  39. - Downloading dnoegel/php-xdg-base-dir (v0.1.1)
  40. - Downloading composer/xdebug-handler (1.4.5)
  41. - Downloading composer/semver (3.2.4)
  42. - Downloading amphp/amp (v2.5.1)
  43. - Downloading amphp/byte-stream (v1.8.0)
  44. - Downloading vimeo/psalm (3.18.2)
  45. - Downloading squizlabs/php_codesniffer (3.5.8)
  46. - Downloading symfony/http-client (v4.4.16)
  47. - Downloading sensiolabs/security-checker (v6.0.3)
  48. - Downloading phpunit/phpunit (7.5.20)
  49. - Downloading simplesamlphp/simplesamlphp-test-framework (v0.1.2)
  50. - Installing composer/package-versions-deprecated (1.11.99.1): Extracting archive
  51. - Installing mikey179/vfsstream (v1.6.8): Extracting archive
  52. - Installing myclabs/deep-copy (1.10.2): Extracting archive
  53. - Installing phar-io/version (2.0.1): Extracting archive
  54. - Installing phar-io/manifest (1.0.3): Extracting archive
  55. - Installing phpdocumentor/reflection-common (2.1.0): Extracting archive
  56. - Installing phpdocumentor/type-resolver (1.0.1): Extracting archive
  57. - Installing sebastian/recursion-context (3.0.0): Extracting archive
  58. - Installing sebastian/exporter (3.1.2): Extracting archive
  59. - Installing sebastian/diff (3.0.2): Extracting archive
  60. - Installing sebastian/comparator (3.0.2): Extracting archive
  61. - Installing phpdocumentor/reflection-docblock (4.3.4): Extracting archive
  62. - Installing doctrine/instantiator (1.4.0): Extracting archive
  63. - Installing phpspec/prophecy (v1.10.3): Extracting archive
  64. - Installing theseer/tokenizer (1.1.3): Extracting archive
  65. - Installing sebastian/version (2.0.1): Extracting archive
  66. - Installing sebastian/environment (4.2.3): Extracting archive
  67. - Installing sebastian/code-unit-reverse-lookup (1.0.1): Extracting archive
  68. - Installing phpunit/php-token-stream (3.1.1): Extracting archive
  69. - Installing phpunit/php-text-template (1.2.1): Extracting archive
  70. - Installing phpunit/php-file-iterator (2.0.2): Extracting archive
  71. - Installing phpunit/php-code-coverage (6.1.4): Extracting archive
  72. - Installing phpunit/php-timer (2.1.2): Extracting archive
  73. - Installing sebastian/global-state (2.0.0): Extracting archive
  74. - Installing sebastian/object-reflector (1.1.1): Extracting archive
  75. - Installing sebastian/object-enumerator (3.0.3): Extracting archive
  76. - Installing sebastian/resource-operations (2.0.1): Extracting archive
  77. - Installing webmozart/path-util (2.3.0): Extracting archive
  78. - Installing webmozart/glob (4.1.0): Extracting archive
  79. - Installing openlss/lib-array2xml (1.0.0): Extracting archive
  80. - Installing nikic/php-parser (v4.10.2): Extracting archive
  81. - Installing netresearch/jsonmapper (v2.1.0): Extracting archive
  82. - Installing felixfbecker/language-server-protocol (v1.5.0): Extracting archive
  83. - Installing felixfbecker/advanced-json-rpc (v3.1.1): Extracting archive
  84. - Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive
  85. - Installing composer/xdebug-handler (1.4.5): Extracting archive
  86. - Installing composer/semver (3.2.4): Extracting archive
  87. - Installing amphp/amp (v2.5.1): Extracting archive
  88. - Installing amphp/byte-stream (v1.8.0): Extracting archive
  89. - Installing vimeo/psalm (3.18.2): Extracting archive
  90. - Installing squizlabs/php_codesniffer (3.5.8): Extracting archive
  91. - Installing symfony/http-client (v4.4.16): Extracting archive
  92. - Installing sensiolabs/security-checker (v6.0.3): Extracting archive
  93. - Installing phpunit/phpunit (7.5.20): Extracting archive
  94. - Installing simplesamlphp/simplesamlphp-test-framework (v0.1.2): Extracting archive
  95. Package twig/extensions is abandoned, you should avoid using it. No replacement was suggested.
  96. Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
  97. Generating autoload files
  98. composer/package-versions-deprecated: Generating version class...
  99. composer/package-versions-deprecated: ...done generating version class
  100. 37 packages you are using are looking for funding.
  101. Use the `composer fund` command to find out more!
  102.  
  103.  
  104.  
  105.  
  106. root@snf-16199:/srv/simplesamlphp/simplesamlphp-1.19# npm install
  107.  
  108. > [email protected] install /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass
  109. > node scripts/install.js
  110.  
  111. Unable to save binary /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/vendor/linux-x64-83 : Error: EACCES: permission denied, mkdir '/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/vendor'
  112. at Object.mkdirSync (fs.js:987:3)
  113. at sync (/srv/simplesamlphp/simplesamlphp-1.19/node_modules/mkdirp/index.js:72:13)
  114. at Function.sync (/srv/simplesamlphp/simplesamlphp-1.19/node_modules/mkdirp/index.js:78:24)
  115. at checkAndDownloadBinary (/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/scripts/install.js:114:11)
  116. at Object.<anonymous> (/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/scripts/install.js:157:1)
  117. at Module._compile (internal/modules/cjs/loader.js:1063:30)
  118. at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
  119. at Module.load (internal/modules/cjs/loader.js:928:32)
  120. at Function.Module._load (internal/modules/cjs/loader.js:769:14)
  121. at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
  122. errno: -13,
  123. syscall: 'mkdir',
  124. code: 'EACCES',
  125. path: '/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/vendor'
  126. }
  127.  
  128. > [email protected] postinstall /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass
  129. > node scripts/build.js
  130.  
  131. Building: /usr/bin/node /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
  132. gyp info it worked if it ends with ok
  133. gyp verb cli [
  134. gyp verb cli '/usr/bin/node',
  135. gyp verb cli '/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-gyp/bin/node-gyp.js',
  136. gyp verb cli 'rebuild',
  137. gyp verb cli '--verbose',
  138. gyp verb cli '--libsass_ext=',
  139. gyp verb cli '--libsass_cflags=',
  140. gyp verb cli '--libsass_ldflags=',
  141. gyp verb cli '--libsass_library='
  142. gyp verb cli ]
  143. gyp info using [email protected]
  144. gyp info using [email protected] | linux | x64
  145. gyp verb command rebuild []
  146. gyp verb command clean []
  147. gyp verb clean removing "build" directory
  148. gyp verb command configure []
  149. gyp verb check python checking for Python executable "python2" in the PATH
  150. gyp verb `which` succeeded python2 /usr/bin/python2
  151. gyp verb check python version `/usr/bin/python2 -c "import sys; print "2.7.16
  152. gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
  153. gyp verb get node dir no --target version specified, falling back to host node version: 14.15.1
  154. gyp verb command install [ '14.15.1' ]
  155. gyp verb install input version string "14.15.1"
  156. gyp verb install installing version: 14.15.1
  157. gyp verb install --ensure was passed, so won't reinstall if already installed
  158. gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/14.15.1"
  159. gyp WARN EACCES attempting to reinstall using temporary dev dir "/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp"
  160. gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
  161. gyp verb command install [ '--node_gyp_internal_noretry', '14.15.1' ]
  162. gyp verb install input version string "14.15.1"
  163. gyp verb install installing version: 14.15.1
  164. gyp verb install --ensure was passed, so won't reinstall if already installed
  165. gyp verb install version not already installed, continuing with install 14.15.1
  166. gyp verb ensuring nodedir is created /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp/14.15.1
  167. gyp WARN install got an error, rolling back install
  168. gyp verb command remove [ '14.15.1' ]
  169. gyp verb remove using node-gyp dir: /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp
  170. gyp verb remove removing target version: 14.15.1
  171. gyp verb remove removing development files for version: 14.15.1
  172. gyp WARN install got an error, rolling back install
  173. gyp verb command remove [ '14.15.1' ]
  174. gyp verb remove using node-gyp dir: /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp
  175. gyp verb remove removing target version: 14.15.1
  176. gyp verb remove removing development files for version: 14.15.1
  177. gyp ERR! configure error
  178. gyp ERR! stack Error: EACCES: permission denied, mkdir '/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp'
  179. gyp ERR! System Linux 4.19.0-12-amd64
  180. gyp ERR! command "/usr/bin/node" "/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  181. gyp ERR! cwd /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass
  182. gyp ERR! node -v v14.15.1
  183. gyp ERR! node-gyp -v v3.8.0
  184. gyp ERR! not ok
  185. Build failed with error code: 1
  186. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
  187. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  188. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
  189. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  190.  
  191. npm ERR! code ELIFECYCLE
  192. npm ERR! errno 1
  193. npm ERR! [email protected] postinstall: `node scripts/build.js`
  194. npm ERR! Exit status 1
  195. npm ERR!
  196. npm ERR! Failed at the [email protected] postinstall script.
  197. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  198.  
  199. npm ERR! A complete log of this run can be found in:
  200. npm ERR! /root/.npm/_logs/2020-12-09T07_19_50_482Z-debug.log
  201.  
  202.  
  203.  
Advertisement
Add Comment
Please, Sign In to add comment