Hello,
I have started with the course on cloning OpenSea with the ethereum boilerplate, but I can’t use the boilerplate because I always get the same error:
Can you help me please!
Kind regards
Hello,
I have started with the course on cloning OpenSea with the ethereum boilerplate, but I can’t use the boilerplate because I always get the same error:
Can you help me please!
Kind regards
yeh so this is an error to do with the prettier extension which formats code and applys rules to how your code gets formatted. if your code is not aligned with these presets, then prettier throws and error. luckily there is a simple enough fix
Try setting the "endOfLine":"auto"
in your .prettierrc (or .prettierrc.json) file (inside the object)
Or set
'prettier/prettier': [
'error',
{
'endOfLine': 'auto',
}
]
make sure to stop and start your server once you edit the file for changes to take effect