Closed CypressJack closed 1 year ago
Not sure if you've encoutered this one @kaelansmith, it's saying it can only install ACF Pro using an interactive console.
I think for now I can remove the composer dep and install it once Wordpress is bootstrapped
Error:
│ - Downloading wpengine/advanced-custom-fields-pro (6.1.6) │ 0/25 [>---------------------------] 0% │ 4/25 [====>-----------------------] 16% │ 8/25 [========>-------------------] 32% │ 11/25 [============>---------------] 44% │ 19/25 [=====================>------] 76% │ 23/25 [=========================>--] 92% │ 25/25 [============================] 100% │ In AuthHelper.php line 197: │ │ The 'https://connect.advancedcustomfields.com/v2/plugins/composer_download? │ p=pro&t=6.1.6' URL required authentication (HTTP 401). │ You must be using the interactive console to authenticate
Full Console Error:
[main][~/dev/cloakwp]$ pnpm install Scope: all 6 workspace projects Downloading registry.npmjs.org/next/12.3.4: 6.51 MB/6.51 MB, done Downloading registry.npmjs.org/next/13.3.1: 10.4 MB/10.4 MB, done Downloading registry.npmjs.org/next/13.3.0: 10.6 MB/10.6 MB, done Downloading registry.npmjs.org/typescript/4.5.4: 11.3 MB/11.3 MB, done Downloading registry.npmjs.org/typescript/4.9.3: 11.6 MB/11.6 MB, done Packages: +1005 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /home/robot/.local/share/pnpm/store/v3 Virtual store is at: node_modules/.pnpm Downloading registry.npmjs.org/@next/swc-linux-x64-musl/12.3.4: 15.3 MB/15.3 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-gnu/12.3.4: 15.8 MB/15.8 MB, done Downloading registry.npmjs.org/turbo-linux-64/1.10.3: 19.2 MB/19.2 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-gnu/13.3.0: 34.7 MB/34.7 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-musl/13.3.0: 34.6 MB/34.6 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-musl/13.3.1: 37.3 MB/37.3 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-gnu/13.3.1: 37.4 MB/37.4 MB, done Progress: resolved 1027, reused 570, downloaded 426, added 1005, done node_modules/.pnpm/core-js-pure@3.26.1/node_modules/core-js-pure: Running postinstall script, done in 58ms node_modules/.pnpm/turbo@1.10.3/node_modules/turbo: Running postinstall script, done in 54ms wordpress/backend-starter postinstall$ docker-compose run composer create-project │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_ROOT_PASSWORD\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_HOST\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DOMAIN\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_ROOT_PASSWORD\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_USER\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_PASSWORD\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ Network backend-starter_default Creating │ Network backend-starter_default Created │ > php -r "copy('.env.example', '.env');" │ Installing dependencies from lock file (including require-dev) │ Verifying lock file contents can be installed on current platform. │ Package operations: 30 installs, 0 updates, 0 removals │ - Downloading composer/installers (v2.2.0) │ - Downloading roots/wordpress-core-installer (1.100.0) │ - Downloading johnbillion/args (1.7.2) │ - Downloading johnbillion/extended-cpts (5.0.3) │ - Downloading symfony/polyfill-ctype (v1.27.0) │ - Downloading oscarotero/env (v2.1.0) │ - Downloading roots/bedrock-autoloader (1.0.4) │ - Downloading roots/bedrock-disallow-indexing (2.0.0) │ - Downloading roots/wordpress-no-content (6.2.2) │ - Downloading roots/wp-config (1.0.0) │ - Downloading roots/wp-password-bcrypt (1.1.0) │ - Downloading squizlabs/php_codesniffer (3.7.2) │ - Downloading vinkla/extended-acf (13.4.0) │ - Downloading symfony/polyfill-php80 (v1.27.0) │ - Downloading symfony/polyfill-mbstring (v1.27.0) │ - Downloading phpoption/phpoption (1.9.1) │ - Downloading graham-campbell/result-type (v1.1.1) │ - Downloading vlucas/phpdotenv (v5.5.0) │ - Downloading wpackagist-plugin/acf-content-analysis-for-yoast-seo (3.1) │ - Downloading wpackagist-plugin/duplicate-post (4.5) │ - Downloading wpackagist-plugin/jwt-authentication-for-wp-rest-api (1.3.2) │ - Downloading wpackagist-plugin/post-2-post-for-acf (1.7.0) │ - Downloading wpackagist-plugin/wordpress-seo (20.8) │ - Downloading wpackagist-theme/twentytwentythree (1.1) │ - Downloading wpengine/advanced-custom-fields-pro (6.1.6) │ 0/25 [>---------------------------] 0% │ 4/25 [====>-----------------------] 16% │ 8/25 [========>-------------------] 32% │ 11/25 [============>---------------] 44% │ 19/25 [=====================>------] 76% │ 23/25 [=========================>--] 92% │ 25/25 [============================] 100% │ In AuthHelper.php line 197: │ │ The 'https://connect.advancedcustomfields.com/v2/plugins/composer_download? │ p=pro&t=6.1.6' URL required authentication (HTTP 401). │ You must be using the interactive console to authenticate │ │ create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--rep └─ Failed in 8.2s at /home/robot/dev/cloakwp/wordpress/backend-starter ELIFECYCLE Command failed with exit code 255.
My bad the solution is in the Wordpress Backend Starter README.md
Maybe we can add a note to the monorepo install/startup procedure about it
Not sure if you've encoutered this one @kaelansmith, it's saying it can only install ACF Pro using an interactive console.
I think for now I can remove the composer dep and install it once Wordpress is bootstrapped
Error:
Full Console Error:
[main][~/dev/cloakwp]$ pnpm install Scope: all 6 workspace projects Downloading registry.npmjs.org/next/12.3.4: 6.51 MB/6.51 MB, done Downloading registry.npmjs.org/next/13.3.1: 10.4 MB/10.4 MB, done Downloading registry.npmjs.org/next/13.3.0: 10.6 MB/10.6 MB, done Downloading registry.npmjs.org/typescript/4.5.4: 11.3 MB/11.3 MB, done Downloading registry.npmjs.org/typescript/4.9.3: 11.6 MB/11.6 MB, done Packages: +1005 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Packages are hard linked from the content-addressable store to the virtual store. Content-addressable store is at: /home/robot/.local/share/pnpm/store/v3 Virtual store is at: node_modules/.pnpm Downloading registry.npmjs.org/@next/swc-linux-x64-musl/12.3.4: 15.3 MB/15.3 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-gnu/12.3.4: 15.8 MB/15.8 MB, done Downloading registry.npmjs.org/turbo-linux-64/1.10.3: 19.2 MB/19.2 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-gnu/13.3.0: 34.7 MB/34.7 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-musl/13.3.0: 34.6 MB/34.6 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-musl/13.3.1: 37.3 MB/37.3 MB, done Downloading registry.npmjs.org/@next/swc-linux-x64-gnu/13.3.1: 37.4 MB/37.4 MB, done Progress: resolved 1027, reused 570, downloaded 426, added 1005, done node_modules/.pnpm/core-js-pure@3.26.1/node_modules/core-js-pure: Running postinstall script, done in 58ms node_modules/.pnpm/turbo@1.10.3/node_modules/turbo: Running postinstall script, done in 54ms wordpress/backend-starter postinstall$ docker-compose run composer create-project │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_ROOT_PASSWORD\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_HOST\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DOMAIN\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_ROOT_PASSWORD\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_USER\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"DB_PASSWORD\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ time="2023-06-10T08:29:53-07:00" level=warning msg="The \"APP_NAME\" variable is not set. Defaulting to a blank string." │ Network backend-starter_default Creating │ Network backend-starter_default Created │ > php -r "copy('.env.example', '.env');" │ Installing dependencies from lock file (including require-dev) │ Verifying lock file contents can be installed on current platform. │ Package operations: 30 installs, 0 updates, 0 removals │ - Downloading composer/installers (v2.2.0) │ - Downloading roots/wordpress-core-installer (1.100.0) │ - Downloading johnbillion/args (1.7.2) │ - Downloading johnbillion/extended-cpts (5.0.3) │ - Downloading symfony/polyfill-ctype (v1.27.0) │ - Downloading oscarotero/env (v2.1.0) │ - Downloading roots/bedrock-autoloader (1.0.4) │ - Downloading roots/bedrock-disallow-indexing (2.0.0) │ - Downloading roots/wordpress-no-content (6.2.2) │ - Downloading roots/wp-config (1.0.0) │ - Downloading roots/wp-password-bcrypt (1.1.0) │ - Downloading squizlabs/php_codesniffer (3.7.2) │ - Downloading vinkla/extended-acf (13.4.0) │ - Downloading symfony/polyfill-php80 (v1.27.0) │ - Downloading symfony/polyfill-mbstring (v1.27.0) │ - Downloading phpoption/phpoption (1.9.1) │ - Downloading graham-campbell/result-type (v1.1.1) │ - Downloading vlucas/phpdotenv (v5.5.0) │ - Downloading wpackagist-plugin/acf-content-analysis-for-yoast-seo (3.1) │ - Downloading wpackagist-plugin/duplicate-post (4.5) │ - Downloading wpackagist-plugin/jwt-authentication-for-wp-rest-api (1.3.2) │ - Downloading wpackagist-plugin/post-2-post-for-acf (1.7.0) │ - Downloading wpackagist-plugin/wordpress-seo (20.8) │ - Downloading wpackagist-theme/twentytwentythree (1.1) │ - Downloading wpengine/advanced-custom-fields-pro (6.1.6) │ 0/25 [>---------------------------] 0% │ 4/25 [====>-----------------------] 16% │ 8/25 [========>-------------------] 32% │ 11/25 [============>---------------] 44% │ 19/25 [=====================>------] 76% │ 23/25 [=========================>--] 92% │ 25/25 [============================] 100% │ In AuthHelper.php line 197: │ │ The 'https://connect.advancedcustomfields.com/v2/plugins/composer_download? │ p=pro&t=6.1.6' URL required authentication (HTTP 401). │ You must be using the interactive console to authenticate │ │ create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--rep └─ Failed in 8.2s at /home/robot/dev/cloakwp/wordpress/backend-starter ELIFECYCLE Command failed with exit code 255.