Components folder was created but imports were not updated
CodeSandbox/Snack link
No response
Steps to reproduce
I can obviously manually update the imports but is this error of concern? Is there anything else that needs to be done here?
❯ npx gluestack-ui-scripts eject
Need to install the following packages:
gluestack-ui-scripts@0.1.11
Ok to proceed? (y) y
┌ gluestack-ui-scripts
hello
⏳ Ejecting Components & Theme will copy all the themed components inside './components' folder.
If you have already ejected the theme or components,
- This will overwrite the existing styles with default one. (It is NOT RECOMMENDED to eject again)
- If you need to eject the components, then save the changes and copy/paste them manually.
Commit you changes before ejecting, this command with update the imports!!
If you are already using @gluestack-ui/themed inside your project, running this command will automatically change the imports from @gluestack-ui/themed to the components folder path.
│
◇ Are you sure you want to continue?
│ Yes
│
◇ Enter folder name where you want ejected components.
│ components
│
◇ How do you want to import the components?
│ Relative Path
⏳ Ejecting Components & Theme inside "components". Please wait...
Error copying src folder: Error: ENOENT: no such file or directory, stat '/Users/Fish/Development/Projects/XXXX/redacted-project-name/node_modules/expo/node_modules/@expo/config/node_modules/.bin/semver'
at Object.stat (node:internal/fs/sync:58:25)
at Object.statSync (node:fs:1669:17)
at Object.statSync (/Users/Fish/.npm/_npx/124a6cf0cff875c9/node_modules/graceful-fs/polyfills.js:319:16)
at /Users/Fish/.npm/_npx/124a6cf0cff875c9/node_modules/gluestack-ui-scripts/dist/scripts/eject-components/index.js:63:20
at Array.forEach (<anonymous>)
at getAllFilesWithExtension (/Users/Fish/.npm/_npx/124a6cf0cff875c9/node_modules/gluestack-ui-scripts/dist/scripts/eject-components/index.js:61:15)
at /Users/Fish/.npm/_npx/124a6cf0cff875c9/node_modules/gluestack-ui-scripts/dist/scripts/eject-components/index.js:64:28
at Array.forEach (<anonymous>)
at getAllFilesWithExtension (/Users/Fish/.npm/_npx/124a6cf0cff875c9/node_modules/gluestack-ui-scripts/dist/scripts/eject-components/index.js:61:15)
at /Users/Fish/.npm/_npx/124a6cf0cff875c9/node_modules/gluestack-ui-scripts/dist/scripts/eject-components/index.js:64:28 {
errno: -2,
code: 'ENOENT',
syscall: 'stat',
path: '/Users/Fish/Development/Projects/XXXXX/redacted-project-name/node_modules/expo/node_modules/@expo/config/node_modules/.bin/semver'
}
Description
Components folder was created but imports were not updated
CodeSandbox/Snack link
No response
Steps to reproduce
I can obviously manually update the imports but is this error of concern? Is there anything else that needs to be done here?
gluestack-ui Version
1.1.18
Platform
Other Platform
No response
Additional Information
No response