guaridan_007

Node-sass issue

Apr 10th, 2019
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.64 KB | None | 0 0
  1. E:\Projects>ng new project1
  2. ? Would you like to add Angular routing? Yes
  3. ? Which stylesheet format would you like to use? (Use arrow keys)
  4. > CSS
  5. SCSS [ http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syn
  6.  
  7. ? Which stylesheet format would you like to use?
  8. CSS
  9. > SCSS [ http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syn
  10.  
  11. ? Which stylesheet format would you like to use?
  12. CSS
  13. SCSS [ http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syn
  14.  
  15. ? Which stylesheet format would you like to use?
  16. CSS
  17. > SCSS [ http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syn
  18.  
  19. ? Which stylesheet format would you like to use? SCSS [ http://sass-lang
  20.  
  21. ocumentation/file.SASS_REFERENCE.html#syntax ]
  22. CREATE project1/angular.json (3913 bytes)
  23. CREATE project1/package.json (1307 bytes)
  24. CREATE project1/README.md (1025 bytes)
  25. CREATE project1/tsconfig.json (435 bytes)
  26. CREATE project1/tslint.json (1621 bytes)
  27. CREATE project1/.editorconfig (246 bytes)
  28. CREATE project1/.gitignore (629 bytes)
  29. CREATE project1/src/favicon.ico (5430 bytes)
  30. CREATE project1/src/index.html (295 bytes)
  31. CREATE project1/src/main.ts (372 bytes)
  32. CREATE project1/src/polyfills.ts (2841 bytes)
  33. CREATE project1/src/styles.scss (80 bytes)
  34. CREATE project1/src/test.ts (642 bytes)
  35. CREATE project1/src/browserslist (388 bytes)
  36. CREATE project1/src/karma.conf.js (1021 bytes)
  37. CREATE project1/src/tsconfig.app.json (166 bytes)
  38. CREATE project1/src/tsconfig.spec.json (256 bytes)
  39. CREATE project1/src/tslint.json (244 bytes)
  40. CREATE project1/src/assets/.gitkeep (0 bytes)
  41. CREATE project1/src/environments/environment.prod.ts (51 bytes)
  42. CREATE project1/src/environments/environment.ts (662 bytes)
  43. CREATE project1/src/app/app-routing.module.ts (245 bytes)
  44. CREATE project1/src/app/app.module.ts (393 bytes)
  45. CREATE project1/src/app/app.component.html (1152 bytes)
  46. CREATE project1/src/app/app.component.spec.ts (1101 bytes)
  47. CREATE project1/src/app/app.component.ts (213 bytes)
  48. CREATE project1/src/app/app.component.scss (0 bytes)
  49. CREATE project1/e2e/protractor.conf.js (752 bytes)
  50. CREATE project1/e2e/tsconfig.e2e.json (213 bytes)
  51. CREATE project1/e2e/src/app.e2e-spec.ts (637 bytes)
  52. CREATE project1/e2e/src/app.po.ts (251 bytes)
  53.  
  54. > [email protected] install E:\Projects\project1\node_modules\node-sass
  55. > node scripts/install.js
  56.  
  57. Downloading binary from https://github.com/sass/node-sass/releases/downloa
  58. 1.0/win32-x64-67_binding.node
  59. Cannot download "https://github.com/sass/node-sass/releases/download/v4.11
  60. 32-x64-67_binding.node":
  61.  
  62. tunneling socket could not be established, cause=connect ECONNREFUSED 127.
  63. 80
  64.  
  65. Hint: If github.com is not accessible in your location
  66. try setting a proxy via HTTP_PROXY, e.g.
  67.  
  68. export HTTP_PROXY=http://example.com:1234
  69.  
  70. or configure npm proxy via
  71.  
  72. npm config set proxy http://example.com:8080
  73.  
  74. > [email protected] postinstall E:\Projects\project1\node_modules\node-sass
  75. > node scripts/build.js
  76.  
  77. Building: C:\Program Files\nodejs\node.exe E:\Projects\project1\node_modul
  78. e-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= -
  79. ss_ldflags= --libsass_library=
  80. gyp info it worked if it ends with ok
  81. gyp verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
  82. gyp verb cli 'E:\\Projects\\project1\\node_modules\\node-gyp\\bin\\node-
  83. ',
  84. gyp verb cli 'rebuild',
  85. gyp verb cli '--verbose',
  86. gyp verb cli '--libsass_ext=',
  87. gyp verb cli '--libsass_cflags=',
  88. gyp verb cli '--libsass_ldflags=',
  89. gyp verb cli '--libsass_library=' ]
  90. gyp info using [email protected]
  91. gyp info using [email protected] | win32 | x64
  92. gyp verb command rebuild []
  93. gyp verb command clean []
  94. gyp verb clean removing "build" directory
  95. gyp verb command configure []
  96. gyp verb check python checking for Python executable "python2" in the PATH
  97. gyp verb `which` failed Error: not found: python2
  98. gyp verb `which` failed at getNotFoundError (E:\Projects\project1\node
  99. es\which\which.js:13:12)
  100. gyp verb `which` failed at F (E:\Projects\project1\node_modules\which\
  101. js:68:19)
  102. gyp verb `which` failed at E (E:\Projects\project1\node_modules\which\
  103. js:80:29)
  104. gyp verb `which` failed at E:\Projects\project1\node_modules\which\whi
  105. 89:16
  106. gyp verb `which` failed at E:\Projects\project1\node_modules\isexe\ind
  107. 42:5
  108. gyp verb `which` failed at E:\Projects\project1\node_modules\isexe\win
  109. s:36:5
  110. gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:158:21)
  111. gyp verb `which` failed python2 { Error: not found: python2
  112. gyp verb `which` failed at getNotFoundError (E:\Projects\project1\node
  113. es\which\which.js:13:12)
  114. gyp verb `which` failed at F (E:\Projects\project1\node_modules\which\
  115. js:68:19)
  116. gyp verb `which` failed at E (E:\Projects\project1\node_modules\which\
  117. js:80:29)
  118. gyp verb `which` failed at E:\Projects\project1\node_modules\which\whi
  119. 89:16
  120. gyp verb `which` failed at E:\Projects\project1\node_modules\isexe\ind
  121. 42:5
  122. gyp verb `which` failed at E:\Projects\project1\node_modules\isexe\win
  123. s:36:5
  124. gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:158:21)
  125. gyp verb `which` failed stack:
  126. gyp verb `which` failed 'Error: not found: python2\n at getNotFoundE
  127. E:\\Projects\\project1\\node_modules\\which\\which.js:13:12)\n at F (E:
  128. ects\\project1\\node_modules\\which\\which.js:68:19)\n at E (E:\\Projec
  129. oject1\\node_modules\\which\\which.js:80:29)\n at E:\\Projects\\project
  130. e_modules\\which\\which.js:89:16\n at E:\\Projects\\project1\\node_modu
  131. sexe\\index.js:42:5\n at E:\\Projects\\project1\\node_modules\\isexe\\w
  132. .js:36:5\n at FSReqCallback.oncomplete (fs.js:158:21)',
  133. gyp verb `which` failed code: 'ENOENT' }
  134. gyp verb check python checking for Python executable "python" in the PATH
  135. gyp verb `which` succeeded python C:\Users\DELL\AppData\Local\Programs\Pyt
  136. thon37-32\python.EXE
  137. gyp ERR! configure error
  138. gyp ERR! stack Error: Command failed: C:\Users\DELL\AppData\Local\Programs
  139. n\Python37-32\python.EXE -c import sys; print "%s.%s.%s" % sys.version_inf
  140.  
  141. gyp ERR! stack File "<string>", line 1
  142. gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
  143. gyp ERR! stack ^
  144. gyp ERR! stack SyntaxError: invalid syntax
  145. gyp ERR! stack
  146. gyp ERR! stack at ChildProcess.exithandler (child_process.js:297:12)
  147. gyp ERR! stack at ChildProcess.emit (events.js:193:13)
  148. gyp ERR! stack at maybeClose (internal/child_process.js:1001:16)
  149. gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:4
  150.  
  151. gyp ERR! stack at Socket.emit (events.js:193:13)
  152. gyp ERR! stack at Pipe._handle.close (net.js:614:12)
  153. gyp ERR! System Windows_NT 6.1.7601
  154. gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "E:\\Projects\\proj
  155. node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass
  156. "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  157. gyp ERR! cwd E:\Projects\project1\node_modules\node-sass
  158. gyp ERR! node -v v11.13.0
  159. gyp ERR! node-gyp -v v3.8.0
  160. gyp ERR! not ok
  161. Build failed with error code: 1
  162. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modul
  163. vents):
  164. npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fse
  165. 1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":
  166. )
  167. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_mod
  168. ode-sass):
  169. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] postinsta
  170. ode scripts/build.js`
  171. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
  172.  
  173. added 1014 packages from 1012 contributors and audited 42608 packages in 6
  174. s
  175. found 0 vulnerabilities
  176.  
  177. warning: LF will be replaced by CRLF in .editorconfig.
  178. The file will have its original line endings in your working directory
  179. warning: LF will be replaced by CRLF in .gitignore.
  180. The file will have its original line endings in your working directory
  181. warning: LF will be replaced by CRLF in README.md.
  182. The file will have its original line endings in your working directory
  183. warning: LF will be replaced by CRLF in angular.json.
  184. The file will have its original line endings in your working directory
  185. warning: LF will be replaced by CRLF in e2e/protractor.conf.js.
  186. The file will have its original line endings in your working directory
  187. warning: LF will be replaced by CRLF in e2e/src/app.e2e-spec.ts.
  188. The file will have its original line endings in your working directory
  189. warning: LF will be replaced by CRLF in e2e/src/app.po.ts.
  190. The file will have its original line endings in your working directory
  191. warning: LF will be replaced by CRLF in e2e/tsconfig.e2e.json.
  192. The file will have its original line endings in your working directory
  193. warning: LF will be replaced by CRLF in package-lock.json.
  194. The file will have its original line endings in your working directory
  195. warning: LF will be replaced by CRLF in package.json.
  196. The file will have its original line endings in your working directory
  197. warning: LF will be replaced by CRLF in src/app/app-routing.module.ts.
  198. The file will have its original line endings in your working directory
  199. warning: LF will be replaced by CRLF in src/app/app.component.html.
  200. The file will have its original line endings in your working directory
  201. warning: LF will be replaced by CRLF in src/app/app.component.spec.ts.
  202. The file will have its original line endings in your working directory
  203. warning: LF will be replaced by CRLF in src/app/app.component.ts.
  204. The file will have its original line endings in your working directory
  205. warning: LF will be replaced by CRLF in src/app/app.module.ts.
  206. The file will have its original line endings in your working directory
  207. warning: LF will be replaced by CRLF in src/browserslist.
  208. The file will have its original line endings in your working directory
  209. warning: LF will be replaced by CRLF in src/environments/environment.prod.
  210. The file will have its original line endings in your working directory
  211. warning: LF will be replaced by CRLF in src/environments/environment.ts.
  212. The file will have its original line endings in your working directory
  213. warning: LF will be replaced by CRLF in src/index.html.
  214. The file will have its original line endings in your working directory
  215. warning: LF will be replaced by CRLF in src/karma.conf.js.
  216. The file will have its original line endings in your working directory
  217. warning: LF will be replaced by CRLF in src/main.ts.
  218. The file will have its original line endings in your working directory
  219. warning: LF will be replaced by CRLF in src/polyfills.ts.
  220. The file will have its original line endings in your working directory
  221. warning: LF will be replaced by CRLF in src/styles.scss.
  222. The file will have its original line endings in your working directory
  223. warning: LF will be replaced by CRLF in src/test.ts.
  224. The file will have its original line endings in your working directory
  225. warning: LF will be replaced by CRLF in src/tsconfig.app.json.
  226. The file will have its original line endings in your working directory
  227. warning: LF will be replaced by CRLF in src/tsconfig.spec.json.
  228. The file will have its original line endings in your working directory
  229. warning: LF will be replaced by CRLF in src/tslint.json.
  230. The file will have its original line endings in your working directory
  231. warning: LF will be replaced by CRLF in tsconfig.json.
  232. The file will have its original line endings in your working directory
  233. warning: LF will be replaced by CRLF in tslint.json.
  234. The file will have its original line endings in your working directory
  235.  
  236. *** Please tell me who you are.
  237.  
  238. Run
  239.  
  240. git config --global user.email "[email protected]"
  241. git config --global user.name "Your Name"
  242.  
  243. to set your account's default identity.
  244. Omit --global to set the identity only in this repository.
  245.  
  246. fatal: unable to auto-detect email address (got 'DELL@DELL-PC.(none)')
Add Comment
Please, Sign In to add comment