yarnpkg / berry

📦🐈 Active development trunk for Yarn ⚒
https://yarnpkg.com
BSD 2-Clause "Simplified" License
7.23k stars 1.07k forks source link

Error: ENOTSUP: operation not supported on socket, symlink #4585

Open eguvenc opened 2 years ago

eguvenc commented 2 years ago

Hi i get this error when i am install yarn command and yarn serve command does not work.

vue-cli-service serve /bin/sh: 1: vue-cli-service: not found error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

VM Ware OS: Ubuntu Server 22.04

Arguments: /usr/bin/node /usr/share/yarn/bin/yarn.js

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

Yarn version: 1.22.19

Node version: 16.15.1

Platform: linux x64

Trace: Error: ENOTSUP: operation not supported on socket, symlink '../vue-cli-base' -> '/mnt/hgfs/www/pernet-web/node_modules/vue-cli-base'

npm manifest: { "name": "root", "description": "Vuetify Admin", "repository": "https://github.com/okami101/vuetify-admin", "author": "Adrien Beaudouin", "license": "MIT", "private": true, "scripts": { "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs", "lint": "eslint --ext .js,.vue packages/admin packages/cli" }, "devDependencies": { "@vue/cli-plugin-eslint": "^4.5.6", "@vue/eslint-config-prettier": "^6.0.0", "@vuepress/plugin-back-to-top": "^1.5.4", "@vuepress/plugin-google-analytics": "^1.5.4", "@vuepress/plugin-medium-zoom": "^1.5.4", "@vuepress/plugin-pwa": "^1.5.4", "babel-eslint": "^10.1.0", "eslint": "^7.8.1", "eslint-plugin-prettier": "^3.1.3", "eslint-plugin-vue": "^7.0.0", "lerna": "^3.22.0", "prettier": "^2.1.1", "vuepress": "^1.5.4", "vuepress-plugin-code-copy": "^1.0.6", "vuepress-plugin-element-tabs": "^0.2.8", "vuepress-plugin-sitemap": "^2.3.1" }, "workspaces": [ "packages/admin", "packages/cli", "vue-cli-base", "examples/demo", "examples/demo-retail", "examples/tutorial", "examples/api-platform", "examples/laravel/admin" ], "dependencies": { "@grapecity/wijmo.vue2.all": "^5.20221.842", "bootstrap": "^5.1.3", "moment": "^2.29.3", "update": "^0.7.4", "v-money": "^0.8.1", "vue-chartist": "^3.0.0", "vue-currency-input": "^2.4.0", "vue-editable-grid": "^0.3.19", "vue-phone-country-code": "^1.1.17", "vue-phone-number-input": "^1.1.12" } }

yarn manifest: No manifest

Lockfile: No lockfile

jonshipman commented 1 year ago

Your filesystem does not support symlinks.

Niryo commented 11 months ago

it happens to me to on macbook pro m2 ventura. update: after investigating for a bit, I found out that the link process is failing while trying to copy a symlink to dir. I was able to reproduce it without yarn by trying to use "fs.copyFile" on the symlink.