• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.1 Latest
Buy Hosting

2015-09-13 centos nodebb v0.8.x npm ERR! not ok code 0

Scheduled Pinned Locked Moved General Discussion
8 Posts 4 Posters 2.8k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sxxfgzxg
    wrote on last edited by
    #1

    Centos nodebb v0.7.x is OK

    Prior to September 13 are normal installation v0.8.x,Yesterday also normal.
    But now, each installation to be wrong!!why?????

    My English is not good.

    1 Reply Last reply
    -1
  • drewD Offline
    drewD Offline
    drew
    wrote on last edited by
    #2

    Can you provide the full error stack?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #3

    Perhaps post in your native language too? There may be speakers of that language here.

    L 1 Reply Last reply
    0
  • L Offline
    L Offline
    liufu
    replied to julian on last edited by liufu
    #4

    @julian upload-7eda1e89-c0c7-4253-84b6-0aaa3c54b5aa upload-eb54dc4a-d219-4f69-9ed7-0e2774ddf5bc
    centos 6.5. v0.8.x npm ERR! not ok code 0

    Installation Record
    <pre>
    http://blog.liufu.cc/wp-content/uploads/2015/09/centos-6.5.txt
    </pre>

    1 Reply Last reply
    0
  • drewD Offline
    drewD Offline
    drew
    wrote on last edited by
    #5
    make: *** [Release/obj.target/magic/src/magic.o] ���� 1
    make: Leaving directory `/home/nodebb/node_modules/mmmagic/build'
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:267:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
    gyp ERR! System Linux 2.6.32-431.23.3.el6.i686
    gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /home/nodebb/node_modules/mmmagic
    gyp ERR! node -v v0.10.36
    gyp ERR! node-gyp -v v0.10.6
    gyp ERR! not ok
      CC(target) Release/obj.target/lwip_decoder/src/lib/jpeg/jdhuff.o
    npm ERR! weird error 1
    

    Odd indeed.

    Try installing newer 0.12.7 node from source *** AS ROOT *** (assuming you are x64 here):

    yum -y update
    yum -y groupinstall "Development Tools"
    cd /usr/src
    wget https://nodejs.org/download/release/latest-v0.12.x/node-v0.12.7-linux-x64.tar.gz
    tar zxf node-v0.12.7-linux-x64.tar.gz
    cd node-v0.12.7-linux-x64
    ./configure
    make
    make install
    

    Check it's installed and the version is correct afterwards with

    node -v
    

    Then:

    cd /your/nodebb/installation
    sudo rm -rf node_modules
    npm install
    
    L 1 Reply Last reply
    0
  • L Offline
    L Offline
    liufu
    replied to drew on last edited by liufu
    #6

    @drew QQ截图20150916100207.jpg

    npm WARN peerDependencies The peer dependency redisearch@^0.0.4 included from nodebb-plugin-dbsearch will no
    npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
    npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
    npm WARN peerDependencies The peer dependency nodebb-theme-vanilla@>=0.0.137 included from nodebb-plugin-spam-be-gone will no
    npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
    npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
    
    * warn What         是什么
    * 
    * 
    * 
    *
    1 Reply Last reply
    0
  • drewD Offline
    drewD Offline
    drew
    wrote on last edited by
    #7

    Yes, OK. Those are warnings not errors. Did it install OK?

    L 1 Reply Last reply
    0
  • L Offline
    L Offline
    liufu
    replied to drew on last edited by
    #8

    @drew upload-32983420-32f9-42f1-a8c0-50ac77fb91c7

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development