Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve module @unimodules/core #20

Open
paulsizer opened this issue Feb 18, 2022 · 3 comments
Open

Unable to resolve module @unimodules/core #20

paulsizer opened this issue Feb 18, 2022 · 3 comments

Comments

@paulsizer
Copy link

Am I missing something? I am running a managed Expo app, there is some information about react-native-unimodules but that is for Bare Expo and React Native apps.

iOS Bundling failed 5544ms
Unable to resolve module @unimodules/core from .../node_modules/expo-file-dl/node_modules/expo-media-library/build/MediaLibrary.js: @unimodules/core could not be found within the project or in these directories:
node_modules/expo-file-dl/node_modules/expo-media-library/node_modules
node_modules/expo-file-dl/node_modules
node_modules

@DonxDaniyar
Copy link

Same issue

@soymanuvalle
Copy link

@paulsizer @DonxDaniyar Until the merge request gets approved you can install the package from this branch:
yarn add github:soymanuvalle/expo-file-dl#expo-sdk-44

@ownsupernoob2
Copy link

@paulsizer @DonxDaniyar Until the merge request gets approved you can install the package from this branch: yarn add github:soymanuvalle/expo-file-dl#expo-sdk-44

i tried downloading it but it gave me this error:

npm ERR! prepareGitDep 1> npm ERR! prepareGitDep > expo-file-dl@2.0.0 prepare C:\Users\ahmed\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-079a82c8 npm ERR! prepareGitDep > expo-module prepare npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! prepareGitDep 2> npm WARN install Usage of the --devoption is deprecated. Use--also=devinstead. npm ERR! prepareGitDep npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm ERR! prepareGitDep npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added npm ERR! prepareGitDep npm WARN deprecated left-pad@1.3.0: use String.prototype.padStart() npm ERR! prepareGitDep npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm ERR! prepareGitDep npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! prepareGitDep npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm ERR! prepareGitDep npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm ERR! prepareGitDep npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm ERR! prepareGitDep npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm ERR! prepareGitDep npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm ERR! prepareGitDep npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm ERR! prepareGitDep npm notice Beginning October 4, 2021, all connections to the npm registry - including for package installation - must use TLS 1.2 or higher. You are currently using plaintext http to connect. Please visit the GitHub blog for more information: https://github.blog/2021-08-23-npm-registry-deprecating-tls-1-0-tls-1-1/ npm ERR! prepareGitDep C:\Users\ahmed\AppData\Roaming\npm-cache\_cacache\tmp\git-clone-079a82c8\node_modules\expo-module-scripts\bin\expo-module-prepare:3 npm ERR! prepareGitDep set -eo pipefail npm ERR! prepareGitDep ^^^^^^^^ npm ERR! prepareGitDep npm ERR! prepareGitDep SyntaxError: Unexpected identifier npm ERR! prepareGitDep at Object.compileFunction (node:vm:352:18) npm ERR! prepareGitDep at wrapSafe (node:internal/modules/cjs/loader:1033:15) npm ERR! prepareGitDep at Module._compile (node:internal/modules/cjs/loader:1069:27) npm ERR! prepareGitDep at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) npm ERR! prepareGitDep at Module.load (node:internal/modules/cjs/loader:981:32) npm ERR! prepareGitDep at Function.Module._load (node:internal/modules/cjs/loader:822:12) npm ERR! prepareGitDep at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) npm ERR! prepareGitDep at node:internal/main/run_main_module:17:47 npm ERR! prepareGitDep npm ERR! code ELIFECYCLE npm ERR! prepareGitDep npm ERR! errno 1 npm ERR! prepareGitDep npm ERR! expo-file-dl@2.0.0 prepare:expo-module prepare npm ERR! prepareGitDep npm ERR! Exit status 1 npm ERR! prepareGitDep npm ERR! npm ERR! prepareGitDep npm ERR! Failed at the expo-file-dl@2.0.0 prepare script. npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! prepareGitDep npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in: npm ERR! prepareGitDep npm ERR! C:\Users\ahmed\AppData\Roaming\npm-cache\_logs\2022-08-17T05_26_38_741Z-debug.log npm ERR! prepareGitDep npm ERR! premature close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants