Error: Cannot find module './permissionlessCreator.json'
hroyo
HOBBYOP
2 years ago
When deploying to railway I get this error, which I don't get locally
that's I import the json in my service and it works perfectly execpt here.
import abi from './permissionlessCreator.json';
5 Replies
2 years ago
please make sure your folder and file casing is the same on github as is locally.
hroyo
HOBBYOP
2 years ago
oh github writes
PermissionlessCreator.json
instead of permissionlessCreator.json
hroyo
HOBBYOP
2 years ago
Can I buy you a drink?