我一邊跑喲Web應用中得到一個錯誤容易與須藤 - 喲web應用
請幫我出「易與須藤約曼是主人在這裏。」我遵循yoeman.io網站上的相同說明。
沒有sudo,就在/ usr /節點/運行帶有改爲777使用chmod目錄,
錯誤:EACCES,權限被拒絕「/home/manish/.config/configstore/insight-yo.yml Object.create.all.set(/ home/manish/local/bin)中的Object.fs.writeFileSync(fs.js:966:15)處的Object.fs.openSync(fs.js:427:18)處的 LIB/node_modules /喲/ node_modules /洞察/ node_modules/configstore/configstore.js:39:7) 在Object.Configstore(/家/馬尼什/ local/lib目錄/ node_modules /喲/ node_modules /洞察/ node_modules/configstore/configstore .js文件:30:11) 在新的洞察(/家/馬尼什/ local/lib目錄/ node_modules /喲/ node_modules /洞察/ lib中/我nsight.js:20:16) 在對象。 (/家/馬尼什/ local/lib目錄/ node_modules /喲/斌/喲:26:15) 在Module._compile(module.js:456:26) 在Object.Module._extensions..js(module.js :474:10) 在Module.load(module.js:356:32) 在Function.Module._load(module.js:312:12)
酷..但我我正在談論用「Yo webapp」搭建應用程序的腳手架。如果我不root權限運行它,我得到的是我沒有來運行它,因爲我不是root權限的錯誤。 –
你在哪裏創建你的應用程序?如果你嘗試在〜/目錄下創建它,那麼它應該在/ usr/node下沒有sudo –
。那麼我應該怎麼做才能在/ usr/node下創建應用程序? –