Coder Social home page Coder Social logo

search-train-ticket's Introduction

  • 👋 Hi, I’m @morty
  • 👀 I’m interested in nodejs、golang、cloud native etc..
  • 🌱 I’m currently learning goland‘s Microservice Framework and k8s
  • 📫 How to reach me

search-train-ticket's People

Contributors

silenceboychen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

search-train-ticket's Issues

怎么我这里直接报错

不知道是不是 node 版本问题, 原来 node 6 函数报错,后来 node 8,乱码
鍑哄彂绔?鏉窞):

SyntaxError: Unexpected token  in JSON at position 0

wei@wei-Lenovo:~/Downloads/search-train-ticket-master$ node main.js 
出发站(北京):深圳
到达站(上海):武汉
出发日期(2018-02-12):2018-01-24
文件不存在
数据写入成功!
SyntaxError: Unexpected token  in JSON at position 0
    at JSON.parse (<anonymous>)
    at getTicket (/home/wei/Downloads/search-train-ticket-master/main.js:52:23)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
wei@wei-Lenovo:~/Downloads/search-train-ticket-master$ 

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.