Skip to content

Instantly share code, notes, and snippets.

@belgoros
Created February 6, 2019 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save belgoros/e91682c060323493ad40fcd346f7a947 to your computer and use it in GitHub Desktop.
Save belgoros/e91682c060323493ad40fcd346f7a947 to your computer and use it in GitHub Desktop.
Errors when running bin/setup to set up a new Lucky project
lucky-blog git:(master) bin/setup
▸ Installing node dependencies
warning laravel-mix > autoprefixer > browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning laravel-mix > css-loader > cssnano > autoprefixer > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning laravel-mix > css-loader > cssnano > postcss-merge-rules > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning laravel-mix > css-loader > cssnano > postcss-merge-rules > caniuse-api > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning "laravel-mix > img-loader@3.0.1" has unmet peer dependency "imagemin@^5.0.0 || ^6.0.0".
▸ Compiling assets
yarn run v1.12.3
$ yarn run webpack --progress --hide-modules --color --config=node_modules/laravel-mix/setup/webpack.config.js
$ /Users/Serguei/projects/crystal/lucky-blog/node_modules/.bin/webpack --progress --hide-modules --color --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting DONE Compiled successfully in 1117ms3:38:50 PM
Done in 13.99s.
▸ Installing shards
Fetching https://github.com/luckyframework/lucky.git
Fetching https://github.com/luckyframework/lucky_cli.git
Fetching https://github.com/mosop/teeplate.git
Fetching https://github.com/luckyframework/habitat.git
Fetching https://github.com/luckyframework/wordsmith.git
Fetching https://github.com/luckyframework/lucky_record.git
Fetching https://github.com/kostya/blank.git
Fetching https://github.com/crystal-lang/crystal-db.git
Fetching https://github.com/will/crystal-pg.git
Fetching https://github.com/luckyframework/lucky_router.git
Fetching https://github.com/luckyframework/shell-table.cr.git
Fetching https://github.com/paulcsmith/cry.git
Fetching https://github.com/mosop/cli.git
Fetching https://github.com/mosop/optarg.git
Fetching https://github.com/mosop/callback.git
Fetching https://github.com/mosop/string_inflection.git
Fetching https://github.com/crystal-loot/exception_page.git
Fetching https://github.com/luckyframework/authentic.git
Fetching https://github.com/luckyframework/carbon.git
Fetching https://github.com/luckyframework/lucky_flow.git
Fetching https://github.com/ysbaddaden/selenium-webdriver-crystal.git
Installing lucky (0.12.0)
Postinstall shards build
mkdir -p ../../bin/lucky/gen/action
cp $(pwd)/bin/watch $(pwd)/../../bin/lucky/
cp $(pwd)/bin/exec $(pwd)/../../bin/lucky/
cp $(pwd)/bin/resource.browser $(pwd)/../../bin/lucky/gen/resource/browser
cp $(pwd)/bin/action.browser $(pwd)/../../bin/lucky/gen/action/browser
cp $(pwd)/bin/action.api $(pwd)/../../bin/lucky/gen/action/api
cp $(pwd)/bin/action $(pwd)/../../bin/lucky/gen/action
cp $(pwd)/bin/model $(pwd)/../../bin/lucky/gen/
cp $(pwd)/bin/page $(pwd)/../../bin/lucky/gen/
cp $(pwd)/bin/component $(pwd)/../../bin/lucky/gen/
cp $(pwd)/bin/secret_key $(pwd)/../../bin/lucky/gen/
Failed shards build
mkdir -p ../../bin/lucky/gen/action
cp $(pwd)/bin/watch $(pwd)/../../bin/lucky/
cp $(pwd)/bin/exec $(pwd)/../../bin/lucky/
cp $(pwd)/bin/resource.browser $(pwd)/../../bin/lucky/gen/resource/browser
cp $(pwd)/bin/action.browser $(pwd)/../../bin/lucky/gen/action/browser
cp $(pwd)/bin/action.api $(pwd)/../../bin/lucky/gen/action/api
cp $(pwd)/bin/action $(pwd)/../../bin/lucky/gen/action
cp $(pwd)/bin/model $(pwd)/../../bin/lucky/gen/
cp $(pwd)/bin/page $(pwd)/../../bin/lucky/gen/
cp $(pwd)/bin/component $(pwd)/../../bin/lucky/gen/
cp $(pwd)/bin/secret_key $(pwd)/../../bin/lucky/gen/
:
Fetching https://github.com/luckyframework/lucky_cli.git
Fetching https://github.com/mosop/teeplate.git
Fetching https://github.com/luckyframework/habitat.git
Fetching https://github.com/luckyframework/wordsmith.git
Fetching https://github.com/luckyframework/lucky_record.git
Fetching https://github.com/kostya/blank.git
Fetching https://github.com/crystal-lang/crystal-db.git
Fetching https://github.com/will/crystal-pg.git
Fetching https://github.com/luckyframework/lucky_router.git
Fetching https://github.com/luckyframework/shell-table.cr.git
Fetching https://github.com/paulcsmith/cry.git
Fetching https://github.com/mosop/cli.git
Fetching https://github.com/mosop/optarg.git
Fetching https://github.com/mosop/callback.git
Fetching https://github.com/mosop/string_inflection.git
Fetching https://github.com/crystal-loot/exception_page.git
Fetching https://github.com/veelenga/ameba.git
Installing lucky_cli (0.12.0)
Installing teeplate (0.7.0)
Installing habitat (0.4.0)
Installing wordsmith (0.2.0)
Installing lucky_record (0.7.0)
Postinstall shards build
mkdir -p ../../bin/lucky/gen
cp $(pwd)/bin/gen.migration $(pwd)/../../bin/lucky/gen/migration
Failed shards build
mkdir -p ../../bin/lucky/gen
cp $(pwd)/bin/gen.migration $(pwd)/../../bin/lucky/gen/migration
:
Fetching https://github.com/kostya/blank.git
Fetching https://github.com/luckyframework/lucky_cli.git
Fetching https://github.com/mosop/teeplate.git
Fetching https://github.com/crystal-lang/crystal-db.git
Fetching https://github.com/will/crystal-pg.git
Fetching https://github.com/luckyframework/habitat.git
Fetching https://github.com/luckyframework/wordsmith.git
Installing blank (0.1.0)
Installing lucky_cli (0.12.0)
Installing teeplate (0.7.0)
Installing db (0.5.1)
Installing pg (0.15.0)
Installing habitat (0.4.0)
Installing wordsmith (0.2.0)
Building: gen.migration
Error target gen.migration failed to compile:
ld: library not found for -lssl (this usually means you need to install the development package for libssl)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/Serguei/projects/crystal/lucky-blog/lib/lucky/lib/lucky_record/bin/gen.migration' -rdynamic `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs --silence-errors libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread /usr/local/Cellar/crystal/0.27.2/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib`
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/lib/lucky_record/bin/gen.migration: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/watch: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/exec: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/resource.browser: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/action.browser: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/action.api: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/action: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/model: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/page: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/component: No such file or directory
cp: /Users/Serguei/projects/crystal/lucky-blog/lib/lucky/bin/secret_key: No such file or directory
➜ lucky-blog git:(master) ✗
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment