peterjosling / traceur-brunch

Adds Traceur ES6 transpiler support to brunch
2 stars 3 forks source link

NPM 3.x support #4

Open wekyle opened 8 years ago

wekyle commented 8 years ago
> brunch b -p

Reading { [Error: ENOENT: no such file or directory, open 'node_modules/traceur-brunch/node_modules/traceur/bin/traceur-runtime.js']
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'node_modules/traceur-brunch/node_modules/traceur/bin/traceur-runtime.js' }

This plugin breaks when installed via npm >= 3.0.0 due to npm@3's new flat dependency structure.

The offending line is line 49: path.join(__dirname, 'node_modules', 'traceur', 'bin', 'traceur-runtime.js')

arjan commented 8 years ago

Bump?

wekyle commented 8 years ago

@arjan FYI, I have a fork that works with npm3 https://github.com/wekyle/traceur-brunch

arjan commented 8 years ago

Thanks, yeah I started using your branch indeed. Maybe do a PR here?

joshvillbrandt commented 7 years ago

+1

lukaszkups commented 6 years ago

+1