Advertisement
Guest User

Untitled

a guest
May 27th, 2018
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.39 KB | None | 0 0
  1. lion_el@wh-gl-hf ~/projects/oskoltrans $ sudo npm install
  2.  
  3. > node-sass@4.9.0 install /home/lion_el/projects/oskoltrans/node_modules/node-sass
  4. > node scripts/install.js
  5.  
  6. Unable to save binary /home/lion_el/projects/oskoltrans/node_modules/node-sass/vendor/linux-x64-64 : { Error: EACCES: permission denied, mkdir '/home/lion_el/projects/oskoltrans/node_modules/node-sass/vendor'
  7.     at Object.fs.mkdirSync (fs.js:872:3)
  8.     at sync (/home/lion_el/projects/oskoltrans/node_modules/mkdirp/index.js:71:13)
  9.     at Function.sync (/home/lion_el/projects/oskoltrans/node_modules/mkdirp/index.js:77:24)
  10.     at checkAndDownloadBinary (/home/lion_el/projects/oskoltrans/node_modules/node-sass/scripts/install.js:114:11)
  11.     at Object.<anonymous> (/home/lion_el/projects/oskoltrans/node_modules/node-sass/scripts/install.js:157:1)
  12.     at Module._compile (internal/modules/cjs/loader.js:702:30)
  13.     at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
  14.     at Module.load (internal/modules/cjs/loader.js:612:32)
  15.     at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
  16.     at Function.Module._load (internal/modules/cjs/loader.js:543:3)
  17.   errno: -13,
  18.   syscall: 'mkdir',
  19.   code: 'EACCES',
  20.   path:
  21.    '/home/lion_el/projects/oskoltrans/node_modules/node-sass/vendor' }
  22.  
  23. > node-sass@4.9.0 postinstall /home/lion_el/projects/oskoltrans/node_modules/node-sass
  24. > node scripts/build.js
  25.  
  26. Building: /usr/local/bin/node /home/lion_el/projects/oskoltrans/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
  27. gyp info it worked if it ends with ok
  28. gyp verb cli [ '/usr/local/bin/node',
  29. gyp verb cli   '/home/lion_el/projects/oskoltrans/node_modules/node-gyp/bin/node-gyp.js',
  30. gyp verb cli   'rebuild',
  31. gyp verb cli   '--verbose',
  32. gyp verb cli   '--libsass_ext=',
  33. gyp verb cli   '--libsass_cflags=',
  34. gyp verb cli   '--libsass_ldflags=',
  35. gyp verb cli   '--libsass_library=' ]
  36. gyp info using node-gyp@3.6.2
  37. gyp info using node@10.2.1 | linux | x64
  38. gyp verb command rebuild []
  39. gyp verb command clean []
  40. gyp verb clean removing "build" directory
  41. gyp verb command configure []
  42. gyp verb check python checking for Python executable "python2" in the PATH
  43. gyp verb `which` succeeded python2 /usr/bin/python2
  44. gyp verb check python version `/usr/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.12\n"
  45. gyp verb get node dir no --target version specified, falling back to host node version: 10.2.1
  46. gyp verb command install [ '10.2.1' ]
  47. gyp verb install input version string "10.2.1"
  48. gyp verb install installing version: 10.2.1
  49. gyp verb install --ensure was passed, so won't reinstall if already installed
  50. gyp verb install version is already installed, need to check "installVersion"
  51. gyp verb got "installVersion" 9
  52. gyp verb needs "installVersion" 9
  53. gyp verb install version is good
  54. gyp verb get node dir target node version installed: 10.2.1
  55. gyp verb build dir attempting to create "build" dir: /home/lion_el/projects/oskoltrans/node_modules/node-sass/build
  56. gyp ERR! configure error
  57. gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/lion_el/projects/oskoltrans/node_modules/node-sass/build'
  58. gyp ERR! System Linux 4.13.0-43-generic
  59. gyp ERR! command "/usr/local/bin/node" "/home/lion_el/projects/oskoltrans/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  60. gyp ERR! cwd /home/lion_el/projects/oskoltrans/node_modules/node-sass
  61. gyp ERR! node -v v10.2.1
  62. gyp ERR! node-gyp -v v3.6.2
  63. gyp ERR! not ok
  64. Build failed with error code: 1
  65. npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
  66. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
  67. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
  68.  
  69. npm ERR! code ELIFECYCLE
  70. npm ERR! errno 1
  71. npm ERR! node-sass@4.9.0 postinstall: `node scripts/build.js`
  72. npm ERR! Exit status 1
  73. npm ERR!
  74. npm ERR! Failed at the node-sass@4.9.0 postinstall script.
  75. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  76.  
  77. npm ERR! A complete log of this run can be found in:
  78. npm ERR!     /home/lion_el/.npm/_logs/2018-05-27T12_29_27_675Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement