Coder Social home page Coder Social logo

Comments (5)

klaygomes avatar klaygomes commented on August 27, 2024 2

This problem is because of the functions-have-names dependency, it assumes getOwnPropertyDescriptor will always return a value that is not true. I opened an issue there. inspect-js/functions-have-names#11

from regexp.prototype.flags.

ljharb avatar ljharb commented on August 27, 2024

Thanks - can you provide a bit more information? The only change in v1.4.3 is https://github.com/es-shims/RegExp.prototype.flags/blob/main/implementation.js#L37-L39.

module.exports should never be nullish in a working node module bundler. I don't use angular, or ionic, but is there a chance that Ionic Cloud isn't providing a compliant node module environment?

from regexp.prototype.flags.

snehasis avatar snehasis commented on August 27, 2024

Please find the exact error I am getting on browser.

Error caught from window.onerror: Message: Unable to get property 'configurable' of undefined or null reference - URL: ms-appx-web://com.xxx.xxx/www/build/3.js?v=20.130.97 - Line: 1 - Column: 277884 - Error object: "TypeError: Unable to get property 'configurable' of undefined or null reference\n at r.functionsHaveConfigurableNames (ms-appx-web://com.xxx.xxx/www/build/3.js?v=20.130.97:1:277884)\n at Anonymous function (ms-appx-web://com.xxx.xxx/www/build/1.js?v=20.130.97:1:903235)\n at __webpack_require__ (ms-appx-web://com.xxx.xxx/www/build/manifest.js?v=20.130.97:1:107)\n at Anonymous function (ms-appx-web://com.xxx.xxx/www/build/1.js?v=20.130.97:1:1202311)\n at __webpack_require__ (ms-appx-web://com.xxx.xxx/www/build/manifest.js?v=20.130.97:1:107)\n at 1882 (ms-appx-web://com.xxx.xxx/www/build/3.js?v=20.130.97:1:275481)\n at __webpack_require__ (ms-appx-web://com.xxx.xxx/www/build/manifest.js?v=20.130.97:1:107)\n at 1830 (ms-appx-web://com.xxx.xxx/www/build/2.js?v=20.130.97:1:607481)\n at __webpack_require__ (ms-appx-web://com.xxx.xxx/www/build/manifest.js?v=20.130.97:1:107)\n at 1392 (ms-appx-web://com.xxx.xxx/www/build/2.js?v=20.130.97:1:219820)\n at __webpack_require__ (ms-appx-web://com.xxx.xxx/www/build/manifest.js?v=20.130.97:1:107)\n at 742 (ms-appx-web://com.xxx.xxx/www/build/2.js?v=20.130.97:1:2077062)\n at __webpack_require__ (ms-appx-web://com.xxx.xxx/www/build/manifest.js?v=20.130.97:1:107)\n at 1825 (ms-appx-web://com.xxx.xxx/www/build/2.js?v=20.130.97:1:361436)\n at __webpack_require__ (ms-appx-web://com.xxx.xxx/www/build/manifest.js?v=20.130.97:1:107)"

Internally @ionic/cloud-angular uses some dependency which have this module dependency. Please check below the dependancy tree.
+-- @ionic/[email protected]
| -- @ionic/[email protected] | +-- @ionic/[email protected] | | +-- [email protected] | | | +-- [email protected] | | | | -- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | -- [email protected] | | | | -- [email protected]
| | | +-- [email protected]
| | | -- [email protected] | | | -- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | -- [email protected] | | | -- [email protected]
| | -- [email protected] | -- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | -- [email protected] | | -- [email protected]
| | -- [email protected] | +-- [email protected] | +-- [email protected] | +-- [email protected] | -- [email protected]

FYI : We are using Node version 6.9.x , I know its little older.

For now as a workaround we forcefully installing [email protected], which solves the issue.

from regexp.prototype.flags.

snehasis avatar snehasis commented on August 27, 2024

Thanks @klaygomes . Hope there will be a permanent fix for this on functions-have-names. For now the workaround works for me.

from regexp.prototype.flags.

ljharb avatar ljharb commented on August 27, 2024

@klaygomes thanks; I’ll take a look there.

from regexp.prototype.flags.

Related Issues (10)

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.