Code Monkey home page Code Monkey logo

Comments (3)

soumenpal123 avatar soumenpal123 commented on June 8, 2024

I am able to resolve the issue after making some changes into my quickstart.js file.
But in quickstart.js file if I put below code:
const client = new Wit(token, actions);
client.interactive();

I am below issue:

[OKAY] package.json file found - trying 'npm start'
12:44:52 PM web.1 | > [email protected] start C:\Program Files\nodejs
12:44:52 PM web.1 | > node quickstart.js
12:44:52 PM web.1 | >
12:44:52 PM web.1 | string_decoder.js:71
12:44:52 PM web.1 | if (buf.length === 0)
12:44:52 PM web.1 | ^
12:44:52 PM web.1 | TypeError: Cannot read property 'length' of null
12:44:52 PM web.1 | at StringDecoder.write (string_decoder.js:71:10)
12:44:52 PM web.1 | at Interface._normalWrite (readline.js:343:30)
12:44:52 PM web.1 | at Interface.write (readline.js:334:49)
12:44:52 PM web.1 | at interactive (C:\Program Files\nodejs\node-wit\lib\wi
t.js:289:13)
12:44:52 PM web.1 | at Object. (C:\Program Files\nodejs\quicksta
rt.js:97:8)
12:44:52 PM web.1 | at Module._compile (module.js:556:32)
12:44:52 PM web.1 | at Object.Module._extensions..js (module.js:565:10)
12:44:52 PM web.1 | at Module.load (module.js:473:32)
12:44:52 PM web.1 | at tryModuleLoad (module.js:432:12)
12:44:52 PM web.1 | at Function.Module._load (module.js:424:3)
12:44:52 PM web.1 | npm
12:44:52 PM web.1 | ERR! Windows_NT 6.2.9200
12:44:52 PM web.1 | npm ERR!
12:44:52 PM web.1 | argv "C:\Program Files\nodejs\node.exe" "C:\Program Fi
les\nodejs\node_modules\npm\bin\npm-cli.js" "start"
12:44:52 PM web.1 | npm ERR! node v6.4.0
12:44:52 PM web.1 | npm ERR! npm v3.10.3
12:44:52 PM web.1 | npm ERR! code ELIFECYCLE
12:44:52 PM web.1 | npm ERR! [email protected] start: node quickstart.js
12:44:52 PM web.1 | npm ERR! Exit status 1
12:44:52 PM web.1 | npm ERR!
12:44:52 PM web.1 | npm ERR! Failed at the [email protected] start script 'no
de quickstart.js'.
12:44:52 PM web.1 | npm ERR! Make sure you have the latest version of node.js a
nd npm installed.
12:44:52 PM web.1 | npm ERR! If you do, this is most likely a problem with the
weathernodejs package,
12:44:52 PM web.1 | npm ERR! not with npm itself.
12:44:52 PM web.1 | npm ERR! Tell the author that this fails on your system:
12:44:52 PM web.1 | npm ERR! node quickstart.js
12:44:52 PM web.1 | npm ERR! You can get information on how to open an issue fo
r this project with:
12:44:52 PM web.1 | npm ERR! npm bugs weathernodejs
12:44:52 PM web.1 | npm ERR! Or if that isn't available, you can get their info
via:
12:44:52 PM web.1 | npm
12:44:52 PM web.1 | ERR! npm owner ls weathernodejs
12:44:52 PM web.1 | npm ERR! There is likely additional logging output above.
12:44:52 PM web.1 | npm
12:44:52 PM web.1 | ERR! Please include the following file with any support re
quest:
12:44:52 PM web.1 | npm ERR! C:\Program Files\nodejs\npm-debug.log
[DONE] Killing all processes with signal null
12:44:52 PM web.1 Exited with exit code 1

from learn-redux.

soumenpal123 avatar soumenpal123 commented on June 8, 2024

Can anyone please answer why I am getting above issue executing the below code:

const client = new Wit(token, actions);

client.interactive();

from learn-redux.

nelsonic avatar nelsonic commented on June 8, 2024

Hi @soumenpal123, the task that you are trying to accomplish does not appear to be related to purpose of this repository (learning how to use the redux library) ... please raise this issue on the heroku toolbelt issues instead: https://github.com/heroku/cli/issues

Thanks!

from learn-redux.

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.