Skip to content

Instantly share code, notes, and snippets.

@armenr

armenr/Error Secret

Last active January 25, 2016 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save armenr/d3014b90c7f25402d091 to your computer and use it in GitHub Desktop.
Save armenr/d3014b90c7f25402d091 to your computer and use it in GitHub Desktop.
================================================================================
Error executing action `run` on resource 'execute[install gravbot dependencies]'
================================================================================
Errno::ENOENT
-------------
No such file or directory - npm
Resource Declaration:
---------------------
# In /tmp/kitchen/cache/cookbooks/myapp-bot/recipes/_botapp.rb
48: execute "install gravbot dependencies" do
49: user 'gravbot'
50: command "npm install"
51: cwd "/opt/gravbot"
52: creates "/opt/gravbot/node_modules"
53: end
54:
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cache/cookbooks/myapp-bot/recipes/_botapp.rb:48:in `from_file'
execute("install gravbot dependencies") do
action [:run]
retries 0
retry_delay 2
default_guard_interpreter :execute
command "npm install"
backup 5
creates "/opt/gravbot/node_modules"
cwd "/opt/gravbot"
returns 0
user "gravbot"
declared_type :execute
cookbook_name "myapp-bot"
end
Recipe: mywrapper-redis::default
* service[redis-server] action restart
- restart service service[redis-server]
Recipe: nginx::default
- reload service service[nginx]
Running handlers:
[2016-01-25T18:12:18+00:00] ERROR: Running exception handlers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment