Incorrect expo-config(MODULE_NOT_FOUND) error
See original GitHub issueDescription of the bug
The extension is reporting expo-config(MODULE_NOT_FOUND)
for all plugins that I specify in app.json
To Reproduce
expo init
- Create
app.plugin.js
file with contents:module.exports = (config) => config;
- In
app.json
addexpo.plugins
property:"plugins": ["./app.plugin"],
- Notice error:
Cannot find module '/Users/joshua/code/TestExpoApp/app.plugin.js' expo-config(MODULE_NOT_FOUND)
Expected behavior
No error should appear
Actual behavior
Error appeared
Additional context
Name: Expo Tools
Id: bycedric.vscode-expo
Description: Expo tools for vscode
Version: 0.7.3
Publisher: Cedric van Putten
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=byCedric.vscode-expo
Issue Analytics
- State:
- Created 2 years ago
- Reactions:9
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Do you understand that any Expo CLI issues opened ... - GitHub
Module not found : Can't resolve '../../Utilities/Platform' #16227 ... Ok, I was finally able to solve my own instance of this problem:.
Read more >failed to resolve plugin for module "sentry-expo" - You.com
I've sentry-expo in my package.json and in my app.config.js I have plugins: ["sentry-expo"], I've also tried adding "cache": {"disabled": true} to the ...
Read more >node.js - Expo Export Erro Processing Bundle Patterns with ...
Hello I'm facing a expo export problem after Node. ... /expo-cli/node_modules/@expo/config-plugins/src/android/Manifest.ts:164:8) at ...
Read more >Config Plugins - Expo Documentation
Config plugins are a system for extending the Expo config and customizing the ... error handling asserts if the mod chain was corrupted...
Read more >UNPKG - @expo/webpack-config
'source-map' : false;\n }\n if (development) {\n return ... gives some necessary context to module not found errors, such as\n // the requesting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed by #71, hopefully we can release it this week!
While the error no longer shows in
0.7.1
the extension also doesn’t seem to validate plugin paths at all.0.7.2
seems to work as expected and correctly validates the plugin/module path.Note: This issue also affects the
Preview config
andPreview modifier
commands which don’t correctly display the built time changes from the plugins. The plugin changes do work for actual builds.