search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Can't install paid Daypilot with npm in a Angular/Cli Project

Asked by Juan
7 years ago.

I've been testing DayPilot Scheduler trial in a Angular4 project. When I've seen that the scheduler works as expected, we've paid the license.
After get the API-Key, I try to install via npm like this:
npm install https://npm.daypilot.org/daypilot-pro-angular/xxxxxxxxxxxxxxxxxxxxxxxxxx/x.y.zzzz.tar.gz

npm return error 400.

How can install via packaje.json?

Thanks in advance.

Answer posted by Dan Letecky [DayPilot]
7 years ago.

Have you replaced x.y.zzzz with the actual version number?

Example for the latest release:

https://npm.daypilot.org/daypilot-pro-angular/your-api-key/8.3.2864.tar.gz 

You can also get a link to a specific release in the customer area under "Licenses" -> "NPM". Click the required version number to get an npm installation command for your license. It looks like this:

npm install https://npm.daypilot.org/daypilot-pro-angular/your-api-key/8.3.2864.tar.gz --save

Let me know if the problem persists.

Comment posted by Juan
7 years ago.

I'm very sorry. Yes, I didn't replace with the version number.

Thank you very much.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.