aragon / govern

🦅 Optimistic DAOs
https://aragon.org/blog/govern-preview
GNU General Public License v3.0
155 stars 49 forks source link

Question with getting started #527

Closed sorenrood closed 2 years ago

sorenrood commented 2 years ago

I've cloned the repo and done a yarn. I'm getting the following error.

Do I need to be on another version of node? I have been following the docs.

ubuntu@sorenserver:~/govern$ yarn
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["concat-stream@github:hugomrdias/concat-stream#feat/smaller"] is trying to unpack in the same destination "/home/ubuntu/.cache/yarn/v6/npm-concat-stream-2.0.0/node_modules/concat-stream" as pattern ["concat-stream@^2.0.0"]. This could result in non-deterministic behavior, skipping.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " > @babel/cli@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > @babel/plugin-proposal-class-properties@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/plugin-proposal-class-properties > @babel/helper-create-class-features-plugin@7.10.5" has unmet peer dependency "@babel/core@^7.0.0".
warning " > @babel/plugin-transform-react-jsx@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > @babel/plugin-transform-runtime@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > @babel/preset-env@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/helper-compilation-targets@7.10.4" has unmet peer dependency "@babel/core@^7.0.0".
warning "@babel/preset-env > @babel/plugin-proposal-async-generator-functions@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-dynamic-import@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-json-strings@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-nullish-coalescing-operator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-numeric-separator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-object-rest-spread@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-optional-catch-binding@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-optional-chaining@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-private-methods@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-unicode-property-regex@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-async-generators@7.8.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-class-properties@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-dynamic-import@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-json-strings@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-nullish-coalescing-operator@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-numeric-separator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-object-rest-spread@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-optional-catch-binding@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-optional-chaining@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-syntax-top-level-await@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-arrow-functions@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-async-to-generator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-block-scoped-functions@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-block-scoping@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-classes@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-computed-properties@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-destructuring@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-dotall-regex@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-duplicate-keys@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-exponentiation-operator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-for-of@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-function-name@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-literals@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-member-expression-literals@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-modules-amd@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-modules-commonjs@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-modules-systemjs@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-modules-umd@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-named-capturing-groups-regex@7.10.4" has unmet peer dependency "@babel/core@^7.0.0".
warning "@babel/preset-env > @babel/plugin-transform-new-target@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-object-super@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-parameters@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-property-literals@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-regenerator@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-reserved-words@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-shorthand-properties@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-spread@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-sticky-regex@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-template-literals@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-typeof-symbol@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-unicode-escapes@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-transform-unicode-regex@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/preset-modules@0.1.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-env > @babel/plugin-proposal-unicode-property-regex > @babel/helper-create-regexp-features-plugin@7.10.4" has unmet peer dependency "@babel/core@^7.0.0".
warning " > @babel/preset-react@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-react > @babel/plugin-transform-react-display-name@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-react > @babel/plugin-transform-react-jsx-development@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-react > @babel/plugin-transform-react-jsx-self@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-react > @babel/plugin-transform-react-jsx-source@7.10.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.10.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > @rollup/plugin-babel@5.3.0" has unmet peer dependency "@babel/core@^7.0.0".
warning " > eslint-plugin-react-hooks@2.5.1" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning " > styled-components@5.1.1" has unmet peer dependency "react-is@>= 16.8.0".
[5/5] Building fresh packages...
$ rm -rf ./dist && npm run build

> @aragon/ui@1.7.0 build
> npm run icons:build && rollup -c

> @aragon/ui@1.7.0 icons:build
> node scripts/generate-icons

  ✔ Read icons directory
  ✔ Generate icon components
  ✔ Update index file
  ✔ Update devbox file

  Bundling modules with Rollup…

src/index.js, src/utils/components.js, src/hooks/index.js, src/icons/index.js, src/providers/index.js, src/style/index.js, src/theme/index.js, src/theme-legacy/index.js, src/components/DateRangePicker/utils.js, src/vendor/index.js, src/components/Accordion/Accordion.js, src/components/AddressField/AddressField.js, src/components/AppBadge/AppBadge.js, src/components/AppBadge/AppBadgePopover.js, src/components/AppView/AppBar.js, src/components/AppView/AppView.js, src/components/AutoComplete/AutoComplete.js, src/components/AutoComplete/AutoCompleteSelected.js, src/components/BackButton/BackButton.js, src/components/Badge/Badge.js, src/components/BadgeBase/BadgeBase.js, src/components/BadgeBase/BadgePopoverActionType.js, src/components/BadgeBase/BadgePopoverBase.js, src/components/Bar/Bar.js, src/components/BaseStyles/BaseStyles.js, src/components/Box/Box.js, src/components/Button/Button.js, src/components/Button/ButtonIcon.js, src/components/Button/ButtonText.js, src/components/ButtonBase/ButtonBase.js, src/components/Card/Card.js, src/components/Card/EmptyStateCard.js, src/components/CardLayout/CardLayout.js, src/components/CircleGraph/CircleGraph.js, src/components/ComponentHeading/ComponentHeading.js, src/components/ContentSwitcher/Content.js, src/components/ContentSwitcher/ContentSwitcher.js, src/components/ContextMenu/ContextMenu.js, src/components/ContextMenu/ContextMenuItem.js, src/components/Countdown/Countdown.js, src/components/DataView/DataView.js, src/components/DataView/EmptyState.js, src/components/DataView/ListView.js, src/components/DataView/OpenedSurfaceBorder.js, src/components/DataView/TableView.js, src/components/DataView/ToggleButton.js, src/components/DateRangePicker/DatePicker.js, src/components/DateRangePicker/DateRangePicker.js, src/components/DateRangePicker/Labels.js, src/components/DateRangePicker/MonthDay.js, src/components/DateRangePicker/consts.js, src/components/Details/Details.js, src/components/DiscButton/DiscButton.js, src/components/Distribution/Distribution.js, src/components/DropDown/DropDown.js, src/components/EscapeOutside/EscapeOutside.js, src/components/EthIdenticon/EthIdenticon.js, src/components/Field/Field.js, src/components/FloatIndicator/FloatIndicator.js, src/components/FocusVisible/FocusVisible.js, src/components/Grid/Grid.js, src/components/Grid/GridItem.js, src/components/Header/Header.js, src/components/Help/Help.js, src/components/IdentityBadge/IdentityBadge.js, src/components/IdentityBadge/IdentityBadgePopover.js, src/components/Info/Info.js, src/components/Input/Checkbox.js, src/components/Input/FileInput.js, src/components/Input/Radio.js, src/components/Input/SearchInput.js, src/components/Input/TextInput.js, src/components/Layout/Layout.js, src/components/LineChart/LineChart.js, src/components/Link/Link.js, src/components/Link/LinkDeprecated.js, src/components/LoadingRing/LoadingRing.js, src/components/Main/Main.js, src/components/Markdown/Markdown.js, src/components/Markdown/NormalizedHtml.js, src/components/Modal/Modal.js, src/components/NavigationBar/LeftIcon.js, src/components/NavigationBar/NavigationBar.js, src/components/Pagination/Pagination.js, src/components/Pagination/PaginationItem.js, src/components/Pagination/PaginationSeparator.js, src/components/PartitionBar/PartitionBar.js, src/components/Popover/Popover.js, src/components/ProgressBar/ProgressBar.js, src/components/Radio/RadioGroup.js, src/components/Radio/RadioList.js, src/components/Radio/RadioListItem.js, src/components/RootPortal/RootPortal.js, src/components/ScrollView/ScrollView.js, src/components/SidePanel/SidePanel.js, src/components/SidePanel/SidePanelSeparator.js, src/components/SidePanel/SidePanelSplit.js, src/components/Slider/Slider.js, src/components/Split/Split.js, src/components/Steps/Steps.js, src/components/StyledText/StyledText.js, src/components/Switch/Switch.js, src/components/SyncIndicator/SyncIndicator.js, src/components/Table/Table.js, src/components/Table/TableCell.js, src/components/Table/TableHeader.js, src/components/Table/TableRow.js, src/components/Tabs/Tab.js, src/components/Tabs/TabBarLegacy.js, src/components/Tabs/Tabs.js, src/components/Tabs/TabsFullWidth.js, src/components/Tag/Tag.js, src/components/Text/Text.js, src/components/TextCopy/TextCopy.js, src/components/Timer/Timer.js, src/components/ToastHub/ToastHub.js, src/components/TokenAmount/TokenAmount.js, src/components/TokenBadge/TokenBadge.js, src/components/TokenBadge/TokenBadgePopover.js, src/components/TransactionBadge/TransactionBadge.js, src/components/TransactionProgress/TransactionProgress.js, src/hooks/useArrowKeysFocus.js, src/hooks/useClickOutside.js, src/hooks/useFocusEnter.js, src/hooks/useFocusLeave.js, src/hooks/useImageExists.js, src/hooks/useKeyDown.js, src/hooks/useOnBlur.js, src/icons/components/IconActions.js, src/icons/components/IconActionsFilled.js, src/icons/components/IconAdd.js, src/icons/components/IconAddUser.js, src/icons/components/IconAlert.js, src/icons/components/IconAlignCenter.js, src/icons/components/IconAlignJustify.js, src/icons/components/IconAlignLeft.js, src/icons/components/IconAlignRight.js, src/icons/components/IconAragon.js, src/icons/components/IconArrowDown.js, src/icons/components/IconArrowLeft.js, src/icons/components/IconArrowRight.js, src/icons/components/IconArrowUp.js, src/icons/components/IconAtSign.js, src/icons/components/IconBlock.js, src/icons/components/IconBookmark.js, src/icons/components/IconCalendar.js, src/icons/components/IconCanvas.js, src/icons/components/IconCaution.js, src/icons/components/IconCenter.js, src/icons/components/IconChart.js, src/icons/components/IconChat.js, src/icons/components/IconCheck.js, src/icons/components/IconChip.js, src/icons/components/IconCircleCheck.js, src/icons/components/IconCircleMinus.js, src/icons/components/IconCirclePlus.js, src/icons/components/IconClock.js, src/icons/components/IconCloudDownload.js, src/icons/components/IconCloudUpload.js, src/icons/components/IconCoin.js, src/icons/components/IconConfiguration.js, src/icons/components/IconConnect.js, src/icons/components/IconConnection.js, src/icons/components/IconConsole.js, src/icons/components/IconCopy.js, src/icons/components/IconCopyFilled.js, src/icons/components/IconCross.js, src/icons/components/IconDashedSquare.js, src/icons/components/IconDeposit.js, src/icons/components/IconDotMenu.js, src/icons/components/IconDown.js, src/icons/components/IconDownload.js, src/icons/components/IconEdit.js, src/icons/components/IconEllipsis.js, src/icons/components/IconEnter.js, src/icons/components/IconError.js, src/icons/components/IconEthereum.js, src/icons/components/IconExternal.js, src/icons/components/IconFile.js, src/icons/components/IconFilter.js, src/icons/components/IconFinance.js, src/icons/components/IconFinanceFilled.js, src/icons/components/IconFlag.js, src/icons/components/IconFolder.js, src/icons/components/IconGraph.js, src/icons/components/IconGraph2.js, src/icons/components/IconGrid.js, src/icons/components/IconGroup.js, src/icons/components/IconHash.js, src/icons/components/IconHeart.js, src/icons/components/IconHide.js, src/icons/components/IconHome.js, src/icons/components/IconIconWithdraw.js, src/icons/components/IconImage.js, src/icons/components/IconInfo.js, src/icons/components/IconLabel.js, src/icons/components/IconLayers.js, src/icons/components/IconLeft.js, src/icons/components/IconLink.js, src/icons/components/IconLocation.js, src/icons/components/IconLock.js, src/icons/components/IconMail.js, src/icons/components/IconMaximize.js, src/icons/components/IconMenu.js, src/icons/components/IconMinimize.js, src/icons/components/IconMinus.js, src/icons/components/IconMove.js, src/icons/components/IconNoPicture.js, src/icons/components/IconPicture.js, src/icons/components/IconPlus.js, src/icons/components/IconPower.js, src/icons/components/IconPrint.js, src/icons/components/IconProhibited.js, src/icons/components/IconQuestion.js, src/icons/components/IconRefresh.js, src/icons/components/IconReload.js, src/icons/components/IconRemoveUser.js, src/icons/components/IconRight.js, src/icons/components/IconRotateLeft.js, src/icons/components/IconRotateRight.js, src/icons/components/IconSearch.js, src/icons/components/IconSettings.js, src/icons/components/IconSettingsFilled.js, src/icons/components/IconShare.js, src/icons/components/IconSpinner.js, src/icons/components/IconSquare.js, src/icons/components/IconSquareMinus.js, src/icons/components/IconSquarePlus.js, src/icons/components/IconStar.js, src/icons/components/IconStarFilled.js, src/icons/components/IconSwap.js, src/icons/components/IconTarget.js, src/icons/components/IconToken.js, src/icons/components/IconTrash.js, src/icons/components/IconUnlock.js, src/icons/components/IconUp.js, src/icons/components/IconUpload.js, src/icons/components/IconUser.js, src/icons/components/IconView.js, src/icons/components/IconVote.js, src/icons/components/IconWallet.js, src/icons/components/IconWarning.js, src/icons/components/IconWithdraw.js, src/icons/components/IconWorld.js, src/icons/components/IconWrite.js, src/icons/components/IconZoomIn.js, src/icons/components/IconZoomOut.js, src/style/breakpoints.js, src/style/constants.js, src/style/springs.js, src/style/text-styles.js, src/theme/Theme.js, src/theme/theme-dark.js, src/theme/theme-light.js, src/theme-legacy/aragon.js, src/theme-legacy/palettes.js, src/utils/characters.js, src/utils/color.js, src/utils/contains-component.js, src/utils/css.js, src/utils/date.js, src/utils/environment.js, src/utils/font.js, src/utils/format.js, src/utils/keycodes.js, src/utils/math.js, src/utils/miscellaneous.js, src/utils/url.js, src/utils/web3.js, src/providers/observe/index.js → dist/esm, dist...
(270): src/components/TransactionProgress/TransactionProgress.jsBrowserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
created dist/esm, dist in 7.7s
error ipfs-http-client@50.1.0: The engine "node" is incompatible with this module. Expected version ">=14.0.0". Got "12.21.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ubuntu@sorenserver:~/govern$ git diff
ubuntu@sorenserver:~/govern$ yarn
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
warning Pattern ["concat-stream@github:hugomrdias/concat-stream#feat/smaller"] is trying to unpack in the same destination "/home/ubuntu/.cache/yarn/v6/npm-concat-stream-2.0.0/node_modules/concat-stream" as pattern ["concat-stream@^2.0.0"]. This could result in non-deterministic behavior, skipping.
error ipfs-http-client@50.1.0: The engine "node" is incompatible with this module. Expected version ">=14.0.0". Got "12.21.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
sorenrood commented 2 years ago

error Found incompatible module.

sorenrood commented 2 years ago

Ah! Figured it out! Had to update node to 14.0.0 with nvm.