getting-started-app
getting-started-app copied to clipboard
fix the bug
fix the next error massage:
/app/src/routes/addItem.js:2 const {v4 : uuid} = require('uuid'); ^
Error [ERR_REQUIRE_ESM]: require() of ES Module /app/node_modules/uuid/dist-node/index.js from /app/src/routes/addItem.js not supported. Instead change the require of index.js in /app/src/routes/addItem.js to a dynamic import() which is available in all CommonJS modules.
at Object.