40Digits / helperpress

A tool for automating much of the WordPress development workflow
8 stars 2 forks source link

Warning: Arguments to path.join must be strings #57

Closed chadwatson closed 9 years ago

chadwatson commented 9 years ago
Chads-MacBook-Pro:helperpress-test chadwatson$ hp init
? Relative path to distributable WordPress Theme: /Users/chadwatson/Projects/helperpress-test/wp-theme
? Relative path to primary CSS source: wp-theme/_src/sass/style.scss
? CLI command to build for distribution: dev
? Directory to run build command from within (relative to repo root) ./
? Enter site slug: helperpress-test
? Enter site's nice name: Helperpress Test
? Enter site's description: A custom-built WordPress theme.
? Would you like to setup optional theme settings? No
? Select WordPress plugins.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
  - Installing mnsami/composer-custom-directory-installer (1.0.3)
    Loading from cache

  - Installing ifsnop/mysqldump-php (v1.4.1)
    Loading from cache

  - Installing interconnectit/search-replace-db (dev-master ed09f7e)
    Cloning ed09f7eafc3966813296f5639890a1f4c44af1a7

  - Installing wp-cli/php-cli-tools (v0.9.5)
    Loading from cache

  - Installing symfony/finder (v2.6.3)
    Downloading: 100%

  - Installing rmccue/requests (v1.6.1)
    Loading from cache

  - Installing rhumsaa/array_column (1.1.2)
    Loading from cache

  - Installing nb/oxymel (v0.1.0)
    Loading from cache

  - Installing mustache/mustache (v2.7.0)
    Loading from cache

  - Installing wp-cli/wp-cli (v0.16.0)
    Loading from cache

wp-cli/wp-cli suggests installing psy/psysh (Enhanced `wp shell` functionality)
Generating autoload files
>> Downloading WordPress 4.1 (en_US)...
>> Using cached file '/Users/chadwatson/.wp-cli/cache/core/en_US-4.1.tar.gz'...
>> Success: WordPress downloaded.
>> Success: Generated wp-config.php file.
>> Success: Database created.
>> Success: WordPress installed successfully.
Warning: Arguments to path.join must be strings Use --force to continue.

Aborted due to warnings.
chuckmo commented 9 years ago

This is a result of poor config. Fixed elsewhere.

Maybe we should have some better error-checking and reporting here.