oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
71.7k stars 2.54k forks source link

vite-plugin-eslint install #10685

Open Josep-Lancharro-Indra opened 1 month ago

Josep-Lancharro-Indra commented 1 month ago

What version of Bun is running?

1.1.6

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

bun install bun run serve

What is the expected behavior?

Run a vue app through vite

What do you see instead?

image

Additional information

It only happens when installing with bun, if i install with yarn or npm the app runs. Additionally if i comment the plugin it also runs.

Josep-Lancharro-Indra commented 1 month ago

Still present on 1.1.8

dylan-conway commented 1 month ago

Can you share the package.json for the project?

Josep-Lancharro-Indra commented 1 month ago

Yeah, sure.

{
  "name": "",
  "version": "",
  "private": false,
  "author": "",
  "scripts": {
    "serve": "vite",
    "serve-local": "vite --mode localhost",
    "serve-dev": "vite --mode development",
    "serve-prod": "vite --mode prod",
    "serve-preview": "vite preview",
    "serve-mock": "yarn serve --mode mock",
    "json-server": "node ./json-server/server.js",
    "local-mock": " run-p json-server serve-mock",
    "build": "vite build --base=/ --mode=production",
    "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
    "test": "vitest",
    "coverage": "vitest run --coverage",
    "lint:styles": "stylelint \"src/**/*.{scss,vue}\"  -f verbose",
    "fix-stylelint": "stylelint \"src/**/*.{scss,vue}\" -f verbose --fix",
    "fix-eslint": "eslint --fix \"src/**/*.{js,vue}\""
  },
  "dependencies": {
    "@syncfusion/ej2-locale": "^25.1.35",
    "@syncfusion/ej2-vue-spreadsheet": "~25.1.40",
    "@vitejs/plugin-vue": "^4.6.2",
    "apexcharts": "^3.48.0",
    "axios": "^1.6.8",
    "decimal.js": "^10.4.3",
    "file-saver": "^2.0.5",
    "register-service-worker": "^1.7.2",
    "sass": "^1.75.0",
    "scrollparent": "^2.1.0",
    "sockjs-client": "^1.6.1",
    "sonarqube-scanner": "^3.4.0",
    "stylelint": "^16.3.1",
    "stylelint-config-rational-order": "^0.1.2",
    "stylelint-config-recommended-scss": "^14.0.0",
    "stylelint-config-standard": "^36.0.0",
    "stylelint-order": "^6.0.4",
    "stylelint-scss": "^6.2.1",
    "stylelint-selector-bem-pattern": "^3.0.1",
    "vee-validate": "^3.4.15",
    "vitest": "^0.34.6",
    "vue": "2.6.14",
    "vue-apexcharts": "^1.6.2",
    "vue-i18n": "^8.28.2",
    "vue-json-excel": "^0.3.0",
    "vue-observe-visibility": "^1.0.0",
    "vue-resize": "^1.0.1",
    "vue-router": "^3.6.5",
    "vuex": "^3.6.2",
    "vuex-persist": "^3.1.3",
    "webstomp-client": "^1.2.6",
    "xlsx": "^0.18.5"
  },
  "devDependencies": {
    "@vitejs/plugin-vue2": "^2.3.1",
    "@vue/eslint-config-standard": "^8.0.1",
    "@vue/test-utils": "^1.3.6",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-sonarjs": "^0.23.0",
    "eslint-plugin-vue": "^9.25.0",
    "jest": "^29.7.0",
    "jsdom": "20.0.3",
    "node-sass": "^8.0.0",
    "npm-run-all": "^4.1.5",
    "sass-loader": "^13.3.3",
    "vite": "^4.5.3",
    "vite-plugin-compression": "^0.5.1",
    "vite-plugin-eslint": "^1.8.1",
    "vite-plugin-require": "^1.1.14",
    "vite-plugin-vue2": "^2.0.3",
    "vue-cli-plugin-pug": "latest",
    "vue-template-compiler": "2.6.14"
  }
}
Josep-Lancharro-Indra commented 3 days ago

Still present on 1.1.17