Tassos icon

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

Tassos | PRO | 12/09/20 06:39:40 AM UTC | 0 ⭐ | 302 👁️ | Never ⏰ | []
text |

11.58 KB

|

None

|

0 👍

/

0 👎

root@snf-16199:/srv/simplesamlphp/simplesamlphp-1.19# php composer.phar install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 45 installs, 0 updates, 0 removals
  - Downloading composer/package-versions-deprecated (1.11.99.1)
  - Downloading myclabs/deep-copy (1.10.2)
  - Downloading phar-io/version (2.0.1)
  - Downloading phar-io/manifest (1.0.3)
  - Downloading phpdocumentor/reflection-common (2.1.0)
  - Downloading phpdocumentor/type-resolver (1.0.1)
  - Downloading sebastian/recursion-context (3.0.0)
  - Downloading sebastian/exporter (3.1.2)
  - Downloading sebastian/diff (3.0.2)
  - Downloading sebastian/comparator (3.0.2)
  - Downloading phpdocumentor/reflection-docblock (4.3.4)
  - Downloading doctrine/instantiator (1.4.0)
  - Downloading phpspec/prophecy (v1.10.3)
  - Downloading theseer/tokenizer (1.1.3)
  - Downloading sebastian/version (2.0.1)
  - Downloading sebastian/environment (4.2.3)
  - Downloading sebastian/code-unit-reverse-lookup (1.0.1)
  - Downloading phpunit/php-token-stream (3.1.1)
  - Downloading phpunit/php-file-iterator (2.0.2)
  - Downloading phpunit/php-code-coverage (6.1.4)
  - Downloading phpunit/php-timer (2.1.2)
  - Downloading sebastian/global-state (2.0.0)
  - Downloading sebastian/object-reflector (1.1.1)
  - Downloading sebastian/object-enumerator (3.0.3)
  - Downloading sebastian/resource-operations (2.0.1)
  - Downloading webmozart/path-util (2.3.0)
  - Downloading webmozart/glob (4.1.0)
  - Downloading openlss/lib-array2xml (1.0.0)
  - Downloading nikic/php-parser (v4.10.2)
  - Downloading netresearch/jsonmapper (v2.1.0)
  - Downloading felixfbecker/language-server-protocol (v1.5.0)
  - Downloading felixfbecker/advanced-json-rpc (v3.1.1)
  - Downloading dnoegel/php-xdg-base-dir (v0.1.1)
  - Downloading composer/xdebug-handler (1.4.5)
  - Downloading composer/semver (3.2.4)
  - Downloading amphp/amp (v2.5.1)
  - Downloading amphp/byte-stream (v1.8.0)
  - Downloading vimeo/psalm (3.18.2)
  - Downloading squizlabs/php_codesniffer (3.5.8)
  - Downloading symfony/http-client (v4.4.16)
  - Downloading sensiolabs/security-checker (v6.0.3)
  - Downloading phpunit/phpunit (7.5.20)
  - Downloading simplesamlphp/simplesamlphp-test-framework (v0.1.2)
  - Installing composer/package-versions-deprecated (1.11.99.1): Extracting archive
  - Installing mikey179/vfsstream (v1.6.8): Extracting archive
  - Installing myclabs/deep-copy (1.10.2): Extracting archive
  - Installing phar-io/version (2.0.1): Extracting archive
  - Installing phar-io/manifest (1.0.3): Extracting archive
  - Installing phpdocumentor/reflection-common (2.1.0): Extracting archive
  - Installing phpdocumentor/type-resolver (1.0.1): Extracting archive
  - Installing sebastian/recursion-context (3.0.0): Extracting archive
  - Installing sebastian/exporter (3.1.2): Extracting archive
  - Installing sebastian/diff (3.0.2): Extracting archive
  - Installing sebastian/comparator (3.0.2): Extracting archive
  - Installing phpdocumentor/reflection-docblock (4.3.4): Extracting archive
  - Installing doctrine/instantiator (1.4.0): Extracting archive
  - Installing phpspec/prophecy (v1.10.3): Extracting archive
  - Installing theseer/tokenizer (1.1.3): Extracting archive
  - Installing sebastian/version (2.0.1): Extracting archive
  - Installing sebastian/environment (4.2.3): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Extracting archive
  - Installing phpunit/php-token-stream (3.1.1): Extracting archive
  - Installing phpunit/php-text-template (1.2.1): Extracting archive
  - Installing phpunit/php-file-iterator (2.0.2): Extracting archive
  - Installing phpunit/php-code-coverage (6.1.4): Extracting archive
  - Installing phpunit/php-timer (2.1.2): Extracting archive
  - Installing sebastian/global-state (2.0.0): Extracting archive
  - Installing sebastian/object-reflector (1.1.1): Extracting archive
  - Installing sebastian/object-enumerator (3.0.3): Extracting archive
  - Installing sebastian/resource-operations (2.0.1): Extracting archive
  - Installing webmozart/path-util (2.3.0): Extracting archive
  - Installing webmozart/glob (4.1.0): Extracting archive
  - Installing openlss/lib-array2xml (1.0.0): Extracting archive
  - Installing nikic/php-parser (v4.10.2): Extracting archive
  - Installing netresearch/jsonmapper (v2.1.0): Extracting archive
  - Installing felixfbecker/language-server-protocol (v1.5.0): Extracting archive
  - Installing felixfbecker/advanced-json-rpc (v3.1.1): Extracting archive
  - Installing dnoegel/php-xdg-base-dir (v0.1.1): Extracting archive
  - Installing composer/xdebug-handler (1.4.5): Extracting archive
  - Installing composer/semver (3.2.4): Extracting archive
  - Installing amphp/amp (v2.5.1): Extracting archive
  - Installing amphp/byte-stream (v1.8.0): Extracting archive
  - Installing vimeo/psalm (3.18.2): Extracting archive
  - Installing squizlabs/php_codesniffer (3.5.8): Extracting archive
  - Installing symfony/http-client (v4.4.16): Extracting archive
  - Installing sensiolabs/security-checker (v6.0.3): Extracting archive
  - Installing phpunit/phpunit (7.5.20): Extracting archive
  - Installing simplesamlphp/simplesamlphp-test-framework (v0.1.2): Extracting archive
Package twig/extensions is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
37 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
    root@snf-16199:/srv/simplesamlphp/simplesamlphp-1.19# npm install
 > [email protected] install /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass
> node scripts/install.js
 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'
    at Object.mkdirSync (fs.js:987:3)
    at sync (/srv/simplesamlphp/simplesamlphp-1.19/node_modules/mkdirp/index.js:72:13)
    at Function.sync (/srv/simplesamlphp/simplesamlphp-1.19/node_modules/mkdirp/index.js:78:24)
    at checkAndDownloadBinary (/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/scripts/install.js:114:11)
    at Object.<anonymous> (/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/scripts/install.js:157:1)
    at Module._compile (internal/modules/cjs/loader.js:1063:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
    at Module.load (internal/modules/cjs/loader.js:928:32)
    at Function.Module._load (internal/modules/cjs/loader.js:769:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
  errno: -13,
  syscall: 'mkdir',
  code: 'EACCES',
  path: '/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/vendor'
}
 > [email protected] postinstall /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass
> node scripts/build.js
 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=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli   '/usr/bin/node',
gyp verb cli   '/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library='
gyp verb cli ]
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` succeeded python2 /usr/bin/python2
gyp verb check python version `/usr/bin/python2 -c "import sys; print "2.7.16
gyp verb check python version .%s.%s" % sys.version_info[:3];"` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 14.15.1
gyp verb command install [ '14.15.1' ]
gyp verb install input version string "14.15.1"
gyp verb install installing version: 14.15.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/14.15.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp"
gyp verb tmpdir == cwd automatically will remove dev files after to save disk space
gyp verb command install [ '--node_gyp_internal_noretry', '14.15.1' ]
gyp verb install input version string "14.15.1"
gyp verb install installing version: 14.15.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 14.15.1
gyp verb ensuring nodedir is created /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp/14.15.1
gyp WARN install got an error, rolling back install
gyp verb command remove [ '14.15.1' ]
gyp verb remove using node-gyp dir: /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp
gyp verb remove removing target version: 14.15.1
gyp verb remove removing development files for version: 14.15.1
gyp WARN install got an error, rolling back install
gyp verb command remove [ '14.15.1' ]
gyp verb remove using node-gyp dir: /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp
gyp verb remove removing target version: 14.15.1
gyp verb remove removing development files for version: 14.15.1
gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass/.node-gyp'
gyp ERR! System Linux 4.19.0-12-amd64
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="
gyp ERR! cwd /srv/simplesamlphp/simplesamlphp-1.19/node_modules/node-sass
gyp ERR! node -v v14.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
 npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
 npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-12-09T07_19_50_482Z-debug.log
   

Comments