FileNotFoundError: [Errno 2] No such file or directory:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Building a snap of a nodejs command line app.
Using snapcraft, version 2.43.1+18.4 on Ubuntu 18.10
I run snapcraft from the project root, which contains snap/snapcraft.yaml
There is the bin/pocket-cli file which is the file I want to be executed.
The snapcraft.yaml has:
```
parts:
pocket-cli:
plugin: nodejs
source: .
node-engine: 11.4.0
apps:
pocket-cli:
command: bin/pocket-cli
```
When it gets to run ```npm --cache-
The version has been set to 'v0.4.3+
Sorry, an error occurred in Snapcraft:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
return self.main(*args, **kwargs)
File "/usr/lib/
rv = self.invoke(ctx)
File "/usr/lib/
return Command.
File "/usr/lib/
return ctx.invoke(
File "/usr/lib/
return callback(*args, **kwargs)
File "/usr/lib/
return f(get_current_
File "/usr/lib/
ctx.
File "/usr/lib/
return self.invoke(cmd, **kwargs)
File "/usr/lib/
return callback(*args, **kwargs)
File "/usr/lib/
project = _execute(
File "/usr/lib/
lifecycle.
File "/usr/lib/
executor.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
packaging.
File "/usr/lib/
snap_yaml = self._compose_
File "/usr/lib/
snap_
File "/usr/lib/
self.
File "/usr/lib/
app[k] = self._wrap_
File "/usr/lib/
with open(exepath, "rb") as exefile:
FileNotFoundError: [Errno 2] No such file or directory: '/home/
We would appreciate it if you created a bug report at
https:/
description: | updated |