Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SSR][vite:ssr-manifest] The "path" argument must be of type string. Received undefined #9292

Closed
7 tasks done
kimmy-wang opened this issue Jul 22, 2022 · 2 comments
Closed
7 tasks done

Comments

@kimmy-wang
Copy link

Describe the bug

rendering chunks (56)...[vite:ssr-manifest] The "path" argument must be of type string. Received undefined
error during build:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at new NodeError (internal/errors.js:322:7)
    at validateString (internal/validators.js:124:11)
    at Object.basename (path.js:1281:5)
    at Object.generateBundle (/Users/ying/workspace/pro-vip/node_modules/vite/dist/node/chunks/dep-27bc1ab8.js:38775:52)
    at /Users/ying/workspace/pro-vip/node_modules/rollup/dist/shared/rollup.js:22823:37
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Reproduction

dscsc

System Info

System:
    OS: macOS 12.5
    CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
    Memory: 2.80 GB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
    Yarn: 1.22.18 - /usr/local/bin/yarn
    npm: 6.14.16 - ~/.nvm/versions/node/v14.19.0/bin/npm
  Browsers:
    Chrome: 103.0.5060.134
    Safari: 15.6
  npmPackages:
    @vitejs/plugin-legacy: ^1.8.0 => 1.8.1 
    @vitejs/plugin-vue: ^2.3.1 => 2.3.1 
    @vitejs/plugin-vue-jsx: ^1.3.9 => 1.3.10 
    vite: ^2.9.1 => 2.9.5

Used Package Manager

yarn

Logs

No response

Validations

@github-actions
Copy link

Hello @see. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.

@kimmy-wang
Copy link
Author

Internal projects of the company, temporarily unavailable.

"dependencies": {
    "@ant-design/icons-vue": "^6.1.0",
    "@umijs/ssr-darkreader": "^4.9.45",
    "ant-design-vue": "^3.1.1",
    "axios": "^0.27.2",
    "core-js": "^3.21.1",
    "echarts": "^4.9.0",
    "http-status": "^1.5.2",
    "lodash.clonedeep": "^4.5.0",
    "lodash.debounce": "^4.0.8",
    "lodash.findlast": "^4.6.0",
    "lodash.groupby": "^4.6.0",
    "lodash.intersection": "^4.4.0",
    "lodash.isarray": "^4.0.0",
    "lodash.isequal": "^4.5.0",
    "lodash.omit": "^4.5.0",
    "lodash.toarray": "^4.4.0",
    "lodash.xor": "^4.5.0",
    "nprogress": "^0.2.0",
    "numeral": "^2.0.6",
    "resize-detector": "^0.3.0",
    "screenfull": "^6.0.1",
    "scroll-into-view-if-needed": "^2.2.29",
    "smooth-dnd": "^0.12.1",
    "store": "^2.0.12",
    "vue": "~3.2.37",
    "vue-i18n": "~9.2.0-0",
    "vue-router": "^4.0.14",
    "vuex": "~4.0.2",
    "vuex-persistedstate": "^4.1.0"
  },
  "devDependencies": {
    "@babel/plugin-transform-spread": "^7.16.7",
    "@babel/plugin-transform-typescript": "^7.16.8",
    "@types/echarts": "^4.9.13",
    "@types/lodash.clonedeep": "^4.5.6",
    "@types/lodash.debounce": "^4.0.6",
    "@types/lodash.findlast": "^4.6.6",
    "@types/lodash.groupby": "^4.6.6",
    "@types/lodash.intersection": "^4.4.6",
    "@types/lodash.isarray": "^4.0.6",
    "@types/lodash.isequal": "^4.5.6",
    "@types/lodash.omit": "^4.5.6",
    "@types/lodash.toarray": "^4.4.6",
    "@types/lodash.xor": "^4.5.6",
    "@types/node": "^17.0.23",
    "@types/nprogress": "^0.2.0",
    "@types/numeral": "2.0.2",
    "@types/store": "^2.0.2",
    "@typescript-eslint/eslint-plugin": "^5.18.0",
    "@typescript-eslint/parser": "^5.18.0",
    "@vitejs/plugin-legacy": "^1.8.0",
    "@vitejs/plugin-vue": "^2.3.1",
    "@vitejs/plugin-vue-jsx": "^1.3.9",
    "@vue/cli-plugin-babel": "~5.0.4",
    "@vue/cli-plugin-eslint": "~5.0.4",
    "@vue/cli-plugin-router": "~5.0.4",
    "@vue/cli-plugin-typescript": "~5.0.4",
    "@vue/cli-plugin-vuex": "~5.0.4",
    "@vue/cli-service": "~5.0.4",
    "@vue/compiler-sfc": "~3.2.37",
    "@vue/eslint-config-prettier": "^7.0.0",
    "@vue/eslint-config-typescript": "^10.0.0",
    "babel-eslint": "^10.1.0",
    "babel-plugin-import": "^1.13.3",
    "cheerio": "^1.0.0-rc.10",
    "cross-env": "^7.0.3",
    "echarts-wordcloud": "^1.1.3",
    "eslint": "^8.12.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-vue": "^8.6.0",
    "express": "^4.17.3",
    "husky": "^7.0.4",
    "kill-port-process": "^3.0.1",
    "less": "^4.1.2",
    "less-loader": "^10.2.0",
    "lint-staged": "^12.3.7",
    "mockjs": "^1.1.0",
    "prettier": "^2.6.2",
    "prettier-plugin-style-order": "^0.2.2",
    "prettier-quick": "^0.0.5",
    "raw-loader": "^4.0.2",
    "stylelint": "^14.6.1",
    "stylelint-config-css-modules": "^4.1.0",
    "stylelint-config-prettier": "^9.0.3",
    "stylelint-config-rational-order": "^0.1.2",
    "stylelint-config-standard": "^25.0.0",
    "stylelint-declaration-block-no-ignored-properties": "^2.5.0",
    "stylelint-no-unsupported-browser-features": "^5.0.3",
    "stylelint-order": "^5.0.0",
    "stylelint-webpack-plugin": "^3.2.0",
    "typescript": "~4.6.3",
    "umi-mock-middleware": "^1.0.0",
    "vite": "^2.9.1",
    "vite-plugin-style-import": "^2.0.0",
    "vue-eslint-parser": "^8.3.0",
    "vue-tsc": "^0.33.9",
    "webpack-bundle-analyzer": "^4.5.0"
  },

@github-actions github-actions bot locked and limited conversation to collaborators Aug 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants