Skip to content

Instantly share code, notes, and snippets.

@ryantm
Created June 11, 2021 22:07
Show Gist options
  • Save ryantm/0173c7867a8c3e0039c1588ddef17209 to your computer and use it in GitHub Desktop.
Save ryantm/0173c7867a8c3e0039c1588ddef17209 to your computer and use it in GitHub Desktop.
$ nix-build -A mattermost-webapp
warning: unknown setting 'experimental-features'
these derivations will be built:
/nix/store/s9b60piyb3hg01dbrqxbx33hfqc3psyi-mattermost-webapp-5.32.1.drv
warning: unknown setting 'experimental-features'
building '/nix/store/s9b60piyb3hg01dbrqxbx33hfqc3psyi-mattermost-webapp-5.32.1.drv'...
unpacking sources
unpacking source archive /nix/store/v3vi9am7m36dxgpc3vn8cl4w60mfijij-source
source root is source
patching sources
configuring
no configure script, doing nothing
building
> mattermost-webapp@0.0.1 build /build/source
> cross-env NODE_ENV=production webpack --display-error-details --verbose
[BABEL] Note: The code generator has deoptimised the styling of /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/pdfjs-dist/build/pdf.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/pdfjs-dist/build/pdf.worker.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/@formatjs/intl-relativetimeformat/polyfill-locales.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/katex/dist/katex.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/lodash/lodash.js as it exceeds the max of 500KB.
(node:38) UnhandledPromiseRejectionWarning: TypeError: aSourceMapConsumer.eachMapping is not a function
at Function.fromStringWithSourceMap (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/source-map/lib/source-node.js:87:24)
at SourceMapSource.node (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack-sources/lib/SourceMapSource.js:32:25)
at ReplaceSource.node (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack-sources/lib/ReplaceSource.js:82:27)
at CachedSource.node (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack-sources/lib/CachedSource.js:18:24)
at /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack-sources/lib/ConcatSource.js:59:50
at Array.map (<anonymous>)
at ConcatSource.node (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack-sources/lib/ConcatSource.js:58:63)
at ConcatSource.proto.sourceAndMap (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack-sources/lib/SourceAndMapMixin.js:29:18)
at CachedSource.sourceAndMap (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack-sources/lib/CachedSource.js:58:31)
at getTaskForFile (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack/lib/SourceMapDevToolPlugin.js:65:30)
at /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack/lib/SourceMapDevToolPlugin.js:215:20
at Array.forEach (<anonymous>)
at /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack/lib/SourceMapDevToolPlugin.js:186:12
at SyncHook.eval [as call] (eval at create (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
at SyncHook.lazyCompileHook (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/tapable/lib/Hook.js:154:20)
at /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack/lib/Compilation.js:1413:42
at eval (eval at create (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:11:1)
at /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/terser-webpack-plugin/dist/index.js:321:9
at TaskRunner.run (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/terser-webpack-plugin/dist/TaskRunner.js:48:7)
at TerserPlugin.optimizeFn (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/terser-webpack-plugin/dist/index.js:227:18)
at AsyncSeriesHook.eval [as callAsync] (eval at create (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/tapable/lib/Hook.js:154:20)
at /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/webpack/lib/Compilation.js:1409:36
at eval (eval at create (/nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:12:1)
at /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules/html-webpack-plugin/lib/cached-child-compiler.js:267:53
(Use `node --trace-warnings ...` to show where the warning was created)
(node:38) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use \
the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 54)
installing
total 1660
drwxr-xr-x 26 nixbld nixbld 4096 Jun 11 22:01 .
drwx------ 4 nixbld nixbld 253952 Jun 11 22:03 ..
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 .circleci
-rw-r--r-- 1 nixbld nixbld 385 Jan 1 1970 .editorconfig
-rw-r--r-- 1 nixbld nixbld 47 Jan 1 1970 .eslintignore
-rw-r--r-- 1 nixbld nixbld 4962 Jan 1 1970 .eslintrc.json
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 .github
-rw-r--r-- 1 nixbld nixbld 435 Jan 1 1970 .gitignore
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 .gitlab-ci
-rw-r--r-- 1 nixbld nixbld 2290 Jan 1 1970 .gitlab-ci.yml
-rw-r--r-- 1 nixbld nixbld 17 Jan 1 1970 .npmrc
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 .storybook
-rw-r--r-- 1 nixbld nixbld 609 Jan 1 1970 CONTRIBUTING.md
-rw-r--r-- 1 nixbld nixbld 11358 Jan 1 1970 LICENSE.txt
-rw-r--r-- 1 nixbld nixbld 5450 Jan 1 1970 Makefile
-rw-r--r-- 1 nixbld nixbld 137964 Jan 1 1970 NOTICE.txt
-rw-r--r-- 1 nixbld nixbld 2849 Jan 1 1970 README.md
-rw-r--r-- 1 nixbld nixbld 2015 Jan 1 1970 SECURITY.md
drwxr-xr-x 3 nixbld nixbld 4096 Jan 1 1970 actions
-rw-r--r-- 1 nixbld nixbld 1250 Jan 1 1970 babel.config.js
drwxr-xr-x 3 nixbld nixbld 4096 Jan 1 1970 build
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 client
drwxr-xr-x 166 nixbld nixbld 12288 Jan 1 1970 components
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 dispatcher
drwxr-xr-x 4 nixbld nixbld 4096 Jan 1 1970 e2e
-rw-r--r-- 1 nixbld nixbld 1105 Jan 1 1970 entry.js
drwxr-xr-x 4 nixbld nixbld 4096 Jan 1 1970 fonts
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 i18n
drwxr-xr-x 15 nixbld nixbld 4096 Jan 1 1970 images
lrwxrwxrwx 1 nixbld nixbld 89 Jun 11 22:01 node_modules -> /nix/store/ibg46csmwn52hszzyg3gdj5rnzz3zfl0-mattermost-webapp-modules-5.32.1/node_modules
-rw-r--r-- 1 nixbld nixbld 1077547 Jan 1 1970 package-lock.json
-rw-r--r-- 1 nixbld nixbld 9330 Jan 1 1970 package.json
drwxr-xr-x 7 nixbld nixbld 4096 Jan 1 1970 plugins
drwxr-xr-x 4 nixbld nixbld 4096 Jan 1 1970 reducers
-rw-r--r-- 1 nixbld nixbld 2866 Jan 1 1970 root.html
-rw-r--r-- 1 nixbld nixbld 2255 Jan 1 1970 root.jsx
drwxr-xr-x 10 nixbld nixbld 4096 Jan 1 1970 sass
drwxr-xr-x 3 nixbld nixbld 4096 Jan 1 1970 selectors
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 sounds
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 store
drwxr-xr-x 2 nixbld nixbld 4096 Jan 1 1970 stores
drwxr-xr-x 3 nixbld nixbld 4096 Jan 1 1970 storybook
drwxr-xr-x 3 nixbld nixbld 4096 Jan 1 1970 tests
-rw-r--r-- 1 nixbld nixbld 667 Jan 1 1970 tsconfig.json
drwxr-xr-x 5 nixbld nixbld 4096 Jan 1 1970 types
drwxr-xr-x 4 nixbld nixbld 4096 Jan 1 1970 utils
-rw-r--r-- 1 nixbld nixbld 15200 Jun 11 22:01 webpack.config.js
mv: cannot stat 'dist': No such file or directory
builder for '/nix/store/s9b60piyb3hg01dbrqxbx33hfqc3psyi-mattermost-webapp-5.32.1.drv' failed with exit code 1
error: build of '/nix/store/s9b60piyb3hg01dbrqxbx33hfqc3psyi-mattermost-webapp-5.32.1.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment