Code Monkey home page Code Monkey logo

Comments (5)

Abiy avatar Abiy commented on May 25, 2024

The default setting is to fetch javascript packages from npm('npm:': 'https://unpkg.com/'), you can change that setting by editing the file systemjs.config.server.js and setting paths 'npm:': 'node_modules/' to fetch packages from your local node_modules directory.

That will fix the javascript loading issue.

from distgatling.

al-pysarenko avatar al-pysarenko commented on May 25, 2024

@Abiy ,
I have edited the file systemjs.config.server.js and set path 'npm:': 'node_modules/'. And now I get another error:
zone.js:1050 GET http://localhost:8080/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js 404 ()

(index):57 Error: Fetch error: 404 Instantiating http://localhost:8080/node_modules/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js Loading http://localhost:8080/app/main.js Loading app at fetch.js:37 at ZoneDelegate.invoke (zone.js:388) at Zone.run (zone.js:138) at zone.js:872 at ZoneDelegate.invokeTask (zone.js:421) at Zone.runTask (zone.js:188) at drainMicroTaskQueue (zone.js:595) at n (shim.js:6150) at shim.js:6167 at MutationObserver.t (shim.js:2399)

Should I create this "node_modules" directory manually?

from distgatling.

Abiy avatar Abiy commented on May 25, 2024

from distgatling.

al-pysarenko avatar al-pysarenko commented on May 25, 2024

@Abiy
Thank you, this helped.
Managed to login

from distgatling.

al-pysarenko avatar al-pysarenko commented on May 25, 2024

Hi @Abiy ,

I would be thankful if you could help me one more time.

I run gatling scenario feeded with user emails.
val emails = ((0 until 10001) map (index => Map("email" -> s"user$[email protected]"))).queue

Could you please tell how can I distribute users over different workers?
So that one worker runs emails from 0 to 1000, second worker runs 1001 to 2000, etc.

Thanks,
Alex

from distgatling.

Related Issues (19)

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.