Code Monkey home page Code Monkey logo

Comments (6)

mhart avatar mhart commented on June 24, 2024

@sandeepzgk I'm not sure what you mean?

$ find / -name node-gyp
/var/lang/lib/node_modules/npm/bin/node-gyp-bin/node-gyp
/var/lang/lib/node_modules/npm/node_modules/node-gyp
/usr/local/lib64/node-v4.3.x/lib/node_modules/npm/bin/node-gyp-bin/node-gyp
/usr/local/lib64/node-v4.3.x/lib/node_modules/npm/node_modules/node-gyp

To show that it works with npm:

$ npm install hiredis

> [email protected] install /var/task/node_modules/hiredis
> node-gyp rebuild

make: Entering directory `/var/task/node_modules/hiredis/build'
  CC(target) Release/obj.target/hiredis-c/deps/hiredis/sds.o
  CC(target) Release/obj.target/hiredis-c/deps/hiredis/read.o
  AR(target) Release/obj.target/deps/hiredis-c.a
  COPY Release/hiredis-c.a
  CXX(target) Release/obj.target/hiredis/src/hiredis.o
  CXX(target) Release/obj.target/hiredis/src/reader.o
  SOLINK_MODULE(target) Release/obj.target/hiredis.node
  COPY Release/hiredis.node
make: Leaving directory `/var/task/node_modules/hiredis/build'
/var/task
└─┬ [email protected] 
  ├── [email protected] 
  └── [email protected] 

from docker-lambda.

mhart avatar mhart commented on June 24, 2024

Going to close this, because node-gyp is definitely in the Node.js build images – but if you're seeing a specific error that you think is from something missing, let me know and I'll be happy to reopen.

from docker-lambda.

sandeepzgk avatar sandeepzgk commented on June 24, 2024

i am not able to use node-gyp on the build-node6.10 image. I am installing it manually.

from docker-lambda.

sandeepzgk avatar sandeepzgk commented on June 24, 2024

Here are the custom things i find necessary that are missing in the lambci/lambda:build-nodejs6.10 image

npm install -g node-gyp
yum install wget -y
yum install curl-devel -y

from docker-lambda.

mhart avatar mhart commented on June 24, 2024

@sandeepzgk it's already on the image. You can see it in use if you install a native dependency as I showed here: #45 (comment)

See the node-gyp rebuild step?

from docker-lambda.

mhart avatar mhart commented on June 24, 2024

If you're having problems, please paste the output of running the following command:

docker run lambci/lambda:build-nodejs6.10 npm install hiredis

from docker-lambda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.