Closed ojizero closed 6 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
found a fix?
@aguyinmontreal so sorry for the late response, I suspect the fix for this would be to await
when running execa
in this line, but I'm not 100% sure nor did I test it honestly as I was only testing Dawson, and ended up using Apex since it fit our needs better.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
When installing Dawson locally using NPM, it can't run deployment of the code, exits with the following error.
After tracing the error in the code, I suspect the error is caused by the code returning the child process of Babel in the first trial using the babelPath that works with the Global or Yarn installed module, specifically this line.
Since
execa
returns a promise, and nothing waits on it, causing the code to return before the catch block is catches theENOENT
error.Node version:
v8.9.4
NPM version:5.6.0
OS:macOS 10.13.2