Skip to content

Instantly share code, notes, and snippets.

@aenario
Created February 9, 2017 16:25
Show Gist options
  • Save aenario/94f8d1bbf53b1bb69afbc48e77f19689 to your computer and use it in GitHub Desktop.
Save aenario/94f8d1bbf53b1bb69afbc48e77f19689 to your computer and use it in GitHub Desktop.
yarn run v0.17.8
$ "/home/romain/Cozy/cozy-client-js/node_modules/.bin/prebuild"
prebuild info begin Prebuild version 4.5.0
/home/romain/Cozy/cozy-client-js/node_modules/prebuild/prebuild.js:14
if (target[0] !== 'v') target = 'v' + target
^
TypeError: Cannot read property '0' of undefined
at prebuild (/home/romain/Cozy/cozy-client-js/node_modules/prebuild/prebuild.js:14:13)
at /home/romain/Cozy/cozy-client-js/node_modules/prebuild/bin.js:87:5
at /home/romain/Cozy/cozy-client-js/node_modules/async/lib/async.js:181:20
at iterate (/home/romain/Cozy/cozy-client-js/node_modules/async/lib/async.js:262:13)
at Object.async.forEachOfSeries.async.eachOfSeries (/home/romain/Cozy/cozy-client-js/node_modules/async/lib/async.js:281:9)
at Object.async.forEachSeries.async.eachSeries (/home/romain/Cozy/cozy-client-js/node_modules/async/lib/async.js:214:22)
at Object.<anonymous> (/home/romain/Cozy/cozy-client-js/node_modules/prebuild/bin.js:86:9)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
error Command failed with exit code 1
@fcpauldiaz
Copy link

How do you fix this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment