Comments (7)
such as dashboard
from adminthemebundle.
2/2 FileLoaderLoadException: Cannot import resource "." from "D:/Bitnami/wampstack-5.4.26-2/apache2/htdocs/srd-last/app/cache/dev/assetic/routing.yml". (Unable to find file "@AvanzuAdminThemeBundle/Resources/public/vendor/jquery/dist/jquery.js".)
from adminthemebundle.
1/2 InvalidArgumentException: Unable to find file "@AvanzuAdminThemeBundle/Resources/public/vendor/jquery/dist/jquery.js".
from adminthemebundle.
when i loading twig template, above 2 errors occured what does it mean ?
from adminthemebundle.
To use the template, you just have to extend your view from the admin theme view and use blocks to set your project specific contents. just like described here
about the exception
did you app/console avanzu:admin:fetch-vendor
and app/console assets:install
?
Afterwards, there should be some directories in vendor/avanzu/admin-theme-bundle/Avanzu/AdminThemeBundle/Resources/public/vendor
namely the following:
- AdminLTE
- bootbox
- jquery
- momentjs
- backbone
- bootflat
- jquery-ui
- pickadate
- backbone.babysitter
- bootstrap
- marionette
- spinjs
- backbone.wreqr
- holderjs
- modernizr
- underscore
Without these scripts, the theme won't work.
from adminthemebundle.
though this issue is closed, even though I run above commands but I still get the exception, I am using 1.3 version.
I get this error when I execute the command app/console avanzu:admin:fetch-vendor
[Error] bower bootflat#* invalid-meta bootflat is missing "main" entry in bower.json
[Error] bower bootflat#* invalid-meta bootflat is missing "ignore" entry in bower.json
[Progress] bower bootflat#* resolved git://github.com/flathemes/bootflat.git#affdd96590
[Error] bower ECONFLICT Unable to find suitable version for underscore
from adminthemebundle.
The avanzu:admin:fetch-vendor
command fails, as there are inaccurate version numbers in the bower.json file, which results in a confilct for underscore.
@avanzu: Please do not just use *
as a version number for the dependencies. This will fail quite often. For underscore, you might use something like ~1.8
or similar.
@aftabnaveed: To get the bundle running, use the following:
cd vendor/avanzu/admin-theme-bundle/Resources/bower/
bower install
You should than be asked for the version number, you want to use. Just select the option with the largest version number (in my case, this was 6
).
from adminthemebundle.
Related Issues (20)
- Unable to find template "AvanzuAdminThemeBundle:layout:default-layout.html.twig" HOT 1
- An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "" as such route does not exist."). HOT 1
- Need an update of AdminLTE version HOT 7
- Documentation link about using layout for 1.3 doesn't work HOT 1
- Error 500 Unable to find base-layout.html.twig HOT 1
- Unable to use layout :( HOT 11
- How to add AdminThemeBundle without depending on bower?
- How to achieve multilevel menus? HOT 5
- bower Errors invalid-meta during fetching vendors HOT 4
- Unable to find class SetupKnpMenuListener ?
- [Executing] /usr/local/bin/bower install HOT 2
- getting error on vendor fetch command. HOT 1
- Command "avanzu:admin:initialize" is not defined. HOT 1
- Symfony doesn't found avanzu command HOT 5
- Error during bower install --all-root HOT 1
- Create sidebar menu xxBundle\Model\MenuItemModel contains 16 abstract methods and must therefore be declared abstract or ...
- Unable to fetch verndors
- Unable to find file "@AvanzuAdminThemeBundle/Resources/public/vendor/fullcalendar/dist/fullcalendar.min.js" HOT 5
- How to override twig file
- Not initialize HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adminthemebundle.