Git Product home page Git Product logo

110-2-client-side-webapp-development's Introduction

110-2-client-side-webapp-development

Join the chat at https://gitter.im/ntpuecon/110-2-webapp-development

110-2-client-side-webapp-development's People

Contributors

gitter-badger avatar tpemartin avatar

Watchers

 avatar  avatar

110-2-client-side-webapp-development's Issues

說明會

  1. 上課時間:彈性,但每完成一個單元要填進度表
    Independent study: Progress form
    https://docs.google.com/forms/d/e/1FAIpQLSeuITSF0R6qW6cI4FsoLnY_bU0hHS0EieaesUtR0rJU5p9cXQ/viewform?usp=sf_link

  2. 影片錄製:老師當天公佈幾點會錄,到時開google meet。若有同學可以在那時上線即時學習,請盡量上線參與。(希望影片能更接地氣)

  3. 設定:

webdriver使用問題

session = 
webdriver::Session$new(port = 9515)

Error : lexical error: invalid char in json text.
invalid session id
(right here) ------^

Error in session_makeRequest(self, private, endpoint, data, params, headers) :
{"value":{"error":"invalid session id","message":"invalid session id","stacktrace":"Backtrace:\n\tOrdinal0 [0x00FA8BD3+2395091]\n\tOrdinal0 [0x00F3ACA1+1944737]\n\tOrdinal0 [0x00E2CED0+839376]\n\tOrdinal0 [0x00E4E9F0+977392]\n\tOrdinal0 [0x00E74AB0+1133232]\n\tOrdinal0 [0x00E728F8+1124600]\n\tOrdinal0 [0x00E72499+1123481]\n\tOrdinal0 [0x00E0DBC7+711623]\n\tOrdinal0 [0x00E0E143+713027]\n\tOrdinal0 [0x00E0E57A+714106]\n\tGetHandleVerifier [0x0115C912+1719138]\n\tGetHandleVerifier [0x0120B2CD+2434333]\n\tGetHandleVerifier [0x01044001+569937]\n\tGetHandleVerifier [0x01043066+565942]\n\tOrdinal0 [0x00F4265B+1975899]\n\tOrdinal0 [0x00E0D957+710999]\n\tOrdinal0 [0x00E0D408+709640]\n\tGetHandleVerifier [0x01230D6C+2588604]\n\tBaseThreadInitThunk [0x76B86739+25]\n\tRtlGetFullPathName_UEx [0x77D18E7F+1215]\n\tRtlGetFullPathName_UEx [0x77D18E4D+1165]\n"}}

我在Terminal執行也是9515,但跑出上面這個

ubuntu-R-install.packages()

install.packages("httr")
Installing package into ‘/home/raychiu/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)
also installing the dependencies ‘curl’, ‘openssl’

trying URL 'https://cloud.r-project.org/src/contrib/curl_4.3.2.tar.gz'
Content type 'application/x-gzip' length 793345 bytes (774 KB)

downloaded 774 KB

trying URL 'https://cloud.r-project.org/src/contrib/openssl_2.0.0.tar.gz'
Content type 'application/x-gzip' length 1200448 bytes (1.1 MB)

downloaded 1.1 MB

trying URL 'https://cloud.r-project.org/src/contrib/httr_1.4.2.tar.gz'
Content type 'application/x-gzip' length 159950 bytes (156 KB)

downloaded 156 KB

  • installing source package ‘curl’ ...
    ** package ‘curl’ successfully unpacked and MD5 sums checked
    ** using staged installation
    Package libcurl was not found in the pkg-config search path.
    Perhaps you should add the directory containing libcurl.pc' to the PKG_CONFIG_PATH environment variable No package 'libcurl' found Package libcurl was not found in the pkg-config search path. Perhaps you should add the directory containing libcurl.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libcurl' found
    Using PKG_CFLAGS=
    Using PKG_LIBS=-lcurl
    ------------------------- ANTICONF ERROR ---------------------------
    Configuration failed because libcurl was not found. Try installing:
  • deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
  • rpm: libcurl-devel (Fedora, CentOS, RHEL)
  • csw: libcurl_dev (Solaris)
    If libcurl is already installed, check that 'pkg-config' is in your
    PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
    is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
    R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'

ERROR: configuration failed for package ‘curl’

  • removing ‘/home/raychiu/R/x86_64-pc-linux-gnu-library/4.1/curl’
    Warning in install.packages :
    installation of package ‘curl’ had non-zero exit status
  • installing source package ‘openssl’ ...
    ** package ‘openssl’ successfully unpacked and MD5 sums checked
    ** using staged installation
    Using PKG_CFLAGS=
    --------------------------- [ANTICONF] --------------------------------
    Configuration failed because openssl was not found. Try installing:
  • deb: libssl-dev (Debian, Ubuntu, etc)
  • rpm: openssl-devel (Fedora, CentOS, RHEL)
  • csw: libssl_dev (Solaris)
  • brew: [email protected] (Mac OSX)
    If openssl is already installed, check that 'pkg-config' is in your
    PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config
    is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
    R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
    -------------------------- [ERROR MESSAGE] ---------------------------
    tools/version.c:1:10: fatal error: openssl/opensslv.h: No such file or directory
    1 | #include <openssl/opensslv.h>
    | ^~~~~~~~~~~~~~~~~~~~
    compilation terminated.

ERROR: configuration failed for package ‘openssl’

  • removing ‘/home/raychiu/R/x86_64-pc-linux-gnu-library/4.1/openssl’
    Warning in install.packages :
    installation of package ‘openssl’ had non-zero exit status
    ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’
  • removing ‘/home/raychiu/R/x86_64-pc-linux-gnu-library/4.1/httr’
    Warning in install.packages :
    installation of package ‘httr’ had non-zero exit status

The downloaded source packages are in
‘/tmp/Rtmp6csG9d/downloaded_packages’

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.