Giter Club home page Giter Club logo

Comments (4)

acetcom avatar acetcom commented on June 15, 2024

Basically, I'm not sure why this problem is happened exactly.

But if there is node.js/npm version issue, ...

In node.js world, I think you may need to update lastest npm version. You can do with the following command.

sudo npm i -g npm

If the problem is node.js version, Node version management can install whatever node.js version you want to.

See my node.js version environment.

acetcom:webui acetcom$ node --version
v8.5.0
acetcom:webui acetcom$ npm --version
5.5.1

Let me know if plain Debian package has also some problem.

FYI:
You can use npm run dev instead of npm run build;npm run start in development stage.

from open5gs.

laf0rge avatar laf0rge commented on June 15, 2024

I can confirm that using the npm package from the feed on a clean Debian 9 container/VM is working as expected. It must have been something local to my development machine, I'm closing the issue. Sorry for the noise.

from open5gs.

sidtechnical avatar sidtechnical commented on June 15, 2024

Hi,

I am following the installation instructions given here. I seem to have same error and I could not fix it by myself. Any help would be appreciated.

> [email protected] dev /home/sid/nextepc/webui
> node server/index.js

internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'co'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/sid/nextepc/webui/server/index.js:3:12)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: `node server/index.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] dev 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!     /home/sid/.npm/_logs/2019-08-05T08_13_02_592Z-debug.log

node --version is v10.16.1
npm --version is 6.10.2
Ubuntu 18.04 LTS.

from open5gs.

acetcom avatar acetcom commented on June 15, 2024

https://nextepc.org is not open5gs project. Please see the https://open5gs.org

Anyway, you can not use node server/index.js because webui uses a next.js framework.

So, you should run web server with

$ npm run dev

Thanks!

from open5gs.

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.