This repository was archived by the owner on Feb 26, 2024. It is now read-only.
  
  
  
  
Cannot find SimpleStorage contract artifact. #5926
              
                Unanswered
              
          
                  
                    
                      Namids
                    
                  
                
                  asked this question in
                General Q&A
              
            Replies: 2 comments
-
| 
         Hi, In meantime please make sure all of your folders as well as contracts references are spelled correctly, it most likely a typo someplace.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         Thank you very much for your reply. My public repo link is
https://github.com/Namids/smart-commerce.
I have tried out some ideas to solve this problem which include:
1. Removing the package.json file and running the npm install
2. Changing the react script version to 5.0.2
3. The truffle configuration file
4. trying to manually add the contracts folder to the src folder to see if
they react and can see the artifact
5. installing ganache globally with truffle and trying to deploy from the
ganache according to the steps given in the error message.
none of the above ideas worked for me. I have even deleted this projected
and started over again but still get the same error. 
…On Thu, Feb 23, 2023 at 9:04 AM Nataliia Riabkova ***@***.***> wrote:
 Hi,
 Do you have a public repo + steps to reproduce to share with us for
 testing?
 In meantime please make sure all of your folders as well as contracts
 references are spelled correctly, it most likely a typo someplace.
 —
 Reply to this email directly, view it on GitHub
 <https://github.com/orgs/trufflesuite/discussions/5926#discussioncomment-5090965>,
 or unsubscribe
 <https://github.com/notifications/unsubscribe-auth/AZEOW4OTKV3BI2I66LEV4FLWY6KDJANCNFSM6AAAAAAVE46XHQ>
 .
 You are receiving this because you authored the thread.Message ID:
 ***@***.***>
 
 | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
when ever I type npm start in my terminal I get an error in my local host saying "Cannot find SimpleStorage contract artifact. Please complete the above preparation first, then restart the react dev server"
Beta Was this translation helpful? Give feedback.
All reactions