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

General Discussion
  • 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.

  • Can you provide the full error stack?

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

  • @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>

  • 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
    
  • @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         是什么
    * 
    * 
    * 
    *
  • Yes, OK. Those are warnings not errors. Did it install OK?


Suggested Topics