Giter Site home page Giter Site logo

Comments (4)

snowball77 avatar snowball77 commented on June 3, 2024 1

I think for now a better option is to just add this to your config.json and the error should go away.


"useInfo": false

Fair enough, but then it would be good to update the example file given on the webpage in the Readme.

from bluelinky.

snowball77 avatar snowball77 commented on June 3, 2024

The followup errors are:

❯ npm run debug

> [email protected] debug
> cross-env LOG_LEVEL=debug ts-node debug.ts


/Users/snowball/git/bluelinky/node_modules/ts-node/src/index.ts:513
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
debug.ts:125:11 - error TS18004: No value exists in scope for the shorthand property 'useInfo'. Either declare one or provide an initializer.

125           useInfo,
              ~~~~~~~
debug.ts:133:11 - error TS18004: No value exists in scope for the shorthand property 'useInfo'. Either declare one or provide an initializer.

133           useInfo,
              ~~~~~~~
debug.ts:141:11 - error TS18004: No value exists in scope for the shorthand property 'useInfo'. Either declare one or provide an initializer.

141           useInfo,
              ~~~~~~~
debug.ts:149:11 - error TS18004: No value exists in scope for the shorthand property 'useInfo'. Either declare one or provide an initializer.

149           useInfo,
              ~~~~~~~
debug.ts:157:11 - error TS18004: No value exists in scope for the shorthand property 'useInfo'. Either declare one or provide an initializer.

157           useInfo,
              ~~~~~~~

    at createTSError (/Users/snowball/git/bluelinky/node_modules/ts-node/src/index.ts:513:12)
    at reportTSError (/Users/snowball/git/bluelinky/node_modules/ts-node/src/index.ts:517:19)
    at getOutput (/Users/snowball/git/bluelinky/node_modules/ts-node/src/index.ts:752:36)
    at Object.compile (/Users/snowball/git/bluelinky/node_modules/ts-node/src/index.ts:968:32)
    at Module.m._compile (/Users/snowball/git/bluelinky/node_modules/ts-node/src/index.ts:1056:42)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/snowball/git/bluelinky/node_modules/ts-node/src/index.ts:1059:12)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Function.Module._load (node:internal/modules/cjs/loader:938:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)

from bluelinky.

snowball77 avatar snowball77 commented on June 3, 2024

I created a pull request removing the non-existing property. Please check whether this is the right way of fixing it

from bluelinky.

Hacksore avatar Hacksore commented on June 3, 2024

I think for now a better option is to just add this to your config.json and the error should go away.

"useInfo": false

from bluelinky.

Related Issues (20)

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.