Hi,
I am using adobe mesh api & created mesh.json. I am running on my local. I want to console/debug the value passing from parent to child and for that i have added console.log in ./additional-resolvers.js. getting below error on run:
Error: LintError in File ./additional-resolvers.js: Unexpected console statement. , 'console' is not defined.
Hence use below lines to disable eslint
1)
// eslint-disable-next-line no-console
const resolvers = {}
2) Created eslintrc.js at project root dir with
module.exports = {
// other configurations...
rules: {
'no-console': 'off', // Allow console statements
},
};
3) eslint-disable-next-line no-console on console log statement
4) console.log('phrase value', phrase);// eslint-disable-line
But no luck...
Anybody can help me here?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @arunpatidar
Discussed with Adobe team and As per them, console is not supported in adobe mesh hence it will not work.
We can debug it only. So we can closed this ticket
Hi @HeenaMadan,
{
"eslintConfig": {
"root": true,
"extends": ["./.eslintrc.js"]
}
}
Hope this helps!
Hi,
Discussed with Adobe team and as per them, console is not supported in adobe mesh hence it will not work.
We can debug it only. So we can closed this ticket
Hi @HeenaMadan
Were the user suggestions helpful? Let us know if more details are needed or mark the answer as correct. If you found a solution independently, please share it with the community.
Hi @arunpatidar
Discussed with Adobe team and As per them, console is not supported in adobe mesh hence it will not work.
We can debug it only. So we can closed this ticket
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies