Skip to content

Instantly share code, notes, and snippets.

@daleharvey
Created January 4, 2020 15:27
Show Gist options
  • Save daleharvey/5921f67f07b13ac6439467fbea28fd3b to your computer and use it in GitHub Desktop.
Save daleharvey/5921f67f07b13ac6439467fbea28fd3b to your computer and use it in GitHub Desktop.
~/src/riot-web (develop)$ yarn install
yarn install v1.21.1
[1/4] 🔍 Resolving packages...
success Already up-to-date.
$ yarn clean && yarn build:compile
yarn run v1.21.1
$ rimraf lib webapp electron_app/dist
✨ Done in 0.16s.
yarn run v1.21.1
$ yarn reskindex && babel --source-maps -d lib src
$ reskindex -h src/header
Reskindex: completed
src/component-index.js -> lib/component-index.js
src/components/structures/VectorEmbeddedPage.js -> lib/components/structures/VectorEmbeddedPage.js
src/components/views/auth/VectorAuthFooter.js -> lib/components/views/auth/VectorAuthFooter.js
src/components/views/auth/VectorAuthHeaderLogo.js -> lib/components/views/auth/VectorAuthHeaderLogo.js
src/components/views/auth/VectorAuthPage.js -> lib/components/views/auth/VectorAuthPage.js
src/components/views/auth/VectorCustomServerDialog.js -> lib/components/views/auth/VectorCustomServerDialog.js
src/vector/getconfig.js -> lib/vector/getconfig.js
src/vector/index.js -> lib/vector/index.js
src/vector/indexeddb-worker.js -> lib/vector/indexeddb-worker.js
src/vector/mobile_guide/index.js -> lib/vector/mobile_guide/index.js
src/vector/modernizr.js -> lib/vector/modernizr.js
src/vector/platform/ElectronPlatform.js -> lib/vector/platform/ElectronPlatform.js
src/vector/platform/VectorBasePlatform.js -> lib/vector/platform/VectorBasePlatform.js
src/vector/platform/WebPlatform.js -> lib/vector/platform/WebPlatform.js
src/vector/rageshakesetup.js -> lib/vector/rageshakesetup.js
src/vector/url_utils.js -> lib/vector/url_utils.js
✨ Done in 1.53s.
✨ Done in 2.70s.
~/src/riot-web (develop)$ yarn dist
yarn run v1.21.1
$ scripts/package.sh
$ rimraf lib webapp electron_app/dist
$ yarn build:js-sdk && yarn build:react-sdk && yarn reskindex && yarn build:res && yarn build:bundle
$ node scripts/yarn-sub.js matrix-js-sdk start:init
$ babel src -s -d lib --verbose --extensions ".ts,.js"
ReferenceError: Unknown plugin "@babel/plugin-proposal-numeric-separator" specified in "/Users/dale/src/riot-web/node_modules/matrix-js-sdk/.babelrc" at 0, attempted to resolve relative to "/Users/dale/src/riot-web/node_modules/matrix-js-sdk"
at /Users/dale/src/riot-web/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (<anonymous>)
at Function.normalisePlugins (/Users/dale/src/riot-web/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/Users/dale/src/riot-web/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/Users/dale/src/riot-web/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/Users/dale/src/riot-web/node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (/Users/dale/src/riot-web/node_modules/babel-core/lib/transformation/file/index.js:135:24)
at Pipeline.transform (/Users/dale/src/riot-web/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transform (/Users/dale/src/riot-web/node_modules/babel-cli/lib/babel/util.js:50:22)
at Object.compile (/Users/dale/src/riot-web/node_modules/babel-cli/lib/babel/util.js:59:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
child_process.js:677
throw err;
^
Error: Command failed: yarn start:init
at checkExecSyncError (child_process.js:637:11)
at Object.execSync (child_process.js:674:13)
at Object.<anonymous> (/Users/dale/src/riot-web/scripts/yarn-sub.js:18:15)
at Module._compile (internal/modules/cjs/loader.js:805:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:816:10)
at Module.load (internal/modules/cjs/loader.js:672:32)
at tryModuleLoad (internal/modules/cjs/loader.js:612:12)
at Function.Module._load (internal/modules/cjs/loader.js:604:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:868:12)
at internal/main/run_main_module.js:21:11
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment