Git Product home page Git Product logo

cambridge-dictionary's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

redouand hhanh00 vub

cambridge-dictionary's Issues

Error: Cannot find module '@babel/runtime/regenerator'

internal/modules/cjs/loader.js:605
    throw err;
    ^

Error: Cannot find module '@babel/runtime/regenerator'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)                                            
    at Function.Module._load (internal/modules/cjs/loader.js:529:25)                                                       
    at Module.require (internal/modules/cjs/loader.js:658:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/home/lego/.config/yarn/global/node_modules/cambridge-dictionary/lib/cli.js:1:1042)             
    at t (/home/lego/.config/yarn/global/node_modules/cambridge-dictionary/lib/cli.js:1:172)                               
    at Module.<anonymous> (/home/lego/.config/yarn/global/node_modules/cambridge-dictionary/lib/cli.js:1:1939)             
    at t (/home/lego/.config/yarn/global/node_modules/cambridge-dictionary/lib/cli.js:1:172)                               
    at /home/lego/.config/yarn/global/node_modules/cambridge-dictionary/lib/cli.js:1:964                                   
    at Object.<anonymous> (/home/lego/.config/yarn/global/node_modules/cambridge-dictionary/lib/cli.js:1:974)

global is not defined

I attempted to use it with Cloudflare worker, which is javascript, but not node. I am guessing that it's a problem with node-fetch. In current version of node (and CF workers) fetch is already a global, but also I recommend cross-fetch which checks if fetch is defined before trying to polyfill it, and works in cloudflare-workers.

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.