teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

エラーメッセージの画像挿入ミスを修正

2021/09/02 10:34

投稿

akiterry
akiterry

スコア0

title CHANGED
File without changes
body CHANGED
@@ -5,7 +5,23 @@
5
5
  ### 発生している問題・エラーメッセージ
6
6
 
7
7
  ```
8
- ![イメージ説明](579363918d0343070449100974dd2fe8.png)
8
+ /c/Truffle/myproject/contracts/Activatable.sol:3:1: ParserError: Source "/c/Truffle/myproject/node_modules/openzeppelin-solidity/contracts/ownership/ownable.sol" not found
9
+ import '../node_modules/openzeppelin-solidity/contracts/ownership/ownable.sol';
10
+ ^-----------------------------------------------------------------------------^
11
+ ,/c/Truffle/myproject/contracts/Destructible.sol:4:1: ParserError: Source "/c/Truffle/myproject/ownership/Ownable.sol" not found
12
+ import "../ownership/Ownable.sol";
13
+ ^--------------------------------^
14
+ ,/c/Truffle/myproject/contracts/Pausable.sol:4:1: ParserError: Source "/c/Truffle/myproject/ownership/Ownable.sol" not found
15
+ import "../ownership/Ownable.sol";
16
+ ^--------------------------------^
17
+ ,/c/Truffle/myproject/contracts/Room.sol:3:1: ParserError: Source "/c/Truffle/myproject/node_modules/openzeppelin-solidity/contracts/lifecycle/pausable.sol" not found
18
+ import "../node_modules/openzeppelin-solidity/contracts/lifecycle/pausable.sol";^------------------------------------------------------------------------------^,/c/Truffle/myproject/contracts/Room.sol:4:1: ParserError: Source "/c/Truffle/myproject/node_modules/openzeppelin-solidity/contracts/lifecycle/destructible.sol" not found
19
+ import "../node_modules/openzeppelin-solidity/contracts/lifecycle/destructible.sol";
20
+ ^----------------------------------------------------------------------------------^
21
+ ,/c/Truffle/myproject/contracts/RoomFactory.sol:3:1: ParserError: Source "/c/Truffle/myproject/node_modules/openzeppelin-solidity/contracts/lifecycle/Pausable.sol" not found
22
+ import "../node_modules/openzeppelin-solidity/contracts/lifecycle/Pausable.sol";^------------------------------------------------------------------------------^,/c/Truffle/myproject/contracts/RoomFactory.sol:4:1: ParserError: Source "/c/Truffle/myproject/node_modules/openzeppelin-solidity/contracts/lifecycle/Destructible.sol" not found
23
+ import "../node_modules/openzeppelin-solidity/contracts/lifecycle/Destructible.sol";
24
+ ^----------------------------------------------------------------------------------^
9
25
  ```
10
26
 
11
27
  ### 該当のソースコード