Git Product home page Git Product logo

df-snarker's Introduction

df-snarker's People

Contributors

bind avatar manan19 avatar omarish avatar phated avatar solsticesolutions avatar superphiz avatar

Stargazers

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

Watchers

 avatar

df-snarker's Issues

TypeError: LRUMap is not a constructor

Hi,

I'm trying to run this locally via the Dockerfile and run into TypeError: LRUMap is not a constructor. I can dig in and figure out what's going on, but submitting this in case you know of an easy fix.

Steps to reproduce:

docker build -t snarker:latest .
docker run snarker:latest

Stack Trace:

โฏ docker run snarker:latest

> [email protected] start /usr/src/app
> node build/server.js

/usr/src/app/build/src/main.js:45
var InMemoryCache = new LRUMap(CACHE_SIZE);
                    ^

TypeError: LRUMap is not a constructor
    at Object.<anonymous> (/usr/src/app/build/src/main.js:45:21)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/usr/src/app/build/server.js:43:30)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)

Cannot find module build/server.js

Ubuntu 20.04.1 LTS server
npm -v: 6.14.10
node -v: v14.15.4
yarn -v: 1.22.10

yarn run start

yarn run v1.22.10
$ node build/server.js
internal/modules/cjs/loader.js:883
throw err;
^

Error: Cannot find module '/home/miner/df-snarker/build/server.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
error Command failed with exit code 1.

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.