-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Allow to run node_modules binaries from makefile builder #2565
Comments
Hi @HaaLeo, |
The PR you mentioned seems to be at least related. I also found aws/aws-lambda-builders#106 which seems to be closer related to this issue. |
Could reproduce using your example ( I tried adding Based on the last comment here jupyter/nbdime#201 I also tried adding |
It takes much of time on
|
For anyone else that comes across this, it seems that with an e.g.
|
Solution is explained in #2565 (comment) Closing |
IMHO the proposed solution is insufficient, because Please consider to reopen this issue and to provide a sustainable fix 🙏🏼. |
I've had the same issue. Looks like So running The only question I have - why |
Description:
When I try to execute scripts from locally npm packages the makefile builder fails
Steps to reproduce:
makefile
builder:package.json
with dependencies, for example typescript:Makefile
containing:tsconfig.json
file:Run
make build
to confirm the setup is working.Now run
sam build --debug
to reproduce the errorObserved result:
sam build --debug
errors with the following message:Expected result:
The build does not error.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Interestingly the build does not error if you install typescript globally (
npm i -g typescript
) and call it in the makefile directly.However, I want all the dependencies of my project installed locally, not globally to build my app.
sam --version
: 1.15.0The text was updated successfully, but these errors were encountered: