cordova create hello com.example.hello HelloWorld -- permission denied

163 views
Skip to first unread message

OVERBLAST MUSIC

unread,
Apr 25, 2018, 4:27:06 PM4/25/18
to phonegap
hi! I've installed cordova but when I try to create my first app it tells me this error

/usr/local/lib/node_modules/cordova/node_modules/insight/node_modules/configstore/index.js:53
                throw err;
                ^

Error: EACCES: permission denied, open '/Users/robertamarino/.config/configstore/insight-cordova.json'
You don't have access to this file.

    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at Configstore.get (/usr/local/lib/node_modules/cordova/node_modules/insight/node_modules/configstore/index.js:34:26)
    at new Configstore (/usr/local/lib/node_modules/cordova/node_modules/insight/node_modules/configstore/index.js:27:45)
    at new Insight (/usr/local/lib/node_modules/cordova/node_modules/insight/lib/index.js:38:34)
    at Object.<anonymous> (/usr/local/lib/node_modules/cordova/src/telemetry.js:26:15)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)

do you know how to fix it?

Diego La Monica

unread,
Apr 25, 2018, 4:34:03 PM4/25/18
to phon...@googlegroups.com
It seems permission problems, try to prefix the command with a sudo.
However I recommend you to make a clean install of Cordova CLI (the most of the causes of permission denied messages).

Good luck

--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Diego La Monica - Web & Mobile App Developer

IWA Member #0279702 - Professionista Web di cui alla legge 4/2013


toSend.it di La Monica Diego - Leading IT Evolution

Partita IVA 02226040505 - Codice Fiscale LMNDGI77D26F839C

email: diego.l...@gmail.com - in...@tosend.it - twitter @jast

mobile +393337235382 - Web: http://diegolamonica.info


Reply all
Reply to author
Forward
0 new messages