Chef install fails while using wrapper cookbook

I am writing a wrapper cookbook (lamp) for the same purpose I also written an another cookbook(lamp_app) to utilize the recipes from wrapper cookbook. I face an issue regarding the dependency list present in lamp_app cookbook.

Here is the metadata.rb

name 'lamp_app'
maintainer 'The Authors'
maintainer_email ''
license 'All Rights Reserved'
description 'Installs/Configures lamp_app'
long_description 'Installs/Configures lamp_app'
version '1.0.0'
chef_version '>= 14.0'

depends 'lamp', '=1.0.0'

Policyfile.rb file

# A name that describes what the system you're building with Chef does.
name 'lamp_app'

# Where to find external cookbooks:
default_source :supermarket

# run_list: chef-client will run these recipes in the order specified.
run_list 'lamp_app::default'

# Specify a custom source for a single cookbook:
cookbook 'lamp', path: '../lamp'

After running chef install command within the new cookbook lamp_app it gives the below error

root@testworkstation:~/chef-repo/cookbooks/lamp_app# chef install
Building policy lamp_app
Expanded run list: recipe[lamp_app::default]
Caching Cookbooks...
Installing lamp >= 0.0.0 from path
Error: Failed to generate Policyfile.lock
Reason: (Solve::Errors::NoSolutionError) Unable to satisfy the following requirements:

- `lamp_app (>= 0.0.0)` required by `user-specified dependency`

In the policyfile you specify the cookbook

cookbook 'lamp', path: '../lamp'