当我在cmd提示符下键入yarn
时,我看到了这一点,
yarn install v1.16.0
Error: EISDIR: illegal operation on a directory, read
at Object.fs.readSync (fs.js:675:18)
at tryReadSync (fs.js:540:20)
at Object.fs.readFileSync (fs.js:583:19)
at onUnexpectedError (C:\Program Files (x86)\Yarn\lib\cli.js:87748:106)
at C:\Program Files (x86)\Yarn\lib\cli.js:87858:9
at <anonymous>
这是日志文件
Arguments:
C:\cygwin64\home\kjeeva\ANSYSDev\Licensing194\LicensingPortal\node\node-v8.12.0-win-x64\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js
PATH:
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program Files\Google\Google Apps Sync\;C:\Program Files\TortoiseGit\bin;C:\Program Files\Git\cmd;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\cygwin64\bin;C:\Program Files\MongoDB\Server\4.0\bin;C:\Python27;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Yarn\bin\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\kjeeva\AppData\Roaming\nvm;C:\Program Files\nodejs;C:\cygwin64\home\kjeeva\ANSYSDev\Licensing194\LicensingPortal\node\node-v8.12.0-win-x64;C:\Users\kjeeva\AppData\Local\Microsoft\WindowsApps;C:\Users\kjeeva\.dotnet\tools;C:\Users\kjeeva\AppData\Local\Yarn\bin;C:\Users\kjeeva\AppData\Roaming\nvm;C:\Program Files\nodejs
Yarn version:
1.16.0
Node version:
8.12.0
Platform:
win32 x64
Trace:
Error: EISDIR: illegal operation on a directory, read
npm manifest:
{
"name": "democls",
"productName": "democls",
"version": "1.0.0",
"description": "My Electron application description",
"main": "src/index.js",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "eslint src --color"
},
"keywords": [],
"author": "kjeeva",
"license": "MIT",
"config": {
"forge": {
"make_targets": {
"win32": [
"squirrel"
],
"darwin": [
"zip"
],
"linux": [
"deb",
"rpm"
]
},
"electronPackagerConfig": {
"packageManager": "yarn"
},
"electronWinstallerConfig": {
"name": "democls"
},
"electronInstallerDebian": {},
"electronInstallerRedhat": {},
"github_repository": {
"owner": "",
"name": ""
},
"windowsStoreConfig": {
"packageName": "",
"name": "democls"
}
}
}
}
yarn manifest:
No manifest
Lockfile:
No lockfile
谁能告诉我这到底是什么问题?