This repository was archived by the owner on Sep 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
npm not working in netlify.toml config #119
Comments
Here is that log file:
|
The plugin might be having issues with the way you're specifying the build in the dev block. Because of the way the plugin is implemented, the build command should be written [npm/yarn] [build script]. So try
instead of
|
@shortdiv thanks for the reply! That does work, however, I think it's still a bug. |
Good point! Do you want to submit a PR to fix this? :) Happy to offer guidance if you're interested! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I run
netlify dev
with the following netlify.toml:I get the following error:
If I change it to use yarn it works:
version: netlify-cli/2.11.7 darwin-x64 node-v11.12.0
The text was updated successfully, but these errors were encountered: