Closed hayuns closed 5 years ago
I solved this problem by installing elasticsearch, now I just have an error from the last script docker-compose run --rm node yarn run webpack. the error: ERROR in multi babel-polyfill ./web/bundles/pimenrich/js/index.js Module not found: Error: Can't resolve '/srv/pim/web/bundles/pimenrich/js/index.js' in '/srv/pim' @ multi babel-polyfill ./web/bundles/pimenrich/js/index.js error Command failed with exit code 2. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@hayuns did you end up figuring this out?
HI, I need help to install pim-community-standart with docker. I'm following the installation guide here. I did these steps:
In the 'Mandatory folders' paragraph
I don't have composer folder into my 'docker' folder so I just created a new folder named 'composer'.
I don't have 'yarn-cache' folder so I created node and (inside it) year-cache folders.
I didn't update the compose file because my compose file looks like different. My compose file: docker-compose.yml.txt
I don't need run tests but I even that created the tmp > behat > screenshots folders.
I ran these commands: a. docker-compose pull b. docker-compose up -d
I change the database_host in parameter.yml from localhost to mysql.
I ran the pim-depencies scripts: a. docker-compose exec fpm php -d memory_limit=3G /usr/local/bin/composer update b. docker-compose run --rm node yarn install result: yarn install.txt
I ran the pim-depencies scripts: a. docker-compose exec fpm rm -rf var/cache/* b. docker-compose exec fpm bin/console --env=prod pim:install --force --symlink --clean Here the srcipt fails:
My error:
If I run the last command in the file : docker-compose run --rm node yarn run webpack-dev My error.txt
What is wrong? Did not I understand something? Do I need to change something? I also tried to change index_hosts in my parameters file and run again from the clean cache script.
Can you please help me?? My result on localhost:8080