Results 1 to 4 of 4

Thread: REST example

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Sep 2017
    Posts
    5
    Vote Rating
    0
      0  

    Default REST example

    npm start gives me this:

    > @extjs/reactor-rest-example@1.1.1 start /Users/avremel/Desktop/extjs-reactor/packages/reactor-rest-example
    > node server


    module.js:471
    throw err;
    ^


    Error: Cannot find module '/Users/avremel/Desktop/extjs-reactor/packages/reactor-rest-example/node_modules/sqlite3/lib/binding/node-v48-darwin-x64/node_sqlite3.node'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/avremel/Desktop/extjs-reactor/packages/reactor-rest-example/node_modules/sqlite3/lib/sqlite3.js:4:15)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @extjs/reactor-rest-example@1.1.1 start: `node server`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the @extjs/reactor-rest-example@1.1.1 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


    npm ERR! A complete log of this run can be found in:
    npm ERR! /Users/avremel/.npm/_logs/2017-09-18T17_15_14_274Z-debug.log

  2. #2
    Sencha - Support Team
    Join Date
    Sep 2017
    Posts
    16
    Vote Rating
    -61
      -16  

    Default

    Try calling npm install before npm start

    if that does not work, a fiddle would be greatly helpful

  3. #3
    Sencha - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,023
    Vote Rating
    1334
      8  

    Default

    Quote Originally Posted by Jaraj View Post
    if that does not work, a fiddle would be greatly helpful
    I'm not sure how you expect fiddle to work with npm as it's a browser tool. If whatever you want to npm install has a built browser script hosted somewhere (like react is which is how ExtReact can work in fiddle) then you can use that but you can't simple expect fiddle to install some random module off npm so you can use it within fiddle, that'd be a security nightmare!
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #4
    Sencha Premium User
    Join Date
    Nov 2009
    Posts
    140
    Vote Rating
    2
      1  

    Default

    Ah the new outsourced support after IDERA acquisition is really shining with their brilliance!

Similar Threads

  1. Why is it called REST proxy if it isn't really REST?
    By littlefyr in forum Ext: Discussion
    Replies: 5
    Last Post: 3 Jan 2016, 10:52 PM
  2. REST API recommendations
    By Waschbsch in forum Sencha Architect 3.x: Q&A
    Replies: 3
    Last Post: 3 Aug 2014, 5:55 PM
  3. Help Rest
    By fabioebner in forum Ext: Discussion
    Replies: 1
    Last Post: 7 Nov 2013, 10:14 PM
  4. [bug] REST Store bid to Grid do not send REST request
    By holicon_abg in forum Ext 3.x: Bugs
    Replies: 8
    Last Post: 21 Apr 2011, 11:42 PM
  5. REST and EXT JS
    By rails_user in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 23 Jun 2008, 8:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •