- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
错误信息:
PHP User Error – yii\base\ErrorException Exception 'yii\base\InvalidArgumentException' with message 'The file or directory to be published does not exist: C:\myProject\vendor\bower/jquery/dist'
in C:\myProject\vendor\yiisoft\yii2\web\AssetManager.php:456
C:\Users\me\Desktop\test2>composer global info
Changed current directory to C:/Users/me/AppData/Roaming/Composer
codeception/codeception 2.0.16 BDD-style testing framework
codeception/specify 0.4.6 BDD code blocks for PHPUnit and Codeception
codeception/verify 0.4.0 BDD assertion library for PHPUnit
doctrine/instantiator 1.1.0 A small, lightweight utility to instantiate object...
facebook/webdriver v0.6.0 A php client for WebDriver
fxp/composer-asset-plugin v1.4.4 NPM/Bower Dependency Manager for Composer
guzzlehttp/guzzle 5.3.3 Guzzle is a PHP HTTP client library and framework ...
guzzlehttp/ringphp 1.1.1 Provides a simple API and specification that abstr...
guzzlehttp/streams 3.0.0 Provides a simple abstraction over streams of data
myclabs/deep-copy 1.8.1 Create deep copies (clones) of your objects
phpdocumentor/reflection-common 1.0.1 Common reflection classes used by phpdocumentor to...
phpdocumentor/reflection-docblock 4.3.0 With this component, a library can provide support...
phpdocumentor/type-resolver 0.4.0
phpspec/prophecy 1.8.0 Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage 2.2.4 Library that provides collection, processing, and ...
phpunit/php-file-iterator 1.4.5 FilterIterator implementation that filters files b...
phpunit/php-text-template 1.2.1 Simple template engine.
phpunit/php-timer 2.0.0 Utility class for timing
phpunit/php-token-stream 1.4.12 Wrapper around PHP's tokenizer extension.
phpunit/phpunit 4.7.7 The PHP Unit Testing framework.
phpunit/phpunit-mock-objects 2.3.8 Mock Object library for PHPUnit
psr/log 1.0.2 Common interface for logging libraries
react/promise v2.7.0 A lightweight implementation of CommonJS Promises/...
sebastian/comparator 1.2.4 Provides the functionality to compare PHP values f...
sebastian/diff 1.4.3 Diff implementation
sebastian/environment 1.3.8 Provides functionality to handle HHVM/PHP environm...
sebastian/exporter 1.2.2 Provides the functionality to export PHP variables...
sebastian/global-state 1.1.1 Snapshotting of global state
sebastian/recursion-context 1.0.5 Provides functionality to recursively process PHP ...
sebastian/version 1.0.6 Library that helps with managing the version numbe...
symfony/browser-kit v2.8.46 Symfony BrowserKit Component
symfony/console v2.8.46 Symfony Console Component
symfony/css-selector v2.8.46 Symfony CssSelector Component
symfony/debug v3.0.9 Symfony Debug Component
symfony/dom-crawler v2.8.46 Symfony DomCrawler Component
symfony/event-dispatcher v2.8.46 Symfony EventDispatcher Component
symfony/finder v2.8.46 Symfony Finder Component
symfony/polyfill-ctype v1.9.0 Symfony polyfill for ctype functions
symfony/polyfill-mbstring v1.9.0 Symfony polyfill for the Mbstring extension
symfony/yaml v2.8.46 Symfony Yaml Component
webmozart/assert 1.3.0 Assertions to validate method input/output with ni...
{
"name": "yiisoft/yii2-app-advanced",
"description": "Yii 2 Advanced Application Template",
"keywords": ["yii2", "framework", "advanced", "application template"],
"homepage": "http://www.yiiframework.com/",
"type": "project",
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/yii2/issues?state=open",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"source": "https://github.com/yiisoft/yii2"
},
"minimum-stability": "dev",
"require": {
"php": ">=7.1.0",
"yiisoft/yii2": "dev-master",
"yiisoft/yii2-bootstrap": "*",
"yiisoft/yii2-swiftmailer": "*",
"yiisoft/yii2-jui": "@dev",
"kartik-v/yii2-label-inplace": "*",
"kartik-v/yii2-widgets": "*",
"kartik-v/yii2-grid": "*",
"kartik-v/yii2-mpdf": "dev-master@dev",
"kartik-v/yii2-detail-view": "dev-master",
"kartik-v/yii2-password": "dev-master",
"himiklab/yii2-jqgrid-widget" : "@dev",
"dmstr/yii2-adminlte-asset": "2.*",
"philippfrenzel/yii2fullcalendar":"*",
"simplepie/simplepie": "dev-master",
"insolita/yii2-adminlte-widgets": "*",
"attybean/easyii": "dev-master",
"kartik-v/yii2-tabs-x": "*",
"kartik-v/yii2-builder": "dev-master",
"kartik-v/yii2-nav-x": "*",
"kartik-v/yii2-checkbox-x": "*",
"kartik-v/yii2-widget-select2": "@dev",
"wbraganca/yii2-dynamicform": "dev-master",
"nkovacs/yii2-datetimepicker": "*",
"kartik-v/yii2-editable": "*",
"wbraganca/yii2-fancytree-widget": "*",
"bower-asset/sweetalert": "1.1.*",
"bower-asset/sweetalert2": "*",
"kartik-v/yii2-tree-manager": "@dev",
"kartik-v/yii2-context-menu": "*",
"liyunfang/yii2-contextmenu": "*",
"kartik-v/yii2-export": "*",
"attybean/yii2-admin":"dev-master",
"kartik-v/yii2-dynagrid": "@dev",
"kartik-v/yii2-datecontrol": "dev-master",
"2amigos/yii2-multi-select-widget" : "*",
"firebase/php-jwt": "dev-master"
},
"require-dev": {
"yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*",
"yiisoft/yii2-faker": "*",
"codeception/base": "*",
"phpunit/phpunit": "*",
"codeception/verify": "*"
},
"extra": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
}
},
"config": {
"process-timeout": 1800,
"fxp-asset": {
"asset-installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
},
"installer-paths": {
"npm-asset-library": "vendor/npm",
"bower-asset-library": "vendor/bower"
},
"repositories": {
"bower-asset/eve": {
"type":"bower-vcs",
"url":"https://github.com/adobe-webplatform/eve.git"
}
}
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
最佳答案
您需要在配置中更改别名:
'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
],
关于php - Composer Yii2 Bower : The file or directory to be published does not exist: C:\myProject\vendor\bower/jquery/dist,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53116822/
我按照 Google Sign-in for iOS 上的所有说明进行操作使用CocoaPods(尽管我以前没有使用过CocoaPods,但仍然不明白它是什么),当我运行程序时,我收到此错误: bri
我目前正在使用 Android Studio 并尝试进行重建,但出现以下错误。 Gradle: FAILURE: Build failed with an exception. * What went
是否可以在同一域中的 2 个不同 url 上保持相同的 jsessionid? 示例: 我在我的网站 (http://MyProject.com) 的主页上。当我点击一个按钮时,我被重定向到“http
我已经多次看到这种包结构模式。最近,我浏览了 Last.fm Android 应用程序代码,想了解为什么有些代码在 fm.last.api 和 fm.last.api.impl 中。 https://
直到现在我在 jboss-4.2.2.GA 和 windows7 中运行 war 文件 在 server/default/deploye 中部署了 myproject.war 和 myproject-
我最近开始对 native 使用react,并遵循教程指南 2 选项一是通过“create-react-native-app myproject”创建项目,另一个是“react-native init
当我将代码从我的笔记本电脑移到我的 Mac Mini 并在那里打开它时,我收到以下错误消息: myProject is locked for editing and you may not be ab
我有一个包含文件 myproject.module 的 C 项目。它看起来像某种构建/制作文件。我想知道哪个工具链可以解释这个文件并构建项目。 文件看起来像这样: % comments look li
我正在使用 asp.net core 3.1 项目模板开发 Web API。没有编译错误。 这是我的代码详情: Program.cs public class Program { public
我不确定发生了什么,但现在我刚刚为我的 mvc 网站上传了一个新的 dll,并且收到以下错误 Parser Error Message: Could not load type 'MyProject.
我有一个文件夹,里面有我的工作 xcode 项目。但是,当我将整个文件夹复制并粘贴到其他位置,然后打开其中的 .xcodeproj 文件时,我收到一条错误消息,指出该项目不存在! 有谁知道为什么要这样
我正在尝试将图像添加到按钮(C# Winform、VS2010)。我已通过在 Resources.resx 文件中添加现有项目来添加资源。然后我将我的图像分配给按钮,一切都很好。当我运行我的程序时,我
我用 MonoDevelop 构建了一个简单的 ASP.NET MVC 2 项目,当它在 MonoDevelop 的调试服务器上运行时就可以了。 然后我在 http://go-mono.com/con
让我们考虑这样的目录结构: C:\Tests>tree /F C:. │ GreetingsUniverse.java │ └───planets Earth.java
如何在我的项目中设置一个 .npmrc 文件来定义我自己的私有(private)注册表?我不想在我的用户配置 .npmrc 中有这种配置。每个其他开发人员都应该能够只 git clone 项目并运行
我正在新服务器上安装以前构建的网站。我不是最初的开发者。 我过去曾使用 Gunicorn + nginx 来保持应用程序的运行(基本上遵循 this tutorial ),但在这里遇到了问题。 我 s
一旦我将资源添加到我的项目中,所有包含“Properties.Resources”的代码引用都被标记为错误,告诉我“命名空间‘MyProject 中不存在类型或命名空间名称‘Resources’。属性
我已按照 channel 2 教程进行操作,但在运行 py manage.py runserver 后出现此错误 File "C:\Users\Mach2\AppData\Local\Programs
从 Eclipse 升级到 Android Studio 后,我想更新我的 TouchDB 库,现在是 Coubasebase-lite-android .我从我的项目中删除了 TouchDB,通过文
我正在尝试重建 Hibernate 配置,但出现错误的编译器设置错误,请在下面找到我的应用程序配置和错误的屏幕截图: 最佳答案 问题是因为 Eclipse 运行在与我的项目中指定的 JVM 不同的 J
我是一名优秀的程序员,十分优秀!