Advertisement
Guest User

No sudo command

a guest
Feb 3rd, 2014
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. sylvian@sylvianLaptop:~/cordova/Test$ echo $PATH
  2. /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/sylvian/adt-bundle-linux-x86_64-20131030/sdk/tools::/home/sylvian/adt-bundle-linux-x86_64-20131030/sdk/platform-tools
  3. sylvian@sylvianLaptop:~/cordova/Test$ cordova platforms add android
  4. Creating android project...
  5. Error: An error occured during creation of android sub-project. Creating Cordova project for the Android platform:
  6. Path: platforms/android
  7. Package: fr.moi.test
  8. Name: Test
  9. Android target: android-19
  10. Copying template files...
  11. shell.js: internal error
  12. Error: ENOENT, no such file or directory 'platforms/android/assets'
  13. at Object.fs.mkdirSync (fs.js:642:18)
  14. at /home/sylvian/.cordova/lib/android/cordova/3.3.0/bin/node_modules/shelljs/src/cp.js:173:14
  15. at Array.forEach (native)
  16. at Object._cp (/home/sylvian/.cordova/lib/android/cordova/3.3.0/bin/node_modules/shelljs/src/cp.js:156:11)
  17. at Object.cp (/home/sylvian/.cordova/lib/android/cordova/3.3.0/bin/node_modules/shelljs/src/common.js:172:23)
  18. at /home/sylvian/.cordova/lib/android/cordova/3.3.0/bin/lib/create.js:161:19
  19. at setShellFatal (/home/sylvian/.cordova/lib/android/cordova/3.3.0/bin/lib/create.js:45:5)
  20. at /home/sylvian/.cordova/lib/android/cordova/3.3.0/bin/lib/create.js:159:9
  21. at _fulfilled (/home/sylvian/.cordova/lib/android/cordova/3.3.0/bin/node_modules/q/q.js:798:54)
  22. at self.promiseDispatch.done (/home/sylvian/.cordova/lib/android/cordova/3.3.0/bin/node_modules/q/q.js:827:30)
  23.  
  24.  
  25. at /usr/lib/node_modules/cordova/src/platform.js:282:30
  26. at ChildProcess.exithandler (child_process.js:641:7)
  27. at ChildProcess.EventEmitter.emit (events.js:98:17)
  28. at maybeClose (child_process.js:743:16)
  29. at Socket.<anonymous> (child_process.js:956:11)
  30. at Socket.EventEmitter.emit (events.js:95:17)
  31. at Pipe.close (net.js:466:12)
  32. sylvian@sylvianLaptop:~/cordova/Test$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement