Skip to content

Instantly share code, notes, and snippets.

@mairh
Created May 4, 2018 13:00
Show Gist options
  • Save mairh/2cf347b52bfdac8f6df2f3d1b96b2d04 to your computer and use it in GitHub Desktop.
Save mairh/2cf347b52bfdac8f6df2f3d1b96b2d04 to your computer and use it in GitHub Desktop.
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
YARN_PRODUCTION=false
NODE_VERBOSE=false
NODE_ENV=production
NODE_MODULES_CACHE=false
-----> Installing binaries
engines.node (package.json): >= 6.11.1 < 10
engines.npm (package.json): unspecified (use default)
engines.yarn (package.json): >= 1.0.0
Resolving node version >= 6.11.1 < 10...
Downloading and installing node 9.11.1...
Using default npm version: 5.6.0
Resolving yarn version >= 1.0.0...
Downloading and installing yarn (1.6.0)...
Installed yarn 1.6.0
-----> Restoring cache
Skipping cache restore (disabled)
-----> Building dependencies
Installing node modules (yarn.lock)
yarn install v1.6.0
[1/4] Resolving packages...
[2/4] Fetching packages...
info @expo/[email protected]: The platform "linux" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The platform "linux" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @expo/[email protected]: The platform "linux" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The platform "linux" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @expo/[email protected]: The platform "linux" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The CPU architecture "x64" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The CPU architecture "x64" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The CPU architecture "x64" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The platform "linux" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The platform "linux" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info @expo/[email protected]: The CPU architecture "x64" is incompatible with this module.
info @expo/[email protected]: The platform "linux" is incompatible with this module.
info "@expo/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has unmet peer dependency "prettier@^1.4.0".
warning "tslint-plugin-prettier > [email protected]" has unmet peer dependency "prettier@>= 0.11.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > [email protected]" has unmet peer dependency "@expo/vector-icons@^6.2.1".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > [email protected]" has unmet peer dependency "antd-mobile@^2.1.2".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > [email protected]" has unmet peer dependency "expo@^27.0.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > [email protected]" has unmet peer dependency "native-base@^2.3.5".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > [email protected]" has unmet peer dependency "[email protected]".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > [email protected]" has unmet peer dependency "react-native-simple-picker@^2.0.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > [email protected]" has unmet peer dependency "react-navigation@^1.5.11".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has unmet peer dependency "apollo-cache@^1.1.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "graphql@^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "redux@^2.0.0 || ^3.0.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "redux@^3.1.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "redux@^3.0.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "webpack@^4.4.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "mocha@^2.4.5 || ^3.0.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "webpack@^1.12.13 || ^2.1.0-beta.15".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > [email protected]" has incorrect peer dependency "webpack@^4.0.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > mobile > [email protected]" has incorrect peer dependency "babel-preset-react-native@^2.0.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > server > [email protected]" has incorrect peer dependency "graphql@^0.13.1".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > antd > [email protected]" has unmet peer dependency "immutable@~3.7.4".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > client > apollo-client > [email protected]" has incorrect peer dependency "graphql@^0.11.3".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > mobile > expo > [email protected]" has incorrect peer dependency "react-native@^0.51 || ^0.52 || ^0.53 || ^0.54".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > mobile > haul > react-hot-loader > [email protected]" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0-beta || ^16.0.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > server > apollo-server-express > apollo-server-core > [email protected]" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0".
warning "workspace-aggregator-25d83c00-e657-41ac-bd76-fc8bd758b8dc > server > apollo-server-express > apollo-server-core > [email protected]" has incorrect peer dependency "graphql@^0.10.0 || ^0.11.0".
[4/4] Building fresh packages...
Done in 127.08s.
Running heroku-postbuild (yarn)
yarn run v1.6.0
$ lerna run heroku-postbuild --stream
lerna info version 2.10.1
lerna info versioning independent
client: $ yarn build
server: $ yarn build
mobile: $ yarn build && yarn exp-publish
client: $ cross-env NODE_ENV=production spin build
server: $ cross-env NODE_ENV=production spin build
mobile: $ cross-env NODE_ENV=production spin build
server: [at-loader] Using [email protected] from typescript and "tsconfig.json" from /tmp/build_610be15b4f61a24c8f10ac698ddb16ea/packages/server/tsconfig.json.
client: [at-loader] Using [email protected] from typescript and "tsconfig.json" from /tmp/build_610be15b4f61a24c8f10ac698ddb16ea/packages/client/tsconfig.json.
mobile: [at-loader] Using [email protected] from typescript and "tsconfig.json" from /tmp/build_610be15b4f61a24c8f10ac698ddb16ea/packages/mobile/tsconfig.json.
mobile: [at-loader] Using [email protected] from typescript and "tsconfig.json" from /tmp/build_610be15b4f61a24c8f10ac698ddb16ea/packages/mobile/tsconfig.json.
server: [at-loader] Checking started in a separate process...
server: [at-loader] Ok, 0.184 sec.
server: webpack-for-server Time: 179176ms
server: ERROR in ../client/src/modules/order/reducers/orderForm.js
server: Module build failed: TypeError: /tmp/build_610be15b4f61a24c8f10ac698ddb16ea/packages/client/src/modules/order/reducers/orderForm.js: Property local of ExportSpecifier expected node to be of a type ["Identifier"] but instead got "StringLiteral"
server: at Object.validate (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-types/lib/definitions/index.js:109:13)
server: at Object.validate (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-types/lib/index.js:505:9)
server: at NodePath._replaceWith (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/replacement.js:176:7)
server: at NodePath.replaceWith (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/replacement.js:160:8)
server: at PluginPass.Expression (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-plugin-minify-constant-folding/lib/index.js:199:16)
server: at PluginPass.newFn (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/visitors.js:318:17)
server: at newFn (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/visitors.js:276:21)
server: at NodePath._call (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:76:18)
server: at NodePath.call (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:48:17)
server: at NodePath.visit (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:105:12)
server: @ ../client/src/modules/order/containers/OrderCreate.jsx 1:969-1030
server: @ ../client/src/modules/order/index.web.jsx
server: @ ../client/src/modules/index.js
server: @ ./src/middleware/website.jsx
server: @ ./src/app.js
server: @ ./src/server.js
server: @ ./src/index.ts
server: @ multi raf/polyfill babel-polyfill ./src/index.ts
server: ERROR in ../client/src/modules/order/reducers/orderProductForm.js
server: Module build failed: TypeError: /tmp/build_610be15b4f61a24c8f10ac698ddb16ea/packages/client/src/modules/order/reducers/orderProductForm.js: Property local of ExportSpecifier expected node to be of a type ["Identifier"] but instead got "StringLiteral"
server: at Object.validate (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-types/lib/definitions/index.js:109:13)
server: at Object.validate (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-types/lib/index.js:505:9)
server: at NodePath._replaceWith (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/replacement.js:176:7)
server: at NodePath.replaceWith (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/replacement.js:160:8)
server: at PluginPass.Expression (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-plugin-minify-constant-folding/lib/index.js:199:16)
server: at PluginPass.newFn (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/visitors.js:318:17)
server: at newFn (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/visitors.js:276:21)
server: at NodePath._call (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:76:18)
server: at NodePath.call (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:48:17)
server: at NodePath.visit (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:105:12)
server: @ ../client/src/modules/order/containers/OrderCreate.jsx 1:1030-1102
server: @ ../client/src/modules/order/index.web.jsx
server: @ ../client/src/modules/index.js
server: @ ./src/middleware/website.jsx
server: @ ./src/app.js
server: @ ./src/server.js
server: @ ./src/index.ts
server: @ multi raf/polyfill babel-polyfill ./src/index.ts
client: [at-loader] Checking started in a separate process...
client: [at-loader] Ok, 0.092 sec.
client: webpack-for-web Time: 214280ms
client: ERROR in ./src/modules/order/reducers/orderForm.js
client: Module build failed: TypeError: /tmp/build_610be15b4f61a24c8f10ac698ddb16ea/packages/client/src/modules/order/reducers/orderForm.js: Property local of ExportSpecifier expected node to be of a type ["Identifier"] but instead got "StringLiteral"
client: at Object.validate (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-types/lib/definitions/index.js:109:13)
client: at Object.validate (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-types/lib/index.js:505:9)
client: at NodePath._replaceWith (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/replacement.js:176:7)
client: at NodePath.replaceWith (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/replacement.js:160:8)
client: at PluginPass.Expression (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-plugin-minify-constant-folding/lib/index.js:199:16)
client: at PluginPass.newFn (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/visitors.js:318:17)
client: at newFn (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/visitors.js:276:21)
client: at NodePath._call (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:76:18)
client: at NodePath.call (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:48:17)
client: at NodePath.visit (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:105:12)
client: @ ./src/modules/order/containers/OrderCreate.jsx 1:969-1030
client: @ ./src/modules/order/index.web.jsx
client: @ ./src/modules/index.js
client: @ ./src/app/Main.jsx
client: @ ./src/index.tsx
client: @ multi raf/polyfill babel-polyfill ./src/index.tsx
client: ERROR in ./src/modules/order/reducers/orderProductForm.js
client: Module build failed: TypeError: /tmp/build_610be15b4f61a24c8f10ac698ddb16ea/packages/client/src/modules/order/reducers/orderProductForm.js: Property local of ExportSpecifier expected node to be of a type ["Identifier"] but instead got "StringLiteral"
client: at Object.validate (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-types/lib/definitions/index.js:109:13)
client: at Object.validate (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-types/lib/index.js:505:9)
client: at NodePath._replaceWith (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/replacement.js:176:7)
client: at NodePath.replaceWith (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/replacement.js:160:8)
client: at PluginPass.Expression (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-plugin-minify-constant-folding/lib/index.js:199:16)
client: at PluginPass.newFn (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/visitors.js:318:17)
client: at newFn (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/visitors.js:276:21)
client: at NodePath._call (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:76:18)
client: at NodePath.call (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:48:17)
client: at NodePath.visit (/tmp/build_610be15b4f61a24c8f10ac698ddb16ea/node_modules/babel-traverse/lib/path/context.js:105:12)
client: @ ./src/modules/order/containers/OrderCreate.jsx 1:1030-1102
client: @ ./src/modules/order/index.web.jsx
client: @ ./src/modules/index.js
client: @ ./src/app/Main.jsx
client: @ ./src/index.tsx
client: @ multi raf/polyfill babel-polyfill ./src/index.tsx
client: ERROR in index.f56d31e3e457e2ab6d56.js from UglifyJs
client: Unexpected token: name (value) [index.f56d31e3e457e2ab6d56.js:160574,10]
mobile: [at-loader] Checking started in a separate process...
mobile: [at-loader] Checking started in a separate process...
mobile: [at-loader] Ok, 0.087 sec.
mobile: [at-loader] Ok, 0.084 sec.
mobile: webpack-for-android Time: 268592ms
mobile: webpack-for-ios Time: 268898ms
mobile: $ yarn exp-login && yarn exp -- p --non-interactive
mobile: $ cross-env NODE_ENV=production spin exp login -u $EXP_USERNAME -p $EXP_PASSWORD --non-interactive
mobile: Success. You are now logged in as nish.
mobile: $ cross-env NODE_ENV=production spin exp p --non-interactive
mobile: warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
mobile: spin info Starting Expo prod server
mobile: spin info Production mobile packager listening on http://localhost:3030
mobile: spin info Expo server running on address: exp://localhost:19000
mobile: 12:58:57 [exp] Publishing to channel 'default'...
mobile: 12:58:58 [exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
mobile: 12:59:00 [exp] Building iOS bundle
mobile: 12:59:00 [exp] Building Android bundle
mobile: 12:59:00 [exp] Analyzing assets
mobile: 12:59:00 [exp] Uploading assets
mobile: 12:59:00 [exp] No assets changed, skipped.
mobile: 12:59:00 [exp] Uploading JavaScript bundles
mobile: 12:59:02 [exp] Published
mobile: 12:59:02 [exp] Your URL is
mobile: https://exp.host/@nish/easymedi
lerna success run Ran npm script 'heroku-postbuild' in packages:
lerna success - client
lerna success - mobile
lerna success - server
Done in 302.76s.
-----> Caching build
Clearing previous node cache
Skipping cache save (disabled by config)
-----> Pruning devDependencies
Skipping because YARN_PRODUCTION is 'false'
-----> Build succeeded!
! Unmet dependencies don't fail yarn install but may cause runtime issues
https://github.com/npm/npm/issues/7494
-----> Discovering process types
Procfile declares types -> web
-----> Compressing...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment