This question is locked. New answers and comments are not allowed.
I tried installing appbuilder using sudo npm install -g appbuilder
When I try to run appbuilder, it says:
Error: Future resolved more than once
at Object.Future.throw (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:272:10)
at WriteStream.<anonymous> (/usr/local/lib/node_modules/appbuilder/lib/common/file-system.js:129:32)
at WriteStream.g (events.js:180:16)
at WriteStream.EventEmitter.emit (events.js:95:17)
at WriteStream.<anonymous> (fs.js:1660:12)
at OpenReq.Req.done (/usr/local/lib/node_modules/appbuilder/node_modules/watchr/node_modules/safefs/node_modules/graceful-fs/graceful-fs.js:143:5)
at OpenReq.done (/usr/local/lib/node_modules/appbuilder/node_modules/watchr/node_modules/safefs/node_modules/graceful-fs/graceful-fs.js:63:22)
at Object.oncomplete (fs.js:107:15)
It works if I run it with sudo appbuilder
The problem is that if I create any files, the permissions of all the files that the appbuilder creates are all bound to the sudo privilege. I can't edit files because they are write protected to normal users. I tried installing the appbuilder module in my home directory, and running the script in the bin in there, but it raises the same Future problem.
When I try to run appbuilder, it says:
Error: Future resolved more than once
at Object.Future.throw (/usr/local/lib/node_modules/appbuilder/node_modules/fibers/future.js:272:10)
at WriteStream.<anonymous> (/usr/local/lib/node_modules/appbuilder/lib/common/file-system.js:129:32)
at WriteStream.g (events.js:180:16)
at WriteStream.EventEmitter.emit (events.js:95:17)
at WriteStream.<anonymous> (fs.js:1660:12)
at OpenReq.Req.done (/usr/local/lib/node_modules/appbuilder/node_modules/watchr/node_modules/safefs/node_modules/graceful-fs/graceful-fs.js:143:5)
at OpenReq.done (/usr/local/lib/node_modules/appbuilder/node_modules/watchr/node_modules/safefs/node_modules/graceful-fs/graceful-fs.js:63:22)
at Object.oncomplete (fs.js:107:15)
It works if I run it with sudo appbuilder
The problem is that if I create any files, the permissions of all the files that the appbuilder creates are all bound to the sudo privilege. I can't edit files because they are write protected to normal users. I tried installing the appbuilder module in my home directory, and running the script in the bin in there, but it raises the same Future problem.