docker-meteor icon indicating copy to clipboard operation
docker-meteor copied to clipboard

error during image build

Open QHose opened this issue 7 years ago • 1 comments

using windows docker and meteor 1.5 and https://github.com/QHose/QRSMeteor.git

warning npm-shrinkwrap.json found. This will not be updated or respected. See https://yarnpkg.com/en/docs/migrating-from-npm for more information.
warning [email protected]: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
$ node npm-rebuild.js

> [email protected] install /opt/app/programs/server/npm/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v1.0.2/bcrypt_lib-v1.0.2-node-v46-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v46 ABI) (falling back to source compile with node-gyp)
make: Entering directory '/opt/app/programs/server/npm/node_modules/bcrypt/build'
  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
  CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
  SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
  COPY Release/bcrypt_lib.node
  COPY /opt/app/programs/server/npm/node_modules/bcrypt/lib/binding/bcrypt_lib.node
  TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/opt/app/programs/server/npm/node_modules/bcrypt/build'
npm ERR! Linux 4.9.31-moby
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "rebuild" "--update-binary"
npm ERR! node v4.8.3
npm ERR! npm  v2.15.12
npm ERR! path /opt/app/programs/server/npm/node_modules/sshpk/bin\sshpk-conv
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/opt/app/programs/server/npm/node_modules/sshpk/bin\sshpk-conv'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR!     /opt/app/programs/server/npm/npm-debug.log
error Command failed with exit code 254.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
The command '/bin/sh -c cd /opt/app/programs/server   && yarn' returned a non-zero code: 1

QHose avatar Jul 04 '17 20:07 QHose

no issues if you use FROM node:4.8.3 in dockerfile

QHose avatar Jul 04 '17 21:07 QHose