browsix icon indicating copy to clipboard operation
browsix copied to clipboard

Weird prompt during make inside container for Docker based on 0.9.2

Open olberger opened this issue 7 years ago • 0 comments

I've rebuilt a Docker container image based on 0.9.2, which builds ok.

During "make serve" execution inside the container, there's a weird prompt "Answer" caused by a npm prompt which is hidden during the bower_components target.

I think that the following patch would help:

@@ -70,7 +70,7 @@ $(NPM_DEPS): node_modules
 
 bower_components: $(BOWER) bower.json
 	@echo "  BOWER"
-	$(BOWER) install --silent
+	$(BOWER) install
 	touch -c $@
 
 syscall-api: $(BUILD_DEPS)

Of course, fixing the dependencies might be an alternative.

The dialog is actually the following:

Unable to find a suitable version for test-fixture, please choose one by typing one of the numbers below:
    1) test-fixture#^1.1.1 which resolved to 1.1.2 and is required by browsix
    2) test-fixture#^3.0.0 which resolved to 3.0.0 and is required by web-component-tester#6.4.1

Prefix the choice with ! to persist it to bower.json

? Answer 

When responding with first option, that seems to be working.

Hope this helps

olberger avatar Dec 13 '17 16:12 olberger