dword-design / nuxt-mail

Adds email sending capability to a Nuxt.js app. Adds a server route, an injected variable, and uses nodemailer to send emails.
Other
245 stars 18 forks source link

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /app/node_modules/@nuxt/kit/package.json #162

Open dSchaexn opened 1 year ago

dSchaexn commented 1 year ago

nuxt package.json: { "name": "project", "version": "1.0.0", "private": true, "scripts": { "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", "generate": "nuxt generate", "lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .", "lint": "yarn lint:js", "lintfix": "yarn lint:js --fix" }, "dependencies": { "@nuxtjs/axios": "^5.13.6", "bootstrap": "^4.6.2", "bootstrap-vue": "^2.22.0", "core-js": "^3.25.3", "nuxt": "^2.15.8", "nuxt-mail": "^3.1.14", "vue": "^2.7.10", "vue-server-renderer": "^2.7.10", "vue-template-compiler": "^2.7.10" }, "devDependencies": { "@babel/eslint-parser": "^7.19.1", "@nuxtjs/eslint-config": "^11.0.0", "@nuxtjs/eslint-module": "^3.1.0", "eslint": "^8.24.0", "eslint-plugin-nuxt": "^4.0.0", "eslint-plugin-vue": "^9.5.1" } }

danieldanielecki commented 1 year ago

I have the same problem, also on Nuxt 2.

danieldanielecki commented 1 year ago

@dSchaexn, were you able to make any progress on this item?

danieldanielecki commented 1 year ago

This part which makes it problematic is adding nuxt-mail to nuxt.config.js.