You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2019. It is now read-only.
I just tried using tape-to-ava and got this error on terminal.
➜ serializeJSON tape-to-ava serializeJSON.test.js -f
fatal: Not a git repository (or any of the parent directories): .git
WARNING: Unable to determine if git directory is clean. Forcibly continuing. Ensure you have a backup of your tests or commit the latest changes before continuing.
Executing command: jscodeshift -t /usr/local/lib/node_modules/ava-codemods/lib/tape.js serializeJSON.test.js
Processing 1 files...
Spawning 1 workers...
Sending 1 files to free worker...
/usr/local/lib/node_modules/ava-codemods/lib/tape.js:115
export default function tapeToAva(fileInfo, api) {
^^^^^^
SyntaxError: Unexpected token export
at Object.exports.runInThisContext (vm.js:78:16)
at Module._compile (module.js:543:28)
at Module._extensions..js (module.js:580:10)
at Object.require.extensions.(anonymous function) [as .js] (/usr/local/lib/node_modules/ava-codemods/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at setup (/usr/local/lib/node_modules/ava-codemods/node_modules/jscodeshift/dist/Worker.js:67:18)
All done.
Results:
0 errors
0 unmodified
0 skipped
0 ok
Time elapsed: 2.567seconds
I'm running on node 7.2.1.
The text was updated successfully, but these errors were encountered:
@novemberborn any progress on this? If tape-to-ava does not work on any node version it seems like it should be deprecated/removed entirely from ava-codemods.
I just tried using tape-to-ava and got this error on terminal.
I'm running on node 7.2.1.
The text was updated successfully, but these errors were encountered: