-
Notifications
You must be signed in to change notification settings - Fork 22
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
Cannot find module 'bplist-creator' #58
Comments
Its still giving issue with node v14.18.0 |
I haven't seen this issue myself and I can't seem to reproduce it locally with node v16.13.0 on macOS. @rajmonotype are you also on Windows by chance? |
I think the issue might relate to using ESM imports, I can reproduce the problem if I use |
@larryhuang have you find a way to fix the issue? |
@rajmonotype have you find a way to fix the issue? |
The issue I'm experiencing appears to relate to changes in version 1.3.1 where a default export is incompatible with version 1.3.0 for ESM imports but still may be relevant to this issue. CommonJS imports work with 1.3.1 but ESM imports have issues with missing types in |
@dnicolson how did you solve an issue? |
@realtril I don't have a solution, have you tried using CommonJS imports? For example:
|
yeah, |
Hey @larryhuang et al. I've just released v1.4.0 over on npm under the |
# Why `simple-plist@1.3.1` is a transitive dependency of the xcode package. it has [an incompatible issue](wollardj/simple-plist#58) with ncc. the issue is pending for a while without publishing newer version as latest dist-tag. that blocks us from updating install-expo-modules. # How replace xcode with the awesome xcparse. this pr introduces a `withXCParseXcodeProject` config-plugin internally. # Test Plan - ✅ unit test passed - ✅ manual test on a react-native 0.68 project - ✅ manual test on a react-native 0.69 project
I had this issue on the latest stable
Environment:
|
@walkingbrad there are no default exports, according to the documentation you need to import named exports: import * as plist from "simple-plist"; With version 1.4.0 I see different errors outlined in #68 (comment). |
I've just tried 1.4.0-0 and it fixes my issue, compiling fine now. Is there an ETA for when 1.4.0 will be fully released or if the type issues can be fixed in the 1.3 branch? What I was seeing: with I also got errors with Here's the full set of errors shown in vscode Problems when I look at the file |
|
Environment:
Scenario
Error
The text was updated successfully, but these errors were encountered: