Comments (5)
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.
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.
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.
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.
@klaygomes thanks; I’ll take a look there.
from regexp.prototype.flags.
Related Issues (10)
- Follow the spec HOT 3
- Action required: Greenkeeper could not be activated 🚨
- es-abstract: callBindError HOT 23
- Is this library intended to be browser-compatible? HOT 3
- `flags` should not be configurable HOT 3
- An in-range update of es-abstract is breaking the build 🚨 HOT 1
- Dependency Dashboard
- Versioning issue HOT 1
- Error: Cannot find module 'functions-have-names' -v1.5.1 HOT 24
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from regexp.prototype.flags.