Code Monkey home page Code Monkey logo

Comments (6)

mzabriskie avatar mzabriskie commented on April 20, 2024

What version did you update to/from? Also what does your require statement look like?

from axios.

mzabriskie avatar mzabriskie commented on April 20, 2024

@braco ping

from axios.

mzabriskie avatar mzabriskie commented on April 20, 2024

Closing due to lack of response. If you have any further trouble feel free to re-open.

from axios.

laander avatar laander commented on April 20, 2024

I'm having a related problem. When using axios in a library and bundling it together in my dist, I'm getting an error when resolving vertx in es6-promise (when run in node.js):

/Users/las/timekit-io/js-sdk/dist/timekit.js:1629
            lib$es6$promise$asap$$vertxNext(lib$es6$promise$asap$$flush);
            ^
TypeError: undefined is not a function

I'm using webpack myself for bundling and for debugging, I've tried ignoring vertx in my build:

plugins: [
  new webpack.IgnorePlugin(/vertx/)
]

This removes the above error, but instead i get:
[ReferenceError: navigator is not defined]

Using Axios v 0.5.4

from axios.

laander avatar laander commented on April 20, 2024

On a second revision, I dont think the vertx "problem" is related to this one. It just simply happened to be the first error thrown and therefore only one shown.

from axios.

aaayushsingh avatar aaayushsingh commented on April 20, 2024

did anyone happen to find a solution to this? I'm using this with webpack and keep getting navigator is undefined.

from axios.

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.