nuxt-modules / robots

Tame the robots crawling and indexing your Nuxt site.
https://nuxtseo.com/robots
MIT License
424 stars 34 forks source link

Invalid host defined options #96

Closed ohot2015 closed 4 months ago

ohot2015 commented 1 year ago

`FATAL Invalid host defined options 16:26:48

at ModuleContainer.module.exports (node_modules/@nuxtjs/robots/dist/module.cjs:2:3) at ModuleContainer.addModule (node_modules/@nuxt/core/dist/core.js:239:34) at node_modules/@nuxt/utils/dist/utils.js:639:43 at async ModuleContainer.ready (node_modules/@nuxt/core/dist/core.js:55:5) at async Nuxt._init (node_modules/@nuxt/core/dist/core.js:478:5)

╭─────────────────────────────────────────────╮ │ │ │ ✖ Nuxt Fatal Error │ │ │ │ TypeError: Invalid host defined options │ │ │ ╰─────────────────────────────────────────────╯

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! m2lab@1.0.0 dev: nuxt npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the m2lab@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: `

node 14.21.3 nuxt 2

"dependencies": { "@nuxt/content": "^1.15.1", "@nuxtjs/axios": "^5.3.6", "@nuxtjs/dotenv": "^1.4.0", "@nuxtjs/gtm": "^2.3.2", "@nuxtjs/robots": "^3.0.0", "@nuxtjs/sitemap": "^2.4.0", "consola": "^2.14.0", "cookie-universal-nuxt": "^2.1.4", "date-fns": "^2.16.1", "date-fns-tz": "^1.0.12", "etag": "^1.8.1", "fresh": "^0.5.2", "nuxt": "^2.15.3", "plural-ru": "^2.0.2", "polylabel": "^1.0.2", "portal-vue": "^2.1.7", "resize-observer-polyfill": "^1.5.1", "v-body-scroll-lock": "^1.1.3", "veeno": "0.0.4", "vue-carousel": "^0.18.0", "vue-cool-lightbox": "^2.7.4", "vue-easy-lightbox": "^0.11.0", "vue-notification": "^1.3.20", "vue-phone-mask-input": "^1.1.11", "vue-scrollto": "^2.18.2", "vue-slider-component": "^3.2.5", "vue-social-sharing": "^2.4.7", "vue-yandex-maps": "^0.10.9", "vue-yandex-metrika": "^1.8.3" }, "devDependencies": { "@nuxt/types": "^0.7.9", "@nuxtjs/eslint-config": "^2.0.0", "@nuxtjs/eslint-module": "^1.0.0", "@nuxtjs/google-analytics": "^2.4.0", "@nuxtjs/style-resources": "^1.0.0", "@nuxtjs/stylelint-module": "^3.1.0", "babel-eslint": "^10.0.1", "deepmerge": "^4.2.2", "eslint": "^6.1.0", "eslint-config-prettier": "^6.10.0", "eslint-plugin-nuxt": ">=0.4.2", "eslint-plugin-prettier": "^3.1.2", "husky": "^4.0.0", "lint-staged": "^10.0.0", "node-sass": "^4.0.0", "prettier": "^1.19.1", "sass": "^1.32.13", "sass-loader": "^7.3.1" }