Closed ehsankhf closed 8 years ago
Got the same problem on Windows 10 after npm install -g volo
, then volo create bar volojs/create-responsive-template
. See screenshot below.
I ran into this issue as well, and managed to work around it by using Node 0.10.x (with nvm). It seems Node >0.11 has some backwards incompatible changes that lead to this error.
Turns out this was an assignment to a string that is no longer allowed, and while I was planning to use that for some future thing, looks like it is not used now, so I just removed it. Published 0.3.7 on npm with the change.
I am noticing that the package.json dependencies used are old, and having trouble with the tests passing now. Not sure I will sort all of that out now, but at least this error should not show up now.
I followed the wiki instruction of creating a volofile. After running "volo lint" or "volo uglify", I receive the following error:
/usr/local/lib/node_modules/volo/lib/v.js:316 okResponse.exitCode = code; ^
TypeError: Cannot assign to read only property 'exitCode' of at ChildProcess. (/usr/local/lib/node_modules/volo/lib/v.js:316:49)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)