voxpupuli / puppet-nodejs

Puppet module to install nodejs and global npm packages
https://forge.puppet.com/puppet/nodejs
Apache License 2.0
113 stars 248 forks source link

Error "Package 'nodejs-dev' has no installation candidate" on Ubuntu 20.04 #421

Closed cliffano closed 4 years ago

cliffano commented 4 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

Use the manifest :

  class { '::nodejs':
    manage_package_repo       => false,
    nodejs_dev_package_ensure => 'present',
    npm_package_ensure        => 'present',
    repo_url_suffix           => '13.x',
  }

What are you seeing

Error message:

Package nodejs-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
   libnode-dev
E: Package 'nodejs-dev' has no installation candidate

What behaviour did you expect instead

Success installation of node.js .

Output log

Any additional information you'd like to impart

Ubuntu 20.04 was released 3 days ago.