Git Product home page Git Product logo

smart-annotations's Introduction

smart-annotations's People

Contributors

absharma9796 avatar

Watchers

 avatar  avatar

smart-annotations's Issues

Cant run the project

I followed the docs and did the following.

nvm install 12.22
nvm use 12.22

Followed by

git clone ...
cd web
yarn install
yarn start

I see the following error:

โฏ yarn start
yarn run v1.22.17
$ NEXT_PUBLIC_APP_ENV=production next start
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Loaded env from /home/ltbringer/Programs/js-code/smart-annotations/web/.env.local
info  - Loaded env from /home/ltbringer/Programs/js-code/smart-annotations/web/.env.production
Error: Cannot find module 'fs/promises'
Require stack:
- /home/ltbringer/Programs/js-code/smart-annotations/web/.next/server/pages/index.js
- /home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/require.js
- /home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/load-components.js
- /home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/next-server.js
- /home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/next.js
- /home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/lib/start-server.js
- /home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/cli/next-start.js
- /home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/bin/next
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.mod._resolveFilename (/home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/build/webpack/require-hook.js:171:28)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.3292 (/home/ltbringer/Programs/js-code/smart-annotations/web/.next/server/pages/index.js:476:18)
    at __webpack_require__ (/home/ltbringer/Programs/js-code/smart-annotations/web/.next/server/webpack-runtime.js:25:42)
    at Object.2578 (/home/ltbringer/Programs/js-code/smart-annotations/web/.next/server/chunks/985.js:121:13)
    at __webpack_require__ (/home/ltbringer/Programs/js-code/smart-annotations/web/.next/server/webpack-runtime.js:25:42)
    at /home/ltbringer/Programs/js-code/smart-annotations/web/.next/server/pages/index.js:151:73 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/ltbringer/Programs/js-code/smart-annotations/web/.next/server/pages/index.js',
    '/home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/require.js',
    '/home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/load-components.js',
    '/home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/next-server.js',
    '/home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/next.js',
    '/home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/server/lib/start-server.js',
    '/home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/cli/next-start.js',
    '/home/ltbringer/Programs/js-code/smart-annotations/web/node_modules/next/dist/bin/next'
  ]
}

I think yarn install should have taken care of any libs Error: Cannot find module 'fs/promises'.

Server error [500] on create dataset

I tried to

POST http://localhost:3000/api/datasets/create

{
  "name": "yes no dataset",
  "description": "Audios containing confirmation and negation phrases like \"affirm\" and \"negate\".",
  "labels": [
    "affirm",
    "negate"
  ],
  "label_colors": [
    "#CBBFBF",
    "#EFDEDE"
  ],
  "data_type": "audio",
  "minimum_consensus": 2,
  "maximum_voters": 2,
  "minimum_voters": 2
}

I get this in the response:

Cannot read property 'toLowerCase' of undefined

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.