Giter VIP home page Giter VIP logo

devzen's People

Contributors

apena415 avatar apolopena avatar dependabot-preview[bot] avatar

Watchers

 avatar  avatar

devzen's Issues

terms-cli.js breaks when there is no dump folder

Describe the bug
Tool fails if a dump folder does not exist

To Reproduce
ensure there is no dump folder in: /devzen/scripts/node/providers/youtube/data/
run the node script: /devzen/scripts/node/providers/youtube/cli/terms-cli.js
Expected behavior
A dump folder should be created on the fly in: /devzen/scripts/node/providers/youtube/data/

Actual Result

Now using node v12.4.0 (npm v6.9.0)
❯ node ./terms-cli.js
############################################
### create-local-terms.js -- version 0.2.1 --
############################################
Press q and then <Enter> at any time quit.
RULES:
  1. Terms and their corresponding titles must be comma delimited lists of equal length.
  2. Term and title lists cannot contain a trailing comma.
  3. Term and title lists cannot contain duplicate values.

?: Choose a type for the terms: enter 1 for 'front end', or 2 for 'back end':  events.js:177
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open '/home/apena/vscode-projects/personal/devzen/scripts/node/providers/youtube/data/dump/terms_20.24.00.31.txt'
Emitted 'error' event at:
    at internal/fs/streams.js:289:12
    at FSReqCallback.oncomplete (fs.js:153:23) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/apena/vscode-projects/personal/devzen/scripts/node/providers/youtube/data/dump/terms_20.24.00.31.txt'
}

Desktop (please complete the following information):

  • OS: Windows 10 - WSL2 Ubuntu 20.04 LTS
  • Node version: 12.4.0 (ala nvm)
  • VSCode WSL Remote Integrated terminal

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.