vendredi 30 juin 2017

ember-cli on Windows, VSCode (Visual Studio Code), "EPERM: operation not permitted, mkdir" many times when I save

I'm on Windows 10 x64, VSCode (Visual Studio Code, both Stable and Insiders).

"EPERM: operation not permitted, mkdir" many times when I save. I just save again and the problem disappears. But is very annoying...

Using "handle.exe" this is my situation in my EmberApp folder:

$ handle -a tmp

Nthandle v4.1 - Handle viewer
Copyright (C) 1997-2016 Mark Russinovich
Sysinternals - www.sysinternals.com

svchost.exe        pid: 3892   type: File           520: C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Windows\Notifications\WPNPRMRY.tmp
svchost.exe        pid: 6032   type: File           2A8: C:\Users\Nickname\AppData\Local\Microsoft\Windows\Notifications\WPNPRMRY.tmp
Code.exe           pid: 6872   type: File            D4: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp\routes
Code.exe           pid: 6872   type: File            D4: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp\routes
Code.exe           pid: 6872   type: File           3E0: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp\routes\authors\book
Code.exe           pid: 6872   type: File           3E0: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp\routes\authors\book
Code.exe           pid: 6872   type: File           440: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp\routes\authors
Code.exe           pid: 6872   type: File           440: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp\routes\authors
Code.exe           pid: 6872   type: File           450: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp
Code.exe           pid: 6872   type: File           450: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp
Code.exe           pid: 6872   type: File           470: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp\routes\authors\book\sum
Code.exe           pid: 6872   type: File           470: C:\projects\emberApp\tmp\funnel-output_path-2vNvynVB.tmp\routes\authors\book\sum
Code.exe           pid: 6872   type: File           478: C:\projects\emberApp\tmp\filter-tmp_dest_dir-n4SyE39H.tmp
Code.exe           pid: 6872   type: File           478: C:\projects\emberApp\tmp\filter-tmp_dest_dir-n4SyE39H.tmp
Code.exe           pid: 6872   type: File           478: C:\projects\emberApp\tmp\filter-tmp_dest_dir-n4SyE39H.tmp
Code.exe           pid: 6872   type: File           47C: C:\projects\emberApp\tmp

My VSCode settings are:

{
  "files.exclude": {
    "node_modules": true,
    "typings": true,
    "tmp": true,
    "dist": true,
    "coverage": true
  },
  "files.watcherExclude": {
    "**/tmp/**": true,
    "**/tmp": true,
    "**/node_modules/**": true
  },
  "search.exclude": {
    "tmp": true,
    "vendor": true
  }
}

I tried also everything possible: **/tmp or tmp alone. Everything and I reloaded every time VSCode. Nothing, after the first save the problem.

My jsconfig.json:

{
  "compilerOptions": {
    "target": "es6",
    "experimentalDecorators": true
  },
  "exclude": ["node_modules", "bower_components", "tmp", "vendor", ".git", "dist"]
}

Also I don't have any extension in VSCode.


Output from ember version --verbose && npm --version && yarn --version:

ember-cli: 2.13.2
http_parser: 2.7.0
node: 7.10.0
v8: 5.5.372.43
uv: 1.11.0
zlib: 1.2.11
ares: 1.10.1-DEV
modules: 51
openssl: 1.0.2k
icu: 58.2
unicode: 9.0
cldr: 30.0.3
tz: 2016j
os: win32 x64
5.0.3
0.24.5

  • VSCode Version: 1.13.1
  • OS Version: Windows 10.1 x64



Aucun commentaire:

Enregistrer un commentaire