It was Jiangzi, I deleted the entire directory of vendor, and then I re-executed it.
composer install -o --prefer-dist && composer update -o --prefer-dist
, then the site will not run ... The error message is nothing more than
The file or directory to be published does not exist: /www/vendor/npm/bootstrap-markdown
Or
The file or directory to be published does not exist: /www/vendor/bower/jquery/dist
Sort of.
Note: Manually set up the corresponding directory with no OVA at all ... I've compared the new yii2
project, and vendor/bower/jquery
here's something.
Reply content:
It was Jiangzi, I deleted the entire directory of vendor, and then I re-executed it.
composer install -o --prefer-dist && composer update -o --prefer-dist
, then the site will not run ... The error message is nothing more than
The file or directory to be published does not exist: /www/vendor/npm/bootstrap-markdown
Or
The file or directory to be published does not exist: /www/vendor/bower/jquery/dist
Sort of.
Note: Manually set up the corresponding directory with no OVA at all ... I've compared the new yii2
project, and vendor/bower/jquery
here's something.
The problem is resolved because the folder name is incorrect (composer is followed by a bower-asset
and, need to be renamed npm-asset
to bower
and npm
, then for each item to be made bower install
or npm install
not.)
Is it obvious that Bower and NPM depend on the success of the installation?
Are you sure the installation is complete?