Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

/usr/local/lib/node_modules/truffle/node_modules/ether-pudding/loader.js:19 #59

Closed
ghost opened this issue Dec 1, 2015 · 4 comments
Closed

Comments

@ghost
Copy link

ghost commented Dec 1, 2015

root@vagrant:/home/vagrant# mkdir truffle-test
root@vagrant:/home/vagrant# cd truffle-test/
root@vagrant:/home/vagrant/truffle-test# truffle init

/usr/local/lib/node_modules/truffle/node_modules/ether-pudding/loader.js:19
for (var file of files) {
^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Module._extensions..js (module.js:474:10)
at Object.require.extensions.(anonymous function) as .js
at Module.load (/usr/local/lib/node_modules/truffle/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/truffle/lib/exec.es6:9:21)
at Module._compile (module.js:456:26)
at normalLoader (/usr/local/lib/node_modules/truffle/node_modules/babel/node_modules/babel-core/lib/api/register/node.js:199:5)
at Object.require.extensions.(anonymous function) as .es6
at Module.load (/usr/local/lib/node_modules/truffle/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/truffle/lib/config.es6:12:12)
at Module._compile (module.js:456:26)
at normalLoader (/usr/local/lib/node_modules/truffle/node_modules/babel/node_modules/babel-core/lib/api/register/node.js:199:5)
at Object.require.extensions.(anonymous function) as .es6
at Module.load (/usr/local/lib/node_modules/truffle/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/truffle/truffle.es6:14:14)
at Module._compile (module.js:456:26)
at normalLoader (/usr/local/lib/node_modules/truffle/node_modules/babel/node_modules/babel-core/lib/api/register/node.js:199:5)
at Object.require.extensions.(anonymous function) as .es6
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at Object. (/usr/local/lib/node_modules/truffle/node_modules/babel/lib/_babel-node.js:144:25)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3

@ramtej
Copy link

ramtej commented Dec 24, 2015

same issues here

@reivan
Copy link

reivan commented Dec 26, 2015

I've got around this by installing node 5.3.

@alexfisher
Copy link

Using node 5.3 got rid of this error for me, too.

@tcoulter
Copy link
Contributor

Hi there. Looks like there has been a solution to this, so I'm going to close for housekeeping purposes. If you run into more trouble, don't hesitate to ask the Truffle Gitter for help or file a new ticket. Cheers!

nakajo2011 pushed a commit to nakajo2011/truffle that referenced this issue Aug 7, 2018
Fix confusing distinction between `next` and `current`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants