Closed Bug 1170426 Opened 9 years ago Closed 6 years ago

Cannot run |make test-integration|: No compatible version found: marionette-apps@'file:./tests/jsmarionette/plugins/marionette-apps'

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: timdream, Unassigned)

Details

Attachments

(1 file)

Attached file npm-debug.log
Try to run Gij test locally on Ubuntu 14.02, got a npm failure.

Gareth, is this related to your work?
Flags: needinfo?(gareth.aye)
Looks like I've fix it with |sudo npm install -g npm@latest|.

Should we check the npm version and give out more meaningful error here?
As a first step, maybe we can just perform extra checks to ensure that these specific versions of those tools exist bail out immediately if not?

It's not a solution, but a good enough hotfix for the Makefile, I assume.
(Especially considering how many engineer hours I have seen wasted because of this problem)
The testing story is in really bad shape here. In addition to the fact that we require a non-standard bundling (node 10.x with npm 2.x), we have no documentation about this strange setup. This is unworkable for external contributors and really frustrating even for people who have been with the project for a while.

Tim, are you guys addressing any of these problems with your build2 work?
Flags: needinfo?(timdream)
We've been using nodejs@0.10.x forever and there's been a lot on the mailing list about people upgrading their npm versions. I do think that adding a testing check to make sure the node and npm versions work is a good idea.
Flags: needinfo?(gareth.aye)
(In reply to Michael Henretty [:mhenretty] from comment #3)
> The testing story is in really bad shape here. In addition to the fact that
> we require a non-standard bundling (node 10.x with npm 2.x), we have no
> documentation about this strange setup. This is unworkable for external
> contributors and really frustrating even for people who have been with the
> project for a while.

Agreed, so I filed the bug. Since gaye agreed I guess we should add that check in the tool scripts? Ricky, is this something you could help? Thanks!

> Tim, are you guys addressing any of these problems with your build2 work?

They are not related.
Flags: needinfo?(timdream)
I prefer to setup a stick stable version number in gala's package.json

"engines": {
  "node": "0.10.x",
  "npm": ">2"
}

first thing we need to test various node / npm versions to make sure which is able to work stably.

Gareth, what do you think?
Flags: needinfo?(gaye)
I think that since any node 0.10.x and npm >2 works, we should keep it loose to keep people from having to download more stuff.
Flags: needinfo?(gaye)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: