Skip to content

Instantly share code, notes, and snippets.

@CosineP
Created August 8, 2018 22:07
Show Gist options
  • Save CosineP/1dac04887f9a8472b34da037a9310ba2 to your computer and use it in GitHub Desktop.
Save CosineP/1dac04887f9a8472b34da037a9310ba2 to your computer and use it in GitHub Desktop.
mmmmm-mobile build log demonstrating error
~/src/mmmmm-clean master ✔
▶ nvm version
v8.9.4
~/src/mmmmm-clean master ✔
▶ npm --version
5.6.0
~/src/mmmmm-clean master ✔
▶ npm i
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! path /hdd/documents/src/mmmmm-clean/node_modules/tap-spec/bin/cmd.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/hdd/documents/src/mmmmm-clean/node_modules/tap-spec/bin/cmd.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/luna/.npm/_logs/2018-08-08T21_44_08_869Z-debug.log
~/src/mmmmm-clean master ✔
▶ npm i tap-spec
npm WARN eslint-plugin-react-native@3.2.1 requires a peer of eslint@^3.17.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native@0.55.4 requires a peer of react@16.3.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-fs@2.10.14 requires a peer of react-native@^0.51.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-fs@2.10.14 requires a peer of prop-types@15.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! path /hdd/documents/src/mmmmm-clean/node_modules/tap-spec/bin/cmd.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/hdd/documents/src/mmmmm-clean/node_modules/tap-spec/bin/cmd.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/luna/.npm/_logs/2018-08-08T21_45_59_203Z-debug.log
~/src/mmmmm-clean master ✔
▶ npm i tap-spec
npm WARN eslint-plugin-react-native@3.2.1 requires a peer of eslint@^3.17.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native@0.55.4 requires a peer of react@16.3.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-fs@2.10.14 requires a peer of react-native@^0.51.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-fs@2.10.14 requires a peer of prop-types@15.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ tap-spec@4.1.2
added 14 packages in 13.893s
~/src/mmmmm-clean master ✗
▶ npm i
> mmmmm@0.0.16-alpha prepare /hdd/documents/src/mmmmm-clean
> patch-package
patch-package: Applying patches...
nodejs-mobile-react-native@0.2.0 ✔
npm WARN eslint-plugin-react-native@3.2.1 requires a peer of eslint@^3.17.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native@0.55.4 requires a peer of react@16.3.1 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-fs@2.10.14 requires a peer of react-native@^0.51.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-native-fs@2.10.14 requires a peer of prop-types@15.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
up to date in 9.56s
~/src/mmmmm-clean master ✗
▶ npm run build-android-debug
> mmmmm@0.0.16-alpha build-android-debug /hdd/documents/src/mmmmm-clean
> npm run build-android-assets && react-native run-android
> mmmmm@0.0.16-alpha build-android-assets /hdd/documents/src/mmmmm-clean
> npm run lib && npm run propagate-replacements && npm run build-nodejs-app && npm run build-worker-android
> mmmmm@0.0.16-alpha lib /hdd/documents/src/mmmmm-clean
> tsc
> mmmmm@0.0.16-alpha propagate-replacements /hdd/documents/src/mmmmm-clean
> propagate-replacement-fields --field=react-native
> mmmmm@0.0.16-alpha build-nodejs-app /hdd/documents/src/mmmmm-clean
> ./tools/build-nodejs-app && ./tools/minify-nodejs-app
Compiling TypeScript...
> mmmmm@0.0.16-alpha lib /hdd/documents/src/mmmmm-clean
> tsc
Setting up...
Build Native Modules on
Installing dependencies...
npm WARN deprecated socks@1.1.9: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN ssb-nodejs@0.0.0 No description
npm WARN ssb-nodejs@0.0.0 No repository field.
npm WARN ssb-nodejs@0.0.0 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! path /hdd/documents/src/mmmmm-clean/nodejs-assets/nodejs-project/node_modules/scuttlebot/bin.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/hdd/documents/src/mmmmm-clean/nodejs-assets/nodejs-project/node_modules/scuttlebot/bin.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/luna/.npm/_logs/2018-08-08T22_06_47_120Z-debug.log
Updating package-lock.json
cp: cannot stat './nodejs-assets/nodejs-project/package-lock.json': No such file or directory
Unhandled script error 1 at ./tools/build-nodejs-app:34
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mmmmm@0.0.16-alpha build-nodejs-app: `./tools/build-nodejs-app && ./tools/minify-nodejs-app`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mmmmm@0.0.16-alpha build-nodejs-app script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/luna/.npm/_logs/2018-08-08T22_06_47_145Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mmmmm@0.0.16-alpha build-android-assets: `npm run lib && npm run propagate-replacements && npm run build-nodejs-app && npm run build-worker-android`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mmmmm@0.0.16-alpha build-android-assets script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/luna/.npm/_logs/2018-08-08T22_06_47_156Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mmmmm@0.0.16-alpha build-android-debug: `npm run build-android-assets && react-native run-android`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mmmmm@0.0.16-alpha build-android-debug script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/luna/.npm/_logs/2018-08-08T22_06_47_164Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment