Below is the error message.
make: Leaving directory '/home/user/Blockchain/education/LFS171x/fabric-material/tuna-app/node_modules/pkcs11js/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/user/.nvm/versions/node/v10.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12)
gyp ERR! System Linux 4.13.0-39-generic
gyp ERR! command "/home/user/.nvm/versions/node/v10.0.0/bin/node" "/home/user/.nvm/versions/node/v10.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/user/Blockchain/education/LFS171x/fabric-material/tuna-app/node_modules/pkcs11js
gyp ERR! node -v v10.0.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pkcs11js@1.0.9 build: node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pkcs11js@1.0.9 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
Below is the error message. make: Leaving directory '/home/user/Blockchain/education/LFS171x/fabric-material/tuna-app/node_modules/pkcs11js/build' gyp ERR! build error gyp ERR! stack Error:
make
failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/user/.nvm/versions/node/v10.0.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12) gyp ERR! System Linux 4.13.0-39-generic gyp ERR! command "/home/user/.nvm/versions/node/v10.0.0/bin/node" "/home/user/.nvm/versions/node/v10.0.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build" gyp ERR! cwd /home/user/Blockchain/education/LFS171x/fabric-material/tuna-app/node_modules/pkcs11js gyp ERR! node -v v10.0.0 gyp ERR! node-gyp -v v3.6.2 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! pkcs11js@1.0.9 build:node-gyp configure build
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the pkcs11js@1.0.9 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?