Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

foundationPress install error #691

Closed
baaboum opened this issue Jan 21, 2016 · 6 comments
Closed

foundationPress install error #691

baaboum opened this issue Jan 21, 2016 · 6 comments

Comments

@baaboum
Copy link

baaboum commented Jan 21, 2016

Hello, i want install on a new project foundationPress but i have an errors during installation.

My environnement :
windows 10
python 2.7.3
nodejs v 4.2.5 lts
npm version : [email protected]

I put the installation code :

C:\_taf\ciel\inte\wp-content\themes\FoundationPress  ([email protected])
λ npm install
npm WARN deprecated [email protected]: Please use gulp-cssnano instead.
npm WARN deprecated [email protected]: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0
npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated [email protected]: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g 

> [email protected] install C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\bufferutil
> node-gyp rebuild


C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\bufferutil {git}{hg}
{lamb} if not defined npm_config_node_gyp (node "C:\Users\xavfr\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
Génération des projets individuellement dans cette solution. Pour activer la génération en parallèle, ajoutez le commutateur "/m".
  bufferutil.cc
  win_delay_load_hook.c
     CrÚation de la bibliothÞque C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\bu
  fferutil\build\Release\bufferutil.lib et de l'objet C:\_taf\ciel\inte\wp-content\themes\Foundation
  Press\node_modules\bufferutil\build\Release\bufferutil.exp
  GÚnÚration de code en cours
  Fin de la gÚnÚration du code
  bufferutil.vcxproj -> C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\bufferutil\
  build\Release\\bufferutil.node

> [email protected] install C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\utf-8-validate
> node-gyp rebuild


C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\utf-8-validate {git}{hg}
{lamb} if not defined npm_config_node_gyp (node "C:\Users\xavfr\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
Génération des projets individuellement dans cette solution. Pour activer la génération en parallèle, ajoutez le commutateur "/m".
  validation.cc
  win_delay_load_hook.c
     CrÚation de la bibliothÞque C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\ut
  f-8-validate\build\Release\validation.lib et de l'objet C:\_taf\ciel\inte\wp-content\themes\Founda
  tionPress\node_modules\utf-8-validate\build\Release\validation.exp
  GÚnÚration de code en cours
  Fin de la gÚnÚration du code
  validation.vcxproj -> C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\utf-8-valid
  ate\build\Release\\validation.node

> [email protected] install C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\phantomjs

> node install.js

PhantomJS not found on PATH
Download already available at C:\Users\xavfr\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip
Verified checksum of previously downloaded file
Extracting zip contents
Removing C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\phantomjs\lib\phantom
Copying extracted folder C:\Users\xavfr\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1453394949289\phantomjs-1.9.8-windows -> C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\phantomjs\lib\phantom
Writing location.js file
Done. Phantomjs binary available at C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\phantomjs\lib\phantom\phantomjs.exe

> [email protected] install C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\node-sass > node scripts/install.js

Binary downloaded and installed at C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\node-sass\vendor\win32-x64-46\binding.node

> [email protected] postinstall C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\spawn-sync
> node postinstall


> [email protected] postinstall C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\node-sass
> node scripts/build.js

` C:\_taf\ciel\inte\wp-content\themes\FoundationPress\node_modules\node-sass\vendor\win32-x64-46\binding.node ` exists.
 testing binary.
Binary is fine; exiting.

> [email protected] postinstall C:\_taf\ciel-mon-radis\inte\wp-content\themes\FoundationPress
> bower install && gulp build

bower not-cached    git://github.com/zurb/foundation-sites.git#~6.1.0
bower resolve       git://github.com/zurb/foundation-sites.git#~6.1.0
bower not-cached    git://github.com/FortAwesome/Font-Awesome.git#~4.4.0
bower resolve       git://github.com/FortAwesome/Font-Awesome.git#~4.4.0
bower not-cached    git://github.com/zurb/motion-ui.git#~1.1.0
bower resolve       git://github.com/zurb/motion-ui.git#~1.1.0
bower ENORESTARGET  No tag found that was able to satisfy ~1.1.0

Additional error details:
No versions found in git://github.com/zurb/motion-ui.git

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\xavfr\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.2.5
npm ERR! npm  v3.5.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `bower install && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'bower install && gulp build'.
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 foundationpress package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bower install && gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs foundationpress
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls foundationpress
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\_taf\ciel\inte\wp-content\themes\FoundationPress\npm-debug.log

if i test npm run watch :

C:\_taf\ciel\inte\wp-content\themes\FoundationPress  (foundationpress@2.3.0)
λ npm run watch

> foundationpress@2.3.0 watch C:\_taf\ciel\inte\wp-content\themes\FoundationPress
> gulp

[17:50:22] Using gulpfile C:\_taf\ciel\inte\wp-content\themes\FoundationPress\gulpfile.js
[17:50:22] Starting 'build'...
[17:50:22] Starting 'copy'...
[17:50:22] Finished 'copy' after 34 ms
[17:50:22] Starting 'sass'...
[17:50:22] Starting 'javascript'...
[17:50:22] Starting 'lint'...
[17:50:23] gulp-notify: [Sass Error] assets\scss\global\_settings.scss
Error: File to import not found or unreadable: ../../components/foundation-sites/scss/util/util
       Parent style sheet: C:/_taf/ciel/inte/wp-content/themes/FoundationPress/assets/scss/global/_settings.scss
        on line 42 of assets/scss/global/_settings.scss
>> @import '../../components/foundation-sites/scss/util/util';
   ^

[17:50:23] Finished 'lint' after 365 ms
[17:50:23] Finished 'javascript' after 479 ms
[17:50:23] Finished 'sass' after 1.09 s
[17:50:23] Finished 'build' after 1.13 s
[17:50:23] Starting 'browser-sync'...
[17:50:23] Finished 'browser-sync' after 20 ms
[17:50:23] Starting 'default'...
[17:50:23] Finished 'default' after 59 ms
[BS] Copy the following snippet into your website, just before the closing </body> tag
<script type='text/javascript' id="__bs_script__">//<![CDATA[
    document.write("<script async src='http://HOST:3000/browser-sync/browser-sync-client.2.11.1.js'><\/script>".replace("HOST", location.hostname));
//]]></script>

[BS] Access URLs:
 -------------------------------------
          UI: http://localhost:3001
 -------------------------------------
 UI External: http://192.168.1.35:3001
 -------------------------------------
[BS] Watching files...

Thanks a lot for your help

@colin-marshall
Copy link
Collaborator

Looks like it failed on bower install. Run that command by itself and post the output please.

@baaboum
Copy link
Author

baaboum commented Jan 21, 2016

Thank you for your prompt response. i post the outpout bower install

C:\_taf\ciel\inte\wp-content\themes\FoundationPress  ([email protected])
λ bower install
bower not-cached    git://github.com/zurb/foundation-sites.git#~6.1.0
bower resolve       git://github.com/zurb/foundation-sites.git#~6.1.0
bower not-cached    git://github.com/zurb/motion-ui.git#~1.1.0
bower resolve       git://github.com/zurb/motion-ui.git#~1.1.0
bower not-cached    git://github.com/FortAwesome/Font-Awesome.git#~4.4.0
bower resolve       git://github.com/FortAwesome/Font-Awesome.git#~4.4.0
bower ENORESTARGET  No tag found that was able to satisfy ~1.1.0

Additional error details:
No versions found in git://github.com/zurb/motion-ui.git

@colin-marshall
Copy link
Collaborator

Run bower install motion-ui and tell me what happens.

@baaboum
Copy link
Author

baaboum commented Jan 22, 2016

hello re thanks for your response i test but I still have an error.

C:\_taf\ciel\inte\wp-content\themes\FoundationPress  ([email protected])
λ bower install motion-ui
bower not-cached    git://github.com/zurb/foundation-sites.git#~6.1.0
bower resolve       git://github.com/zurb/foundation-sites.git#~6.1.0
bower not-cached    git://github.com/zurb/motion-ui.git#~1.1.0
bower resolve       git://github.com/zurb/motion-ui.git#~1.1.0
bower not-cached    git://github.com/zurb/motion-ui.git#*
bower resolve       git://github.com/zurb/motion-ui.git#*
bower not-cached    git://github.com/FortAwesome/Font-Awesome.git#~4.4.0
bower resolve       git://github.com/FortAwesome/Font-Awesome.git#~4.4.0
bower ENORESTARGET  Tag/branch master does not exist

Additional error details:
No tags found in git://github.com/zurb/motion-ui.git
No branches found in git://github.com/zurb/motion-ui.git

@colin-marshall
Copy link
Collaborator

Try running: git config --global url."https://".insteadOf git://

Then run bower install again.

@baaboum
Copy link
Author

baaboum commented Jan 27, 2016

Hello i test your solution and it's good :) Thanks a lot for your help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants