-
Notifications
You must be signed in to change notification settings - Fork 89
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
Rollup not recognized as a command when running grunt #176
Comments
Running |
the dependency is already listed in the |
Yes, deleted the node_modules directory and ran a fresh |
interesting. do you see any errors during install? |
Will try a fresh checkout and will verify if a directory rollup gets created. Didn't see any errors. Does the -g install flag make it available via the shell command whereas the dependency prevents that? |
This was also a complicating factor in #174. It seems that shell command only works with a globally installed rollup. I don't think there's any way to have |
@ecaldwell Sounds like that is the issue. Excellent, maybe there is a way the shell command can be reworked - perhaps direct grunt task invocation of rollup such as this I found: grunt-rollup? If not, maybe a FAQ or addition to the README so people know to do the global install. |
I think the FAQ/README should be updated first, then we can explore alternatives. I actually had tried using grunt-rollup originally, but couldn't get it to work. Maybe a newer version of it works. |
Puts in an extra step in the README to address the dependency that rollup js be installed globally for now, so that it can be invoked via the shell/command.
I think the solution is to specify the path to Now the command looks like this I tried a variety of combinations to get this to execute properly and this was the only way that worked. Unfortunately, the escaped backslashes are necessary—using forward slashes caused errors. It would be good for someone on a Unix machine to verify if this works. |
Resolved in #201. |
Running a grunt --force on Windows results in
Could it be a dependency issue?
The text was updated successfully, but these errors were encountered: