Code Monkey home page Code Monkey logo

Comments (3)

iamtekeste avatar iamtekeste commented on July 26, 2024 1

@mrispoli24 Thank you so much for this! I was pulling my hair out for a couple of hours!!

from netlify-faunadb-example.

codeth avatar codeth commented on July 26, 2024

@mrispoli24 Another grateful dev here, thank you for documenting this! Problem solved.

In my case it was the same issue with formidable, but from auth0 rather than faunadb.

I had been successfully using Netlify Dev to serve some self-contained functions locally (with no build steps) and had just set up netlify-lambda so that I could build them from TypeScript source files instead. On building, I got the following warning:

WARNING in ../node_modules/formidable/lib/incoming_form.js 1:43-50
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
 @ ../node_modules/formidable/lib/index.js
 @ ../node_modules/superagent/lib/node/index.js
 @ ../node_modules/rest-facade/src/Client.js
 @ ../node_modules/rest-facade/src/index.js
 @ ../node_modules/auth0/src/auth/index.js
 @ ../node_modules/auth0/src/index.js
 @ ./image-signature.ts

Using the application resulted in the same error TypeError: n is not a function as reported by others on netlify/netlify-lambda#64.

from netlify-faunadb-example.

byungjuJin avatar byungjuJin commented on July 26, 2024

superagent need to upgrade formidable
Please check out below

ladjs/superagent#1609
node-formidable/formidable#337

from netlify-faunadb-example.

Related Issues (17)

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.