I'm looking for help with my truffle project. Maybe someone of you guys in here knows why I can access the app.js within the index.html file, while I can't access the app.js from other html files in my project.
I'm running the project with 2 terminals: first with "truffle develop", second with "npm run dev".
Thanks in advance for any help!

Apr 13, 2018, 7:59 PM
Chrome browser console gives me this: secondSite.html:1 Uncaught TypeError: Failed to resolve module specifier "web3". Relative references must start with either "/", "./", or "../".
but when I give it a relative path, the index.html crashed
Apr 13, 2018, 8:02 PM
I have the same problem some time ago
Send me a pm and I will get in contact with you tomorrow!
are u using truffle and webpack right?
Apr 13, 2018, 8:08 PM
yes sir, I am!
Apr 13, 2018, 8:12 PM

© 2024 Draquery.com All rights reserved.