2016-02-12 7 views
0

Эта ошибка не может быть воспроизведена и происходила только при первом выпуске.Почему установка Prestashop 1.7 не работает на окнах?


Я пытаюсь установить Prestashop 1.7 из GitHub разработки ветви на моем Windows 10 операционной системы.

я следовал этим инструкциям:

Если вы установили PrestaShop из GitHub:

  • Установка Композитор (https://getcomposer.org)
  • Установка Node.js (https://nodejs.org)
  • Установить Grunt- cli глобально (http://gruntjs.com)
  • Копировать/переименовать приложение файл/конфигурации/parameters.yml.dist в parameters.yml

Затем запустите:

  • composer install
  • npm install -g grunt-cli
  • npm install

первые две команды работали нормально, но npm install терпит неудачу:

npm WARN [email protected] No repository field. 
npm WARN [email protected] No license field. 
npm ERR! Windows_NT 10.0.10586 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
npm ERR! node v5.6.0 
npm ERR! npm v3.6.0 
npm ERR! code ELIFECYCLE 
npm ERR! [email protected] install: `npm -C js/vendor install; npm -C admin-dev/themes/default install; npm -C tests/js install` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] install script 'npm -C js/vendor install; npm -C admin-dev/themes/default install; npm -C tests/js install'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the prestashop-common package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  npm -C js/vendor install; npm -C admin-dev/themes/default install; npm -C tests/js install 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs prestashop-common 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls prestashop-common 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  C:\wamp\www\prestashop-1-7\npm-debug.log 

Здесь npm-debug.log файл:

0 info it worked if it ends with ok 
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', 
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 
1 verbose cli 'install' ] 
2 info using [email protected] 
3 info using [email protected] 
4 silly loadCurrentTree Starting 
5 silly install loadCurrentTree 
6 silly install readLocalPackageData 
7 silly install normalizeTree 
8 silly loadCurrentTree Finishing 
9 silly loadIdealTree Starting 
10 silly install loadIdealTree 
11 silly cloneCurrentTree Starting 
12 silly install cloneCurrentTreeToIdealTree 
13 silly cloneCurrentTree Finishing 
14 silly loadShrinkwrap Starting 
15 silly install loadShrinkwrap 
16 silly loadShrinkwrap Finishing 
17 silly loadAllDepsIntoIdealTree Starting 
18 silly install loadAllDepsIntoIdealTree 
19 silly loadAllDepsIntoIdealTree Finishing 
20 silly idealTree:prePrune [email protected] 
21 silly loadIdealTree Finishing 
22 silly currentTree [email protected] 
23 silly idealTree [email protected] 
24 silly generateActionsToTake Starting 
25 silly install generateActionsToTake 
26 silly generateActionsToTake Finishing 
27 silly diffTrees action count 0 
28 silly decomposeActions action count 0 
29 silly executeActions Starting 
30 silly install executeActions 
31 silly doSerial global-install 0 
32 silly doParallel fetch 0 
33 verbose correctMkdir C:\Users\Florian\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing 
34 verbose lock using C:\Users\Florian\AppData\Roaming\npm-cache\_locks\staging-b6a0850f5942bc3a.lock for C:\wamp\www\prestashop-1-7\node_modules\.staging 
35 silly doParallel extract 0 
36 silly doParallel preinstall 0 
37 silly doReverseSerial remove 0 
38 silly doSerial move 0 
39 silly doSerial finalize 0 
40 silly doSerial build 0 
41 silly doSerial global-link 0 
42 silly doParallel update-linked 0 
43 silly doSerial install 0 
44 silly doSerial postinstall 0 
45 verbose unlock done using C:\Users\Florian\AppData\Roaming\npm-cache\_locks\staging-b6a0850f5942bc3a.lock for C:\wamp\www\prestashop-1-7\node_modules\.staging 
46 silly executeActions Finishing 
47 silly rollbackFailedOptional Starting 
48 silly rollbackFailedOptional Finishing 
49 silly runTopLevelLifecycles Starting 
50 silly install runTopLevelLifecycles 
51 silly preinstall [email protected] C:\wamp\www\prestashop-1-7\prestashop-common-cd71d505 
52 info lifecycle [email protected]~preinstall: [email protected] 
53 silly lifecycle [email protected]~preinstall: no script for preinstall, continuing 
54 silly build [email protected] 
55 info linkStuff [email protected] 
56 silly linkStuff [email protected] has C:\wamp\www as its parent node_modules 
57 verbose linkBins [email protected] 
58 verbose linkMans [email protected] 
59 silly install [email protected] C:\wamp\www\prestashop-1-7\prestashop-common-cd71d505 
60 info lifecycle [email protected]~install: [email protected] 
61 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true 
62 verbose lifecycle [email protected]~install: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\wamp\www\prestashop-1-7\node_modules\.bin;C:\Users\Florian\AppData\Roaming\npm;C:\Program Files\nodejs\;C:\Program Files\CollabNet\Subversion Client;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Hewlett-Packard\SimplePass\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\wamp\bin\php\php5.5.12;C:\ProgramData\ComposerSetup\bin;C:\Program Files\nodejs\;C:\Users\Florian\AppData\Roaming\npm 
63 verbose lifecycle [email protected]~install: CWD: C:\wamp\www\prestashop-1-7 
64 silly lifecycle [email protected]~install: Args: [ '/d /s /c', 
64 silly lifecycle 'npm -C js/vendor install; npm -C admin-dev/themes/default install; npm -C tests/js install' ] 
65 silly lifecycle [email protected]~install: Returned: code: 1 signal: null 
66 info lifecycle [email protected]~install: Failed to exec install script 
67 warn [email protected] No repository field. 
68 warn [email protected] No license field. 
69 verbose stack Error: [email protected] install: `npm -C js/vendor install; npm -C admin-dev/themes/default install; npm -C tests/js install` 
69 verbose stack Exit status 1 
69 verbose stack  at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:232:16) 
69 verbose stack  at emitTwo (events.js:100:13) 
69 verbose stack  at EventEmitter.emit (events.js:185:7) 
69 verbose stack  at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14) 
69 verbose stack  at emitTwo (events.js:100:13) 
69 verbose stack  at ChildProcess.emit (events.js:185:7) 
69 verbose stack  at maybeClose (internal/child_process.js:827:16) 
69 verbose stack  at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5) 
70 verbose pkgid [email protected] 
71 verbose cwd C:\wamp\www\prestashop-1-7 
72 error Windows_NT 10.0.10586 
73 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 
74 error node v5.6.0 
75 error npm v3.6.0 
76 error code ELIFECYCLE 
77 error [email protected] install: `npm -C js/vendor install; npm -C admin-dev/themes/default install; npm -C tests/js install` 
77 error Exit status 1 
78 error Failed at the [email protected] install script 'npm -C js/vendor install; npm -C admin-dev/themes/default install; npm -C tests/js install'. 
78 error Make sure you have the latest version of node.js and npm installed. 
78 error If you do, this is most likely a problem with the prestashop-common package, 
78 error not with npm itself. 
78 error Tell the author that this fails on your system: 
78 error  npm -C js/vendor install; npm -C admin-dev/themes/default install; npm -C tests/js install 
78 error You can get information on how to open an issue for this project with: 
78 error  npm bugs prestashop-common 
78 error Or if that isn't available, you can get their info via: 
78 error  npm owner ls prestashop-common 
78 error There is likely additional logging output above. 
79 verbose exit [ 1, true ] 

Где ошибка приходит? Где мне искать код для этой ошибки? Я новичок в node.js, поэтому я не уверен, как работает процесс установки.

ответ

-2

Честно говоря, я просто установить XAMPP virtual server for Windows и скачать ZIP установка PrestaShop 1.7.0.0 beta, гораздо быстрее ...

+0

Ссылки на потенциальные решения всегда приветствуются, но, пожалуйста, добавить некоторые детали для будущих посетителей в случае ссылка больше не доступный. –