Issues in building with pkg #18

오픈
" josh2018-10-13 18:57:24 +00:00을 오픈" · 0개의 코멘트
Collaborator

I am building Telebit with pkg and am encountering the following errors:

> Warning Cannot resolve 'state.sortingHat'
  /home/josh/telebitlinux/lib/remote.js
  Dynamic require may fail at run time, because the requested file
  is unknown at compilation time and not included into executable.
  Use a string literal as an argument for 'require', or leave it
  as is and specify the resolved file name in 'scripts' option.
> Warning Cannot resolve 'pathname'
  /home/josh/telebitlinux/lib/updater.js
  Dynamic require may fail at run time, because the requested file
  is unknown at compilation time and not included into executable.
  Use a string literal as an argument for 'require', or leave it
  as is and specify the resolved file name in 'scripts' option.
> Warning Cannot stat, ENOENT
  /home/josh/telebitlinux/usr/share/bin/telebitd.js
  The file was required from '/home/josh/telebitlinux/usr/share/install-launcher.js'
> Warning Cannot stat, ENOENT
  /home/josh/telebitlinux/usr/share/dist/etc/systemd/system/telebit.service
  The file was required from '/home/josh/telebitlinux/usr/share/template-launcher.js'
> Warning Cannot stat, ENOENT
  /home/josh/telebitlinux/usr/share/dist/etc/skel/.config/systemd/user/telebit.service
  The file was required from '/home/josh/telebitlinux/usr/share/template-launcher.js'
> Warning Cannot stat, ENOENT
  /home/josh/telebitlinux/usr/share/dist/Library/LaunchDaemons/cloud.telebit.remote.plist
  The file was required from '/home/josh/telebitlinux/usr/share/template-launcher.js'
> Warning Cannot stat, ENOENT
  /home/josh/telebitlinux/usr/share/dist/etc/skel/Library/LaunchAgents/cloud.telebit.remote.plist
  The file was required from '/home/josh/telebitlinux/usr/share/template-launcher.js'

This is because it requires a little bit of configuration tweaking to work properly: https://github.com/zeit/pkg#config

There's a chance it might work as desired, but it also might not.

I am building Telebit with `pkg` and am encountering the following errors: ``` > Warning Cannot resolve 'state.sortingHat' /home/josh/telebitlinux/lib/remote.js Dynamic require may fail at run time, because the requested file is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option. > Warning Cannot resolve 'pathname' /home/josh/telebitlinux/lib/updater.js Dynamic require may fail at run time, because the requested file is unknown at compilation time and not included into executable. Use a string literal as an argument for 'require', or leave it as is and specify the resolved file name in 'scripts' option. > Warning Cannot stat, ENOENT /home/josh/telebitlinux/usr/share/bin/telebitd.js The file was required from '/home/josh/telebitlinux/usr/share/install-launcher.js' > Warning Cannot stat, ENOENT /home/josh/telebitlinux/usr/share/dist/etc/systemd/system/telebit.service The file was required from '/home/josh/telebitlinux/usr/share/template-launcher.js' > Warning Cannot stat, ENOENT /home/josh/telebitlinux/usr/share/dist/etc/skel/.config/systemd/user/telebit.service The file was required from '/home/josh/telebitlinux/usr/share/template-launcher.js' > Warning Cannot stat, ENOENT /home/josh/telebitlinux/usr/share/dist/Library/LaunchDaemons/cloud.telebit.remote.plist The file was required from '/home/josh/telebitlinux/usr/share/template-launcher.js' > Warning Cannot stat, ENOENT /home/josh/telebitlinux/usr/share/dist/etc/skel/Library/LaunchAgents/cloud.telebit.remote.plist The file was required from '/home/josh/telebitlinux/usr/share/template-launcher.js' ``` This is because it requires a little bit of configuration tweaking to work properly: [https://github.com/zeit/pkg#config](https://github.com/zeit/pkg#config) There's a chance it might work as desired, but it also might not.
"로그인하여 이 대화에 참여"
참여자 1명
알림
마감일
마감일이 설정되지 않았습니다.
의존성

No dependencies set.

Reference: coolaj86/telebit.js#18
No description provided.