Closed UltCombo closed 9 years ago
@jaydson please take a look.
It didn't worked for me.
after run npm link
(the build worked well, passing all tests) i get this odd log:
[23:27:55] Finished 'build' after 3.86 s /home/jaydson/.nvm/v0.11.14/bin/harmonic -> /home/jaydson/.nvm/v0.11.14/lib/node_modules/harmonic/entry_points/harmonic.js /home/jaydson/.nvm/v0.11.14/lib/node_modules/harmonic -> /home/jaydson/Workspace/harmonic jaydson@jaydson:~/Workspace/harmonic$
After that, running harmonic
i get this error:
/home/jaydson/.nvm/v0.11.14/bin/harmonic: line 1: use strict: command not found /home/jaydson/.nvm/v0.11.14/bin/harmonic: line 3: syntax error near unexpected token
'./lib/polyfill''
/home/jaydson/.nvm/v0.11.14/bin/harmonic: line 3: require('./lib/polyfill');'
I'm missing something?
I also tried to remove npm_modules
and reinstall all dependencies.
Node versions i tested: 0.10.36 and 0.11.14
@jaydson oops, I forgot the hashbang. Pull and try again. :D
And now, it's working :+1:
yay :+1:
We need to update the Wiki sometime.
Apart from adding Node 0.10 compatibility, this commit also includes:
package.json
'sfiles
. The newly added entry points directory is not transpiled as to not breaknpm link
(#93). The entry points directory contains virtually no logic, it simply abstracts away the polyfills required by 6to5 as to not pollute the mainsrc
files, andrequire()
s the actual entry point logic which resides in thesrc
directory.NOTE: you may need to
npm link
again after pulling this commit.Resolves #106