Title: does not work out of the box · Issue #1 · fei-protocol/getting-started · GitHub
Open Graph Title: does not work out of the box · Issue #1 · fei-protocol/getting-started
X Title: does not work out of the box · Issue #1 · fei-protocol/getting-started
Description: npm install npm run test Error HH404: File fuse-flywheel/src/vaults/fuse/FuseERC4626.sol, imported from contracts/Greeter.sol, not found. and furthermore forge build Compiler run failed error[6275]: ParserError: Source "fuse-flywheel/src...
Open Graph Description: npm install npm run test Error HH404: File fuse-flywheel/src/vaults/fuse/FuseERC4626.sol, imported from contracts/Greeter.sol, not found. and furthermore forge build Compiler run failed error[6275]...
X Description: npm install npm run test Error HH404: File fuse-flywheel/src/vaults/fuse/FuseERC4626.sol, imported from contracts/Greeter.sol, not found. and furthermore forge build Compiler run failed error[6275]...
Opengraph URL: https://github.com/fei-protocol/getting-started/issues/1
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"does not work out of the box","articleBody":"```bash\r\nnpm install\r\nnpm run test\r\n\r\nError HH404: File fuse-flywheel/src/vaults/fuse/FuseERC4626.sol, imported from contracts/Greeter.sol, not found.\r\n```\r\n\r\nand furthermore\r\n\r\n```bash\r\nforge build\r\n\r\nCompiler run failed\r\nerror[6275]: ParserError: Source \"fuse-flywheel/src/vaults/fuse/FuseERC4626.sol\" not found: File not found. Searched the following locations: \"/Users/msmyers/projects/fei-protocol/getting-started\".\r\n --\u003e contracts/Greeter.sol:2:1:\r\n |\r\n2 | import {FuseERC4626} from \"fuse-flywheel/src/vaults/fuse/FuseERC4626.sol\";\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n```\r\n\r\nfurthermore\r\n\r\n```bash\r\nforge update\r\nforge build\r\n\r\nError: \r\nCompiler run failed\r\nerror[5333]: ParserError: Source file requires different compiler version (current compiler is 0.8.15+commit.e14f2714.Darwin.appleclang) - note that nightly builds are considered to be strictly less than the released version\r\n --\u003e fuse-flywheel/src/vaults/fuse/FuseERC4626.sol:2:1:\r\n |\r\n2 | pragma solidity 0.8.10;\r\n | ^^^^^^^^^^^^^^^^^^^^^^^\r\n```\r\n\r\nfurthermore\r\n\r\n```\r\n❯ forge build --use solc:0.8.10\r\n[⠊] Compiling...\r\n[⠒] Unable to resolve import: \"fuse-flywheel/src/vaults/fuse/FuseERC4626.sol\" with remappings:\r\n @ensdomains/=/Users/msmyers/Sync/volumes/syncthing/projects/fei-protocol/getting-started/node_modules/@ensdomains/\r\n eth-gas-reporter/=/Users/msmyers/Sync/volumes/syncthing/projects/fei-protocol/getting-started/node_modules/eth-gas-reporter/\r\n hardhat/=/Users/msmyers/Sync/volumes/syncthing/projects/fei-protocol/getting-started/node_modules/hardhat/\r\n contracts/=/Users/msmyers/Sync/volumes/syncthing/projects/fei-protocol/getting-started/contracts/\r\n test/=/Users/msmyers/Sync/volumes/syncthing/projects/fei-protocol/getting-started/test/\r\n[⠢] Compiling 1 files with 0.8.10\r\n[⠆] Solc 0.8.10 finished in 7.92ms\r\nError: \r\nCompiler run failed\r\nerror[6275]: ParserError: Source \"solmate/mixins/ERC4626.sol\" not found: File not found.\r\n --\u003e fuse-flywheel/src/vaults/fuse/FuseERC4626.sol:4:1:\r\n |\r\n4 | import {ERC20, ERC4626} from \"solmate/mixins/ERC4626.sol\";\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n\r\n\r\nerror[6275]: ParserError: Source \"solmate/utils/SafeTransferLib.sol\" not found: File not found.\r\n --\u003e fuse-flywheel/src/vaults/fuse/FuseERC4626.sol:5:1:\r\n |\r\n5 | import {SafeTransferLib} from \"solmate/utils/SafeTransferLib.sol\";\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n\r\n\r\nerror[6275]: ParserError: Source \"solmate/utils/FixedPointMathLib.sol\" not found: File not found.\r\n --\u003e fuse-flywheel/src/vaults/fuse/FuseERC4626.sol:6:1:\r\n |\r\n6 | import {FixedPointMathLib} from \"solmate/utils/FixedPointMathLib.sol\";\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n\r\n\r\nerror[6275]: ParserError: Source \"libcompound/LibFuse.sol\" not found: File not found.\r\n --\u003e fuse-flywheel/src/vaults/fuse/FuseERC4626.sol:7:1:\r\n |\r\n7 | import {LibFuse} from \"libcompound/LibFuse.sol\";\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n\r\n\r\nerror[6275]: ParserError: Source \"libcompound/interfaces/CERC20.sol\" not found: File not found.\r\n --\u003e fuse-flywheel/src/external/CToken.sol:4:1:\r\n |\r\n4 | import {CERC20} from \"libcompound/interfaces/CERC20.sol\";\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\r\n\r\n\r\nerror[6275]: ParserError: Source \"libcompound/interfaces/CERC20.sol\" not found: File not found.\r\n --\u003e fuse-flywheel/src/external/Unitroller.sol:4:1:\r\n |\r\n4 | import {CERC20} from \"libcompound/interfaces/CERC20.sol\";\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n```\r\n\r\nfurthermore\r\n\r\n```bash\r\ncd fuse-flywheel\r\nforge update\r\nforge build\r\n\r\n[⠊] Compiling...\r\n[⠑] Compiling 52 files with 0.8.10\r\n[⠘] Solc 0.8.10 finished in 639.77ms\r\nError: \r\nCompiler run failed\r\nwarning[3420]: Warning: Source file does not specify required compiler version! Consider adding \"pragma solidity ^0.8.10;\"\r\n--\u003e src/test/interfaces/IPlugin.sol\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"assertFalse\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/FlywheelDynamicRewardsIntegration.t.sol:25:1:\r\n |\r\n25 | contract FlywheelDynamicRewardsIntegrationTest is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:239:5:\r\n |\r\n239 | function assertFalse(bool data) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:71:5:\r\n |\r\n71 | function assertFalse(bool data) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"bound\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/FlywheelDynamicRewardsIntegration.t.sol:25:1:\r\n |\r\n25 | contract FlywheelDynamicRewardsIntegrationTest is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:139:5:\r\n |\r\n139 | function bound(uint256 x, uint256 min, uint256 max) internal virtual returns (uint256 result) {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:148:5:\r\n |\r\n148 | function bound(\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"fail\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/FlywheelDynamicRewardsIntegration.t.sol:25:1:\r\n |\r\n25 | contract FlywheelDynamicRewardsIntegrationTest is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:234:5:\r\n |\r\n234 | function fail(string memory err) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:66:5:\r\n |\r\n66 | function fail(string memory err) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"assertFalse\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/pools/FusePool156test.t.sol:16:1:\r\n |\r\n16 | contract FusePool156Test is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:239:5:\r\n |\r\n239 | function assertFalse(bool data) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:71:5:\r\n |\r\n71 | function assertFalse(bool data) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"bound\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/pools/FusePool156test.t.sol:16:1:\r\n |\r\n16 | contract FusePool156Test is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:139:5:\r\n |\r\n139 | function bound(uint256 x, uint256 min, uint256 max) internal virtual returns (uint256 result) {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:148:5:\r\n |\r\n148 | function bound(\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"fail\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/pools/FusePool156test.t.sol:16:1:\r\n |\r\n16 | contract FusePool156Test is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:234:5:\r\n |\r\n234 | function fail(string memory err) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:66:5:\r\n |\r\n66 | function fail(string memory err) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"assertFalse\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/pools/FusePool190test.t.sol:15:1:\r\n |\r\n15 | contract Pool190Test is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:239:5:\r\n |\r\n239 | function assertFalse(bool data) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:71:5:\r\n |\r\n71 | function assertFalse(bool data) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"bound\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/pools/FusePool190test.t.sol:15:1:\r\n |\r\n15 | contract Pool190Test is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:139:5:\r\n |\r\n139 | function bound(uint256 x, uint256 min, uint256 max) internal virtual returns (uint256 result) {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:148:5:\r\n |\r\n148 | function bound(\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n\r\n\r\n\r\nerror[6480]: TypeError: Derived contract must override function \"fail\". Two or more base classes define function with same name and parameter types.\r\n --\u003e src/test/integration/pools/FusePool190test.t.sol:15:1:\r\n |\r\n15 | contract Pool190Test is DSTestPlus, Test {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"Test\": \r\n --\u003e lib/forge-std/src/Test.sol:234:5:\r\n |\r\n234 | function fail(string memory err) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\nNote: Definition in \"DSTestPlus\": \r\n --\u003e lib/solmate/src/test/utils/DSTestPlus.sol:66:5:\r\n |\r\n66 | function fail(string memory err) internal virtual {\r\n | ^ (Relevant source part starts here and spans across multiple lines).\r\n```","author":{"url":"https://github.com/msmyers","@type":"Person","name":"msmyers"},"datePublished":"2022-08-01T00:09:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/getting-started/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2edbbb90-3e01-0e98-2e48-a9e0db732dce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C902:D4C17:12A556C:18386E4:6980324D |
| html-safe-nonce | a3af175bffc6a3915d8dabf341afc965599b68eca93075c11f3313ea1fb48a7a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTAyOkQ0QzE3OjEyQTU1NkM6MTgzODZFNDo2OTgwMzI0RCIsInZpc2l0b3JfaWQiOiI1MjY3NjkzMTEwMTcwNzU5NzU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e1421a10ba6254411c13106ba301c62afa9c62509109ef622378d4a2e924f9e5 |
| hovercard-subject-tag | issue:1323620218 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fei-protocol/getting-started/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a878e70c699ab722768aa0e9ed86226e7faf3bc1f92c7d977faaae17b15a34a/fei-protocol/getting-started/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a878e70c699ab722768aa0e9ed86226e7faf3bc1f92c7d977faaae17b15a34a/fei-protocol/getting-started/issues/1 |
| og:image:alt | npm install npm run test Error HH404: File fuse-flywheel/src/vaults/fuse/FuseERC4626.sol, imported from contracts/Greeter.sol, not found. and furthermore forge build Compiler run failed error[6275]... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | msmyers |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/fei-protocol/getting-started git https://github.com/fei-protocol/getting-started.git |
| octolytics-dimension-user_id | 75867376 |
| octolytics-dimension-user_login | fei-protocol |
| octolytics-dimension-repository_id | 483990319 |
| octolytics-dimension-repository_nwo | fei-protocol/getting-started |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 483990319 |
| octolytics-dimension-repository_network_root_nwo | fei-protocol/getting-started |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width