ember-no-implicit-this-codemod
ember-no-implicit-this-codemod copied to clipboard
Tests do not pass on Windows
Steps to repro:
- Clone the repo
- Restore packages with
yarn - Run
yarn test
C:\code\ember-no-implicit-this-codemod>ember version --verbose && npm --version && yarn --version
ember-cli: 3.11.0-beta.3
http_parser: 2.8.0
node: 10.16.0
v8: 6.8.275.32-node.52
uv: 1.28.0
zlib: 1.2.11
brotli: 1.0.7
ares: 1.15.0
modules: 64
nghttp2: 1.34.0
napi: 4
openssl: 1.1.1b
icu: 64.2
unicode: 12.1
cldr: 35.1
tz: 2019a
os: win32 x64
6.9.0
1.15.2
I'm getting this on Windows too
Error: EEXIST: file already exists, mkdir 'C:\Users\kelly\AppData\Local\Temp\kelly\if-you-need-to-delete-this-open-an-issue-sync-disk-cache'
at Object.mkdirSync (fs.js:764:3)
at sync (C:\Users\kelly\AppData\Roaming\npm-cache\_npx\4824\node_modules\ember-no-implicit-this-codemod\node_modules\mkdirp\index.js:71:13)
@kellyselden - were you also running the tests in this packages test suite or actually running the codemod on your app?
I was trying to get it to work in ember-cli-update, so the code looked something like this.
cp.spawn('npx', ['ember-no-implicit-this-codemod', url, 'app/'], { shell: true });
is this still an issue?