complete-node-bootcamp
complete-node-bootcamp copied to clipboard
Hi There...
I lose alot time for this error, Please help me : Parsing error: 'import' and 'export' may appear only with 'sourceType: module'eslint
Seems to me one or more of your Import / export statement is incorrectly written.. could you share the whole err.... If this line is the only error you are getting then it would be nice if you can share your code.
All import and export in the code done some err :


Also this error in the console : [Object: null prototype] {}

you are missing a few npm packages...from the above screenshots i can tell you you need to atleast install axios using npm i --save axios
we can find all the package.json here
:
Still some err

do a console.log(req.originalUrl) if you see output for a better understanding what the issue. your if statement is not able to execute .startswith() on a empty or undefined value
yes it is done the err info , but i think the probleme is from the export and import info
here you can see the err in the console of browser and the console of node
:

Am very busy and alot time without solved those err. Please help me
The error in the browers are realted to CSP [content security policy] i have answered it here. Please refer to that topic to solved the current errors
JONAS, in your application "natours" so mush errors and do not worked , am sorry for that but you need to dowonload a results of all errors
just sell application and you forgot the after