- Installing kylekatarnls/update-helper (1.2.0): Loading from cache
- Updating sebastian/resource-operations (1.0.0 => 2.0.1): Loading from cache
- Updating sebastian/environment (3.1.0 => 4.2.3): Loading from cache
- Updating sebastian/diff (2.0.1 => 3.0.2): Loading from cache
- Updating sebastian/comparator (2.1.3 => 3.0.2): Loading from cache
- Updating phpunit/php-timer (1.0.9 => 2.1.2): Loading from cache
- Updating phpunit/php-file-iterator (1.4.5 => 2.0.2): Loading from cache
- Updating phpunit/php-token-stream (2.0.2 => 3.1.1): Loading from cache
- Updating phpunit/php-code-coverage (5.3.2 => 6.1.4): Loading from cache
- Updating phar-io/version (1.0.1 => 2.0.1): Loading from cache
- Updating phar-io/manifest (1.0.1 => 1.0.3): Loading from cache
- Updating phpunit/phpunit (6.5.14 => 7.5.18): Loading from cache
- Installing vlucas/phpdotenv (v2.6.1): Loading from cache
- Updating symfony/css-selector (v4.4.2 => v5.0.2): Loading from cache
- Installing tijsverkoyen/css-to-inline-styles (2.2.2): Loading from cache
- Installing symfony/var-dumper (v4.4.2): Loading from cache
- Installing symfony/routing (v4.4.2): Loading from cache
- Installing symfony/process (v4.4.2): Loading from cache
- Installing psr/log (1.1.2): Loading from cache
- Installing symfony/mime (v5.0.2): Loading from cache
- Installing symfony/http-foundation (v4.4.2): Loading from cache
- Installing symfony/debug (v4.4.2): Loading from cache
- Installing symfony/error-handler (v4.4.2): Loading from cache
- Installing symfony/http-kernel (v4.4.2): Loading from cache
- Installing paragonie/random_compat (v9.99.99): Loading from cache
- Installing ramsey/uuid (3.9.2): Loading from cache
- Installing psr/simple-cache (1.0.1): Loading from cache
- Installing symfony/translation-contracts (v2.0.1): Loading from cache
- Installing symfony/translation (v4.4.2): Loading from cache
- Installing nesbot/carbon (1.39.1): Loading from cache
- Installing monolog/monolog (1.25.3): Loading from cache
- Installing league/flysystem (1.0.62): Loading from cache
- Installing erusev/parsedown (1.7.4): Loading from cache
- Installing dragonmantank/cron-expression (v2.3.0): Loading from cache
- Installing doctrine/inflector (1.3.1): Loading from cache
- Installing guzzlehttp/promises (v1.3.1): Loading from cache
- Installing guzzlehttp/guzzle (6.5.2): Loading from cache
- Installing laravel/slack-notification-channel (v1.0.3): Loading from cache
- Installing laravel/framework (v5.7.28): Loading from cache
- Installing lcobucci/jwt (3.3.1): Loading from cache
- Installing php-http/promise (v1.0.0): Loading from cache
- Installing php-http/httplug (v1.1.0): Loading from cache
- Installing php-http/guzzle6-adapter (v1.1.1): Loading from cache
- Installing psr/http-factory (1.0.1): Loading from cache
- Installing zendframework/zend-diactoros (2.2.1): Loading from cache
- Installing nexmo/client-core (1.8.1): Loading from cache
- Installing nexmo/client (1.9.1): Loading from cache
- Installing laravel/nexmo-notification-channel (v1.0.1): Loading from cache
- Installing fideloper/proxy (4.2.2): Loading from cache
- Installing jakub-onderka/php-console-color (v0.2): Loading from cache
- Installing jakub-onderka/php-console-highlighter (v0.4): Loading from cache
- Installing nikic/php-parser (v4.3.0): Loading from cache
- Installing dnoegel/php-xdg-base-dir (v0.1.1): Loading from cache
- Installing psy/psysh (v0.9.12): Loading from cache
- Installing laravel/tinker (v1.0.10): Loading from cache
- Installing beyondcode/laravel-dump-server (1.3.0): Loading from cache
- Installing hamcrest/hamcrest-php (v2.0.0): Loading from cache
- Installing mockery/mockery (1.3.1): Loading from cache
- Installing filp/whoops (2.7.0): Loading from cache
- Installing nunomaduro/collision (v2.1.1): Loading from cache
symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing paragonie/random-lib (Provides RandomLib for use with the RandomLibAdapter)
symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml ()
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for PHP 5 applications)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
guzzlehttp/guzzle suggests installing ext-intl (Required for Internationalized Domain Name (IDN) support)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver and SES mail driver (^3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (^2.6).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (^1.0).)
laravel/framework suggests installing league/flysystem-cached-adapter (Required to use the Flysystem cache (^1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (^1.0).)
laravel/framework suggests installing league/flysystem-sftp (Required to use the Flysystem SFTP driver (^1.0).)
laravel/framework suggests installing moontoast/math (Required to use ordered UUIDs (^1.1).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (^3.0|^4.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (^1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (^3.0).)
laravel/framework suggests installing symfony/dom-crawler (Required to use most of the crawler integration testing tools (^4.1).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required to psr7 bridging features (^1.0).)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
Writing lock file
Generating optimized autoload files
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: beyondcode/laravel-dump-server
Discovered Package: fideloper/proxy
Discovered Package: laravel/nexmo-notification-channel
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Package manifest generated successfully.
> Illuminate\Foundation\ComposerScripts::postUpdate
> @php artisan ide-helper:generate
There are no commands defined in the "ide-helper" namespace.
Script @php artisan ide-helper:generate handling the post-update-cmd event returned with error code 1---------- Добавлено 02.01.2020 в 14:50 ----------Package manifest generated successfully.
Script @php artisan ide-helper:generate handling the post-update-cmd event returned with error code 1
; content length - the content length of the request (only with POST);
; user - the user (PHP_AUTH_USER) (or '-' if not set);
; script - the main script called (or '-' if not set);
; last request cpu - the %cpu the last request consumed
; it's always 0 if the process is not in Idle state
; because CPU calculation is done when the request
; processing has terminated;
; last request memory - the max amount of memory the last request consumed
; because memory calculation is done when the request
; If the process is in Idle state, then informations are related to the
; last request the process has served. Otherwise informations are related to
; the current request being served.
; Example output:
; ************************
; pid: 31330
; state: Running
; start time: 01/Jul/2011:17:53:49 +0200
; start since: 63087
; requests: 12808
; request duration: 1250261
; request method: GET
; request URI: /test_mem.php?N=10000
; content length: 0
; user: -
; script: /home/fat/web/docs/php/test_mem.php
; last request cpu: 0.00
; last request memory: 0
;
; Note: There is a real-time FPM status monitoring sample web page available
; It's available in: /usr/share/php/7.2/fpm/status.html
; Note: The value must start with a leading slash (/). The value can be
; anything, but it may not be a good idea to use the .php extension or it
; may conflict with a real PHP file.
; Default Value: not set
;pm.status_path = /status
; The ping URI to call the monitoring page of FPM. If this value is not set, no
; URI will be recognized as a ping page. This could be used to test from outside
; that FPM is alive and responding, or to
; - create a graph of FPM availability (rrd or such);
; - remove a server from a group if it is not responding (load balancing);
; - trigger alerts for the operating team (24/7).
;ping.path = /ping
; This directive may be used to customize the response of a ping request. The
; response is formatted as text/plain with a 200 response code.
; Default Value: pong
;ping.response = pong
; The access log file
; Default: not set
;access.log = log/$pool.access.log
; The access log format.
; The following syntax is allowed
; %%: the '%' character
; %C: %CPU used by the request
; it can accept the following format:
; - %{user}C for user CPU only
; - %{system}C for system CPU only
; - %{total}C for user + system CPU (default)
; %d: time taken to serve the request
; - %{seconds}d (default)
; - %{miliseconds}d
; - %{mili}d
; - %{microseconds}d
; - %{micro}d
; %e: an environment variable (same as $_ENV or $_SERVER)
; it must be associated with embraces to specify the name of the env
; variable. Some exemples:
; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e
; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e
; %f: script filename
; %l: content-length of the request (for POST request only)
; %m: request method
; %M: peak of memory allocated by PHP
; - %{bytes}M (default)
; - %{kilobytes}M
; - %{kilo}M
; - %{megabytes}M
; - %{mega}M
; %n: pool name
; %o: output header
; it must be associated with embraces to specify the name of the header:
; - %{Content-Type}o
; - %{X-Powered-By}o
; - %{Transfert-Encoding}o
; - ....
; %p: PID of the child that serviced the request
; %P: PID of the parent of the child that serviced the request
; %q: the query string
; %Q: the '?' character if query string exists
; %r: the request URI (without the query string, see %q and %Q)
; %R: remote IP address
; %s: status (response code)
; %t: server time the request was received
; it can accept a strftime(3) format:
; %d/%b/%Y:%H:%M:%S %z (default)
; The strftime(3) format must be encapsuled in a %{<strftime_format>}t tag
; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t
; %T: time the log has been written (the request has finished)
; %u: remote user
; Default: "%R - %u %t \"%m %r\" %s"
;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%"
; The log file for slow requests
; Note: slowlog is mandatory if request_slowlog_timeout is set
;slowlog = log/$pool.log.slow
; The timeout for serving a single request after which a PHP backtrace will be
; dumped to the 'slowlog' file. A value of '0s' means 'off'.
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
; Default Value: 0
;request_slowlog_timeout = 0
; Depth of slow log stack trace.
; Default Value: 20
;request_slowlog_trace_depth = 20
; The timeout for serving a single request after which the worker process will
; be killed. This option should be used when the 'max_execution_time' ini option
; does not stop script execution for some reason. A value of '0' means 'off'.
;request_terminate_timeout = 0
; Set open file descriptor rlimit.
; Default Value: system defined value
;rlimit_files = 1024
; Set max core size rlimit.
; Possible Values: 'unlimited' or an integer greater or equal to 0
;rlimit_core = 0
; Chroot to this directory at the start. This value must be defined as an
; absolute path. When this value is not set, chroot is not used.
; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
; of its subdirectories. If the pool prefix is not set, the global prefix
; will be used instead.
; Note: chrooting is a great security feature and should be used whenever
; possible. However, all PHP paths will be relative to the chroot
; (error_log, sessions.save_path, ...).
;chroot =
; Chdir to this directory at the start.
; Note: relative path can be used.
; Default Value: current directory or / when chroot
;chdir = /var/www
; Redirect worker stdout and stderr into main error log. If not set, stdout and
; stderr will be redirected to /dev/null according to FastCGI specs.
; Note: on highloaded environement, this can cause some delay in the page
; process time (several ms).
; Default Value: no
;catch_workers_output = yes
; Clear environment in FPM workers
; Prevents arbitrary environment variables from reaching FPM worker processes
; by clearing the environment in workers before env vars specified in this
; pool configuration are added.
; Setting to "no" will make all environment variables available to PHP code
; via getenv(), $_ENV and $_SERVER.
; Default Value: yes
;clear_env = no
; Limits the extensions of the main script FPM will allow to parse. This can
; prevent configuration mistakes on the web server side. You should only limit
; FPM to .php extensions to prevent malicious users to use other extensions to
; execute php code.
; Note: set an empty value to allow all extensions.
; Default Value: .php
;security.limit_extensions = .php .php3 .php4 .php5 .php7
; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
; the current environment.
; Default Value: clean env
;env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin
;env[TMP] = /tmp
;env[TMPDIR] = /tmp
;env[TEMP] = /tmp
; Additional php.ini defines, specific to this pool of workers. These settings
; overwrite the values previously defined in the php.ini. The directives are the
; same as the PHP SAPI:
; php_value/php_flag - you can set classic ini defines which can
; be overwritten from PHP call 'ini_set'.
; php_admin_value/php_admin_flag - these directives won't be overwritten by
; PHP call 'ini_set'
; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
; Defining 'extension' will load the corresponding shared extension from
; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
; overwrite previously defined php.ini values, but will append the new value
; instead.
; Note: path INI options can be relative and will be expanded with the prefix
; (pool, global or /usr)
; Default Value: nothing is defined by default except the values in php.ini and
; specified at startup with the -d argument
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
;php_flag[display_errors] = off
;php_admin_value[error_log] = /var/log/fpm-php.www.log
;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M
$files = glob("./*.txt");
echo "$files";
( ! ) Notice: Array to string conversion in /var/www/php.xxx/1/arrays/foreach_ref.php on line 4
Call Stack
# Time Memory Function Location
1 0.0007 393600 {main}( ) .../foreach_ref.php:0
Array
unset($FNames); while ($f = '1.txt')
{ $info = pathinfo(DIR . $f);
if (isset($info['extension']) && $info['extension'] == 'txt')
$FNames[] = $f; }
( ! ) Warning: Use of undefined constant DIR - assumed 'DIR' (this will throw an Error in a future version of PHP) in /var/www/php.xxx/1/arrays/badplus.php on line 3
1 0.0005 394216 {main}( ) .../badplus.php:0
чтоб понять работу
npm install
npm WARN deprecated extract-text-webpack-plugin@3.0.2: Deprecated. Please use https://github.com/webpack-contrib/mini-css-extract-plugin
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated flatten@1.0.2: I wrote this module a very long time ago; you should use something else.
loadDep:ware → get ▄ ╢██████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN prefer global node-gyp@3.8.0 should be installed with -g
> node-sass@4.12.0 install /var/www/html/node_modules/node-sass
> node scripts/install.js
Cached binary found at /home/php/.npm/node-sass/4.12.0/linux-x64-57_binding.node
> core-js@2.6.9 postinstall /var/www/html/node_modules/core-js
> node scripts/postinstall || echo "ignore"
> uglifyjs-webpack-plugin@0.4.6 postinstall /var/www/html/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js
> node-sass@4.12.0 postinstall /var/www/html/node_modules/node-sass
> node scripts/build.js
Binary found at /var/www/html/node_modules/node-sass/vendor/linux-x64-57/binding.node
Testing binary
Binary is fine
> pngquant-bin@4.0.0 postinstall /var/www/html/node_modules/pngquant-bin
> node lib/install.js
⚠ The `/var/www/html/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly
⚠ pngquant pre-build test failed
ℹ compiling from source
✔ pngquant pre-build test passed successfully
✖ Error: pngquant failed to build, make sure that libpng-dev is installed
at Promise.all.then.arr (/var/www/html/node_modules/pngquant-bin/node_modules/bin-build/node_modules/execa/index.js:231:11)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
/var/www/html
├── autoprefixer@7.2.6 extraneous
├─┬ axios@0.16.2
│ ├─┬ follow-redirects@1.9.0
│ │ └─┬ debug@3.2.6
│ │ └── ms@2.1.2
│ └── is-buffer@1.1.6
├── babel-loader@7.1.5 extraneous
├── babel-plugin-transform-object-rest-spread@6.26.0 extraneous
├── babel-plugin-transform-runtime@6.23.0 extraneous
├── babel-preset-env@1.7.0 extraneous
├── bootstrap-sass@3.4.1
├── chokidar@1.7.0 extraneous
├── concatenate@0.0.2 extraneous
├─┬ cross-env@5.2.1
│ └─┬ cross-spawn@6.0.5
│ ├── semver@5.7.1
│ └─┬ which@1.3.1
│ └── isexe@2.0.0
├── css-loader@0.28.11 extraneous
├── dotenv@4.0.0 extraneous
├── dotenv-expand@4.2.0 extraneous
├── extract-text-webpack-plugin@3.0.2 extraneous
├── file-loader@0.11.2 extraneous
├── friendly-errors-webpack-plugin@1.7.0 extraneous
├── fs-extra@3.0.1 extraneous
├── html-loader@0.4.5 extraneous
├── imagemin@5.3.1 extraneous
├── imagemin-gifsicle@5.2.0 extraneous
├── imagemin-mozjpeg@7.0.0 extraneous
├── imagemin-optipng@5.2.1 extraneous
├── imagemin-svgo@6.0.0 extraneous
├── jquery@3.4.1
├── lodash@4.17.15
├── md5@2.2.1 extraneous
├── node-sass@4.12.0 extraneous
├── postcss-loader@2.1.6 extraneous
├── resolve-url-loader@2.3.2 extraneous
├── sass-loader@6.0.7 extraneous
├── style-loader@0.18.2 extraneous
├── uglifyjs-webpack-plugin@1.3.0 extraneous
├── vue@2.6.10
├── vue-loader@13.7.3 extraneous
├── vue-template-compiler@2.6.10 extraneous
├── webpack@3.12.0 extraneous
├── webpack-chunk-hash@0.4.0 extraneous
├── webpack-dev-server@2.11.5 extraneous
├── webpack-merge@4.2.2 extraneous
└── webpack-notifier@1.8.0 extraneous
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.2.9
npm WARN optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
npm WARN optional Skipping failed optional dependency /webpack-dev-server/chokidar/fsevents:
npm WARN ajv-keywords@3.4.1 requires a peer of ajv@^6.9.1 but none was installed.
npm ERR! Linux 5.0.0-29-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! pngquant-bin@4.0.0 postinstall: `node lib/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pngquant-bin@4.0.0 postinstall script 'node lib/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pngquant-bin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node lib/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs pngquant-bin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls pngquant-bin
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/html/npm-debug.log---------- Добавлено 29.09.2019 в 10:25 ----------npm install --save-dev cross-env
- is-windows@1.0.1 node_modules/is-windows
└─┬ cross-env@5.2.1
└─┬ cross-spawn@6.0.5
├── nice-try@1.0.5
└── semver@5.7.1
loadDep:ware → request ▀ ╢██████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
npm ERR! /var/www/html/npm-debug.log---------- Добавлено 29.09.2019 в 07:05 ----------npm install
npm WARN checkPermissions Missing write access to /var/www/html/node_modules
│ ├── nice-try@1.0.5
│ ├── path-key@2.0.1
│ └─┬ shebang-command@1.2.0
│ └── shebang-regex@1.0.0
├─┬ imagemin@5.3.1
│ ├─┬ globby@6.1.0
│ │ └── pify@2.3.0
│ └── pify@2.3.0
├─┬ imagemin-gifsicle@5.2.0
│ ├─┬ exec-buffer@3.2.0
│ │ └─┬ execa@0.7.0
│ │ └── cross-spawn@5.1.0
│ └─┬ gifsicle@3.0.4
│ └─┬ bin-build@2.2.0
│ ├─┬ archive-type@3.2.0
│ │ └── file-type@3.9.0
│ ├─┬ decompress@3.0.0
│ │ ├─┬ buffer-to-vinyl@1.1.0
│ │ │ └── file-type@3.9.0
│ │ ├─┬ decompress-tarbz2@3.1.0
│ │ │ └─┬ seek-bzip@1.0.5
│ │ │ └─┬ commander@2.8.1
│ │ │ └── graceful-readlink@1.0.1
│ │ └─┬ decompress-unzip@3.4.0
│ │ └─┬ yauzl@2.10.0
│ │ ├── buffer-crc32@0.2.13
│ │ └─┬ fd-slicer@1.1.0
│ │ └── pend@1.2.0
│ └─┬ download@4.4.3
│ ├─┬ filenamify@1.2.1
│ │ ├── strip-outer@1.0.1
│ │ └── trim-repeated@1.0.0
│ └─┬ got@5.7.1
│ ├── is-retry-allowed@1.2.0
│ ├── lowercase-keys@1.0.1
│ └── url-parse-lax@1.0.0
├─┬ imagemin-mozjpeg@7.0.0
│ └─┬ execa@0.8.0
│ ├── cross-spawn@5.1.0
│ ├── get-stream@3.0.0
│ ├── npm-run-path@2.0.2
│ └── strip-eof@1.0.0
├─┬ laravel-mix@1.7.2
│ ├─┬ img-loader@2.0.1
│ │ └─┬ imagemin-pngquant@5.1.0
│ │ ├── execa@0.10.0
│ │ └─┬ pngquant-bin@4.0.0
│ │ ├─┬ bin-build@3.0.0
│ │ │ ├─┬ decompress@4.2.0
│ │ │ │ ├── decompress-tar@4.1.1
│ │ │ │ ├─┬ decompress-tarbz2@4.1.1
│ │ │ │ │ ├── file-type@6.2.0
│ │ │ │ │ └─┬ unbzip2-stream@1.3.3
│ │ │ │ │ └── buffer@5.4.3
│ │ │ │ ├── decompress-targz@4.1.1
│ │ │ │ ├─┬ decompress-unzip@4.0.1
│ │ │ │ │ ├── file-type@3.9.0
│ │ │ │ │ └── get-stream@2.3.1
│ │ │ │ ├── pify@2.3.0
│ │ │ │ └─┬ strip-dirs@2.1.0
│ │ │ │ └── is-natural-number@4.0.1
│ │ │ ├─┬ download@6.2.5
│ │ │ │ ├─┬ caw@2.0.1
│ │ │ │ │ ├─┬ get-proxy@2.1.0
│ │ │ │ │ │ └─┬ npm-conf@1.1.3
│ │ │ │ │ │ └─┬ config-chain@1.1.12
│ │ │ │ │ │ └── proto-list@1.2.4
│ │ │ │ │ ├─┬ isurl@1.0.0
│ │ │ │ │ │ ├─┬ has-to-string-tag-x@1.4.1
│ │ │ │ │ │ │ └── has-symbol-support-x@1.4.2
│ │ │ │ │ │ └── is-object@1.0.1
│ │ │ │ │ ├── tunnel-agent@0.6.0
│ │ │ │ │ └── url-to-options@1.0.1
│ │ │ │ ├─┬ ext-name@5.0.0
│ │ │ │ │ ├── ext-list@2.2.2
│ │ │ │ │ └── sort-keys-length@1.0.1
│ │ │ │ ├── file-type@5.2.0
│ │ │ │ ├─┬ filenamify@2.1.0
│ │ │ │ │ └── filename-reserved-regex@2.0.0
│ │ │ │ ├── get-stream@3.0.0
│ │ │ │ ├─┬ got@7.1.0
│ │ │ │ │ ├─┬ decompress-response@3.3.0
│ │ │ │ │ │ └── mimic-response@1.0.1
│ │ │ │ │ ├── duplexer3@0.1.4
│ │ │ │ │ ├── get-stream@3.0.0
│ │ │ │ │ ├── p-cancelable@0.3.0
│ │ │ │ │ └── timed-out@4.0.1
│ │ │ │ ├─┬ p-event@1.3.0
│ │ │ │ │ └── p-timeout@1.2.1
│ │ │ │ └── pify@3.0.0
│ │ │ ├─┬ execa@0.7.0
│ │ │ │ ├── cross-spawn@5.1.0
│ │ │ │ └── get-stream@3.0.0
│ │ │ └─┬ p-map-series@1.0.0
│ │ │ └── p-reduce@1.0.0
│ │ └─┬ execa@0.10.0
│ │ ├── cross-spawn@6.0.5
│ │ └── get-stream@3.0.0
│ └─┬ yargs@8.0.2
│ └─┬ read-pkg-up@2.0.0
│ └─┬ read-pkg@2.0.0
│ └─┬ load-json-file@2.0.0
├─┬ node-sass@4.12.0
│ ├─┬ meow@3.7.0
│ │ └─┬ read-pkg-up@1.0.1
│ │ └─┬ read-pkg@1.1.0
│ │ ├─┬ load-json-file@1.1.0
│ │ │ └── pify@2.3.0
│ │ └─┬ path-type@1.1.0
│ └─┬ request@2.88.0
│ └── tunnel-agent@0.6.0
└─┬ sass-loader@6.0.7
└── pify@3.0.0
npm ERR! path /var/www/html/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/var/www/html/node_modules'
npm ERR! { Error: EACCES: permission denied, access '/var/www/html/node_modules'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/var/www/html/node_modules' }
npm ERR! Please try running this command again as root/Administrator.
npm ERR! /var/www/html/npm-debug.log
npm install сделал?
да---------- Добавлено 29.09.2019 в 04:45 ----------npm install --global cross-env
npm WARN checkPermissions Missing write access to /usr/local/lib
/usr/local/lib
└─┬ cross-env@6.0.0
└─┬ cross-spawn@7.0.0
├── path-key@3.1.0
├─┬ shebang-command@1.2.0
└─┬ which@1.3.1
└── isexe@2.0.0
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--global" "cross-env"
npm ERR! path /usr/local/lib
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! path: '/usr/local/lib' }
npm ERR! /var/www/html/npm-debug.log---------- Добавлено 29.09.2019 в 04:47 ----------npm install cross-env
/home/php
npm WARN enoent ENOENT: no such file or directory, open '/home/php/package.json'
npm WARN php No description
npm WARN php No repository field.
npm WARN php No README data
npm WARN php No license field.---------- Добавлено 29.09.2019 в 04:48 ----------npm install cross-env
npm WARN php No license field.
настройки сервера на компьютере
мне нужна помощь