npm run dev
> @ dev /var/www/html
> npm run development
> @ development /var/www/html
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
sh: 1: cross-env: not found
npm ERR! Linux 5.0.0-29-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "development"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @ development script 'cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.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 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
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
npm ERR! Linux 5.0.0-29-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "dev"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! @ dev: `npm run development`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script 'npm run development'.
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 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run development
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
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 Сентября 2019, 07:53:49:
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
│ └── shebang-regex@1.0.0
└─┬ which@1.3.1
└── isexe@2.0.0
npm ERR! Linux 5.0.0-29-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "--global" "cross-env"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! path /usr/local/lib
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! { Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/html/npm-debug.log
---------- Добавлено 29.09.2019 в 04:47 ----------
npm install cross-env
/home/php
└─┬ cross-env@6.0.0
└─┬ cross-spawn@7.0.0
├── path-key@3.1.0
├─┬ shebang-command@1.2.0
│ └── shebang-regex@1.0.0
└─┬ which@1.3.1
└── isexe@2.0.0
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
/home/php
└─┬ cross-env@6.0.0
└─┬ cross-spawn@7.0.0
├── path-key@3.1.0
├─┬ shebang-command@1.2.0
│ └── shebang-regex@1.0.0
└─┬ which@1.3.1
└── isexe@2.0.0
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.