dxos-deprecated / dashboard

DxOS Dashboard
MIT License
0 stars 1 forks source link

Failure to build #28

Closed ccamrobertson closed 4 years ago

ccamrobertson commented 4 years ago

I can no longer build dashboard; yarn dev still works. Here is the error I see:

➜  dashboard git:(master) ✗ yarn build
yarn run v1.22.4
$ next build
> Using external babel configuration
> Location: "/Users/cameron/Documents/Wireline/dashboard/babel.config.js"
Creating an optimized production build  

Failed to compile.

./node_modules/react-base16-styling/lib/index.js
Module not found: Can't resolve 'babel-runtime/core-js/object/keys' in '/Users/cameron/Documents/Wireline/dashboard/node_modules/react-base16-styling/lib'

> Build error occurred
Error: > Build failed because of webpack errors
    at build (/Users/cameron/Documents/Wireline/dashboard/node_modules/next/dist/build/index.js:13:900)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
elmasse commented 4 years ago

I patched the missing dependency in here. The related issue is https://github.com/alexkuz/react-base16-styling/issues/2#issue-449717022 which is being used by @dxos/react-json-tree.