Skip to content

Instantly share code, notes, and snippets.

View wilpar's full-sized avatar
💭
I may be slow to respond.

wilpar

💭
I may be slow to respond.
View GitHub Profile
@wilpar
wilpar / gist:5093468
Created March 5, 2013 19:37
the error:
MappingException: No mapping file found named '/var/www/clients/client1/web30/web/src/RH/BB20Bundle/Resources/config/doctrine/User.orm.yml' for class 'RH\BB20Bundle\Entity\User'
in /var/www/clients/client1/web30/web/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php line 74
at MappingException::mappingFileNotFound('RH\BB20Bundle\Entity\User', '/var/www/clients/client1/web30/web/src/RH/BB20Bundle/Resources/config/doctrine/User.orm.yml') in /var/www/clients/client1/web30/web/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/SymfonyFileLocator.php line 209
at SymfonyFileLocator->findMappingFile('RH\BB20Bundle\Entity\User') in /var/www/clients/client1/web30/web/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/Driver/FileDriver.php line 112
at FileDriver->getElement('RH\BB20Bundle\Entity\User') in /var/www/clients/client1/web30/web/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php line 54
at YamlDriver->loadMetadataForClass('RH\BB
@wilpar
wilpar / firebase.json
Last active June 30, 2020 20:37 — forked from williamchong/firebase.json
Firebase config for Nuxt SSR app on Firebase Cloud Functions
{
"functions": {
"source": "functions",
"predeploy": [
"npm --prefix src run build && rm -rf functions/.nuxt && cp -r src/_nuxt/ functions/.nuxt/ && cp src/nuxt.config.js functions/"
]
},
"hosting": {
"predeploy": [
{
"name": "functions",
"description": "Cloud Functions for Firebase",
"engines": {
"node": "10"
},
"scripts": {
"lint": "./node_modules/.bin/eslint *.js"
},
"dependencies": {