Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build due to src/ doesn't exist issue #87

Open
5 tasks done
Solodye opened this issue Mar 10, 2024 · 1 comment
Open
5 tasks done

Cannot build due to src/ doesn't exist issue #87

Solodye opened this issue Mar 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Solodye
Copy link

Solodye commented Mar 10, 2024

Checklist

Environment

Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:

  • Node Version: 20.11.1
  • NPM Version: 10.2.4
  • Babel Version: 6.26.0 (babel-core 6.26.3)

Goals

I want to run CodeGenerator.js as the README.md described.

The command I used to run:

  • npm run build && node lib/CodeGenerator.js java
  • npm run build

Expected Results

CodeGenerator.js successfully executed.

Actual Results

xxxxxx@xxhost:~/GitProjSrc/facebook-business-sdk-codegen$ pwd
/home/xxxxxx/GitProjSrc/facebook-business-sdk-codegen
xxxxxx@xxhost:~/GitProjSrc/facebook-business-sdk-codegen$ npm run build && node lib/CodeGenerator.js java

> [email protected] build
> babel src/ -d lib/

src/ doesn't exist
xxxxxx@xxhost:~/GitProjSrc/facebook-business-sdk-codegen$ npm run build

> [email protected] build
> babel src/ -d lib/

src/ doesn't exist

Steps to Reproduce

npm run build && node lib/CodeGenerator.js java

@Solodye Solodye added the bug Something isn't working label Mar 10, 2024
@Solodye
Copy link
Author

Solodye commented Mar 10, 2024

I have no js related experience, here is how I install the npm and node js

curl -fsSL https://deb.nodesource.com/setup_20.x > tmp_install_nodejs.sh
bash tmp_install_nodejs.sh 
sudo apt install nodejs -y
sudo npm install -g babel-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant