-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
npm install failed on Raspberry Pi #1629
Comments
There is no simple way to make a development dependency optional. npm chose not to add that category of dependency to the package.json format. One option is to add an npm script for the The other option is a similar script that is not linked to any of the npm lifecycle events that the user is expected to run manually if they want to use the chromedriver tests. This may be the right first step to resolving this. If we can automate it further later, then that is good. |
@knolleary Thank you very much for your comment. I wanted to have the At this moment, I agree with the option that lets a user install chromedriver manually. I also need to update a design wiki. |
My opinion: don't worry about it. Users installing from a working copy on a platform that doesn't support the dev dependencies can simply |
not really. If they install from git they need to build the project in order to get a working version... so they need the grunt tools. |
ah, you're right about that. solution: use |
so then, @Kazuki-Nakanishi Why do you need to clone the repo and install this way on your RPi? Why can't you use e.g. I agree running NR on an RPi is great and awesome, but I wouldn't really want a RPi as my dev environment. |
I don't think he does particularly... he is just responding to a problem I raised that IF someone did want to do this it currently breaks (and indeed same with other architectures re that other issue) - It's only for testing the UI side - so the bulk of the existing tests work fine without it. |
Hi @boneskull, Thank you for your comments. |
Closing as per the merged PR above. |
What are the steps to reproduce?
npm install
What happens?
Installing chromedriver failed.
What do you expect to happen?
Avoid installing chromedriver (and other related packages) when running
npm install
on Raspberry Pi.Please tell us about your environment:
The text was updated successfully, but these errors were encountered: