yup: Dependency not found: @babel/runtime/helpers/builtin/objectWithoutPropertiesLoose
I’m seeing the following behaviour with v0.26.0.
If I revert to v0.25.1, all is well.
* @babel/runtime/helpers/builtin/objectWithoutPropertiesLoose in ./node_modules/yup/lib/Lazy.js, ./node_modules/yup/lib/util/runValidations.js and 1 other
To install it, you can run: npm install --save @babel/runtime/helpers/builtin/objectWithoutPropertiesLoose
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 29
- Comments: 18 (9 by maintainers)
None of above worked for me.The issue seems to be that the
builtin
folter has moved to the parent folderhelpers
. To resolve this I needed to create the folder and copy content of parent into that folder:Fix found on the forum: https://forums.meteor.com/t/error-cannot-find-module-babel-runtime-helpers-builtin-interoprequiredefault/44944/9
This seems to be a beta-issue, hopefully babel will move into RC so that this can be fixed.
GUI version of what @gforge said:
So all you need to do is go to @babel/runtime/helper copy all the content and paste it inside of a folder that should be named builtin. And you have got it fixed (at least mine was).
fixed in
0.26.1
@jquense I believe I found the problem, it looks like
objectWithoutPropertiesLoose
was only introduced as of babel/runtime 7.0.0-beta.53.I was able to get my install working by adding the following to my package.json, which tells
yarn
to override the transitive dependency: