-
Notifications
You must be signed in to change notification settings - Fork 10
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
Check if package.json exists while installing node modules #532
Comments
Ran into the same issue:
Created a small PR that implements the suggested check, thanks @tarunbhm |
Fixed by #580 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
install_node_modules
function does not check if thepackage.json
file exists in the project directory. This function is used for foundry projects as well to support foundry projects with hardhat dependencies. But dry run fails for the pure foundry projects because they don't have apackage.json
file.necessist/frameworks/src/ts_utils.rs
Lines 6 to 27 in b8ac93c
Adding a check if the
package.json
file exists will resolve this issue.The text was updated successfully, but these errors were encountered: