Open l0k9j8 opened 5 years ago
And me to have same problem
npm run build
> Telegram@0.7.0 build /root/webogram
> gulp publish
[03:16:49] Using gulpfile ~/webogram/gulpfile.js
[03:16:49] Starting 'publish'...
[03:16:49] Starting 'add-appcache-manifest'...
[03:16:49] Starting 'build'...
[03:16:49] Starting 'clean'...
[03:16:49] Finished 'clean' after 63 ms
[03:16:49] Starting 'less'...
[03:16:49] Starting 'templates'...
[03:16:50] Finished 'less' after 992 ms
[03:16:50] Finished 'templates' after 1.12 s
[03:16:50] Starting 'enable-production'...
[03:16:50] Starting '<anonymous>'...
[03:16:50] Starting '<anonymous>'...
[03:16:51] Finished '<anonymous>' after 841 ms
[03:16:52] Finished '<anonymous>' after 1.67 s
[03:16:52] Finished 'enable-production' after 1.67 s
[03:16:52] Starting 'usemin-index'...
[03:17:30] Finished 'usemin-index' after 38 s
[03:17:30] Starting 'usemin-badbrowser'...
[03:17:30] Finished 'usemin-badbrowser' after 415 ms
[03:17:30] Starting 'copy'...
[03:17:30] Starting 'copy-locales'...
[03:17:30] Starting 'copy-images'...
[03:17:30] Starting 'disable-production'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Starting '<anonymous>'...
[03:17:30] Finished '<anonymous>' after 92 ms
[03:17:31] Finished '<anonymous>' after 325 ms
[03:17:31] Finished '<anonymous>' after 329 ms
[03:17:31] Finished '<anonymous>' after 329 ms
[03:17:31] Finished '<anonymous>' after 329 ms
[03:17:31] Finished '<anonymous>' after 330 ms
[03:17:31] Finished '<anonymous>' after 330 ms
[03:17:31] Finished '<anonymous>' after 336 ms
[03:17:31] Finished '<anonymous>' after 337 ms
[03:17:31] Finished '<anonymous>' after 337 ms
[03:17:31] Finished '<anonymous>' after 368 ms
[03:17:31] Finished '<anonymous>' after 369 ms
[03:17:31] Finished 'copy-locales' after 371 ms
[03:17:31] Finished '<anonymous>' after 382 ms
[03:17:31] Finished 'copy' after 383 ms
[03:17:31] Finished '<anonymous>' after 388 ms
[03:17:31] Finished 'copy-images' after 655 ms
[03:17:32] Finished '<anonymous>' after 1.45 s
[03:17:32] Finished 'disable-production' after 1.46 s
[03:17:32] Starting 'clean-templates'...
[03:17:32] Finished 'clean-templates' after 3.8 ms
[03:17:32] Finished 'build' after 43 s
[03:17:32] Starting '<anonymous>'...
[03:17:32] '<anonymous>' errored after 127 ms
[03:17:32] Error: Received a non-Vinyl object in `dest()`
at DestroyableTransform.normalize [as _transform] (/root/webogram/node_modules/vinyl-fs/lib/dest/prepare.js:16:17)
at DestroyableTransform.Transform._read (/root/webogram/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at DestroyableTransform.Transform._write (/root/webogram/node_modules/readable-stream/lib/_stream_transform.js:172:83)
at doWrite (/root/webogram/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/root/webogram/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at DestroyableTransform.Writable.write (/root/webogram/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at Pumpify.Duplexify._write (/root/webogram/node_modules/duplexify/index.js:208:22)
at doWrite (/root/webogram/node_modules/readable-stream/lib/_stream_writable.js:428:64)
at writeOrBuffer (/root/webogram/node_modules/readable-stream/lib/_stream_writable.js:417:5)
at Pumpify.Writable.write (/root/webogram/node_modules/readable-stream/lib/_stream_writable.js:334:11)
at Stream.ondata (internal/streams/legacy.js:16:26)
at emitOne (events.js:116:13)
at Stream.emit (events.js:211:7)
at Stream.endStream (/root/webogram/node_modules/gulp-manifest/index.js:130:10)
at _end (/root/webogram/node_modules/through/index.js:65:9)
at Stream.stream.end (/root/webogram/node_modules/through/index.js:74:5)
[03:17:32] 'add-appcache-manifest' errored after 43 s
[03:17:32] 'publish' errored after 43 s
npm ERR! Linux 4.15.0-48-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! Telegram@0.7.0 build: `gulp publish`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Telegram@0.7.0 build script 'gulp publish'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Telegram package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp publish
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs Telegram
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls Telegram
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/webogram/npm-debug.log`
And npm-debug.log
2 info using npm@3.5.2
3 info using node@v8.10.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle Telegram@0.7.0~prebuild: Telegram@0.7.0
6 silly lifecycle Telegram@0.7.0~prebuild: no script for prebuild, continuing
7 info lifecycle Telegram@0.7.0~build: Telegram@0.7.0
8 verbose lifecycle Telegram@0.7.0~build: unsafe-perm in lifecycle true
9 verbose lifecycle Telegram@0.7.0~build: PATH: /usr/share/npm/bin/node-gyp-bin:/root/webogram/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
10 verbose lifecycle Telegram@0.7.0~build: CWD: /root/webogram
11 silly lifecycle Telegram@0.7.0~build: Args: [ '-c', 'gulp publish' ]
12 silly lifecycle Telegram@0.7.0~build: Returned: code: 1 signal: null
13 info lifecycle Telegram@0.7.0~build: Failed to exec build script
14 verbose stack Error: Telegram@0.7.0 build: `gulp publish`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (/usr/share/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:126:13)
14 verbose stack at EventEmitter.emit (events.js:214:7)
14 verbose stack at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:126:13)
14 verbose stack at ChildProcess.emit (events.js:214:7)
14 verbose stack at maybeClose (internal/child_process.js:925:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
15 verbose pkgid Telegram@0.7.0
16 verbose cwd /root/webogram
17 error Linux 4.15.0-48-generic
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
19 error node v8.10.0
20 error npm v3.5.2
21 error code ELIFECYCLE
22 error Telegram@0.7.0 build: `gulp publish`
22 error Exit status 1
23 error Failed at the Telegram@0.7.0 build script 'gulp publish'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the Telegram package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error gulp publish
23 error You can get information on how to open an issue for this project with:
23 error npm bugs Telegram
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls Telegram
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
yeah, same problem
gulpfile.js.zip I made a few changes to gulpfile.js. It works for me. Also, I modified some code as it was running build twice. Use any file differ to see the changes.
gulpfile.js.zip I made a few changes to gulpfile.js. It works for me. Also, I modified some code as it was running build twice. Use any file differ to see the changes.
build success, nice
gulpfile.js.zip I made a few changes to gulpfile.js. It works for me. Also, I modified some code as it was running build twice. Use any file differ to see the changes.
build success, nice
Hi, this fix is incorrect. I am making another change. I will let you know once done.
The problem is with the older version of the gulp-manifest module, we replace this with the gulp-manifest3 module, which fixes this vinyl error. webogram-fix.zip
The problem is with the older version of the gulp-manifest module, we replace this with the gulp-manifest3 module, which fixes this vinyl error. webogram-fix.zip
nice, I am going to use websoket to develop a project, which will use some logic of webogram.
267
npm run build output:
2019-06-14T08_39_06_812Z-debug.log content: