Skip to content

Instantly share code, notes, and snippets.

version: '3.9'
### For passe a folder with data (workspace => angular)
x-services-volume:
&volume-back-front
type: bind
source: ./project_php/public/data
target: ${APP_CODE_PATH_CONTAINER_ANGULAR}/src/assets/data
x-services-keys:
security:
password_hashers:
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'native'
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
providers:
fetcher:
id: App\Http\Security\UserProvider
# npm install ng-recaptcha
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: restaurant@0.0.0
npm error Found: @angular/core@18.1.2
npm error node_modules/@angular/core
npm error peer @angular/core@">=18.0.1" from @abacritt/angularx-social-login@2.3.0
npm error node_modules/@abacritt/angularx-social-login
npm error @abacritt/angularx-social-login@"*" from the root project
✖ Failed to compile.
⠸ Generating browser application bundles (phase: building)...FATAL ERROR: v8::Object::GetCreationContextChecked No creation context available
----- Native stack trace -----
1: 0xe22fc9 node::OnFatalError(char const*, char const*) [ng serve --port 4202 --host=0.0.0.0 --disable-host-check]
2: 0x122b176 v8::Utils::ReportApiFailure(char const*, char const*) [ng serve --port 4202 --host=0.0.0.0 --disable-host-check]
3: 0x12405ac v8::Object::GetCreationContextChecked() [ng serve --port 4202 --host=0.0.0.0 --disable-host-check]
4: 0xf7d90c [ng serve --port 4202 --host=0.0.0.0 --disable-host-check]
5: 0x7f53b1e5e8f7
mysql_1 | 2024-06-29T23:22:48.249528Z 0 [Warning] [MY-013865] [InnoDB] Redo log writer is waiting for a new redo log file. Consider increasing innodb_redo_log_capacity.
mysql_1 | 2024-06-29T23:24:09.038504Z 0 [Warning] [MY-013865] [InnoDB] Redo log writer is waiting for a new redo log file. Consider increasing innodb_redo_log_capacity.
mysql_1 | 2024-06-29T23:28:13.875485Z 0 [Warning] [MY-013865] [InnoDB] Redo log writer is waiting for a new redo log file. Consider increasing innodb_redo_log_capacity.
mysql_1 | 2024-06-29T23:28:54.962570Z 0 [Warning] [MY-013865] [InnoDB] Redo log writer is waiting for a new redo log file. Consider increasing innodb_redo_log_capacity.
mysql_1 | 2024-06-29T23:31:35Z UTC - mysqld got signal 11 ;
mysql_1 | Most likely, you have hit a bug, but this error can also be caused by malfunctioning hardware.
mysql_1 | BuildID[sha1]=8076d
-- auto-generated definition
create table file
(
id char(36) not null
primary key,
node_id int unsigned not null,
name varchar(255) not null,
file_name varchar(255) not null,
lang varchar(255) null,
type varchar(255) not null,
public function __construct(private readonly EntityManagerInterface $entityManager)
{
}
public function load(ObjectManager $manager): void
{
// Bundle to manage file and directories
...
$query->setParameters($parameters);
return $query->getQuery()->getResult();
...
---------------- print_r($$qiery->getDQL(à): --------------
FROM node:18.17.0
# npm -v 10.4.0
# node -v v18.17.0
RUN mkdir /home/node/.npm-global
ENV PATH=/home/node/.npm-global/bin:$PATH
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV HOME=/home/node
class DeliveryMethod implements AggregateRoot
{
use EventsTrait;
use PropertiesDateUpdateCreateTrait;
#[ORM\Column(type: "delivery_method_id")]
#[ORM\Id]
private $id;