Giter VIP home page Giter VIP logo

Comments (6)

TingDaoK avatar TingDaoK commented on September 24, 2024

Hey,

Can you check if you pulled all the submodules by checking the crt/aws-c-common folder is empty or not?
If it's empty, please run the following command git submodule update --init --recursive to pull all of the submodules and try again.

from aws-crt-nodejs.

zhex900 avatar zhex900 commented on September 24, 2024
PS C:\Code\aws-crt-nodejs> ls crt


    Directory: C:\Code\aws-crt-nodejs\crt


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         6/16/2021   9:10 AM                aws-c-auth
d-----         6/16/2021   9:10 AM                aws-c-cal
d-----         6/16/2021   9:10 AM                aws-c-common
d-----         6/16/2021   9:10 AM                aws-c-compression
d-----         6/16/2021   9:10 AM                aws-c-http
d-----         6/16/2021   9:10 AM                aws-c-io
d-----         6/16/2021   9:10 AM                aws-c-mqtt
d-----         6/16/2021   9:10 AM                aws-lc
d-----         6/16/2021   9:11 AM                s2n

crt is not empty. I did git submodule update --init --recursive anyway.

npm run prepare gave the same errors.

I tried to build it using aws-crt-builder but the test failed.

awslabs/aws-crt-builder#127

from aws-crt-nodejs.

TingDaoK avatar TingDaoK commented on September 24, 2024

remove the build/ and try again

from aws-crt-nodejs.

TingDaoK avatar TingDaoK commented on September 24, 2024

So, cmake-js will have different building cmd if it's not a clean rebuild, the previous configuration without submodules will still be used. Need to remove ./build/ folder

from aws-crt-nodejs.

TingDaoK avatar TingDaoK commented on September 24, 2024

#224 Added the instruction about building from source, we missed the submodule instruction there. Sorry about it.

from aws-crt-nodejs.

zhex900 avatar zhex900 commented on September 24, 2024

del build and rerun npm run prepare fixed it. Thank you!

from aws-crt-nodejs.

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.