Can not use NodeJS 8

Bug #1755524 reported by Adam Kuhn
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sergio Schvezov

Bug Description

#### Issue description
When declaring a node version 8.X.X, snapcraft builds fail with a variety of errors.

#### Steps to reproduce the issue

1. Explicitly point 'node-engine' to 8.10.0
2. run 'snapcraft'

name: hello-node-snap
version: "1.0.2"
summary: A simple hello world command
description: hello world
confinement: strict

    command: bin/hello-node-snap
    plugs: [network]

    plugin: nodejs
    node-engine: 8.10.0
      - hello-node-snap

#### What's the expected result?

I've received the following errors:
[Errno 2] No such file or directory: mysnapdirectory/prime/bin/hello-node-snap
OSError: [Errno 26] Text file busy: mysnapdirectory/parts/hello-node-snap/install/bin/node

#### Additional details

It looks as if npm is creating a package.json lockfile and silently failing.

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Thanks for the report

Changed in snapcraft:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Sergio Schvezov (sergiusens)
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Hi there, I am not seeing this behavior[1]

Mind telling me a bit more about your execution environment? Is this docker? is this docker on Mac? Is this inside a VM and lxd, is the lxd storage dir, zfs, btrfs, other?


Changed in snapcraft:
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.