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

Build fails with error "Build error occurred TypeError: Cannot read properties of undefined (reading 'split')" #430

Open
jhondada4ever opened this issue Dec 21, 2022 · 0 comments

Comments

@jhondada4ever
Copy link

Error occurs when using the yarn build command. says compiles successfully and Full error below.

......
https://github.com/browserslist/browserslist#browsers-data-updating
info - Creating an optimized production build
info - Compiled successfully

Build error occurred

TypeError: Cannot read properties of undefined (reading 'split')
at getFilePaths (C:\MY FILES\nativebase-docs\nativebase-docs.next\server\chunks\86.js:33:2214)
at getFilePaths (C:\MY FILES\nativebase-docs\nativebase-docs.next\server\chunks\86.js:33:2885)
at getFilePaths (C:\MY FILES\nativebase-docs\nativebase-docs.next\server\chunks\86.js:33:2885)
at _callee2$ (C:\MY FILES\nativebase-docs\nativebase-docs.next\server\pages[[...slug]].js:307:4042)
at tryCatch (C:\MY FILES\nativebase-docs\nativebase-docs\node_modules\regenerator-runtime\runtime.js:63:40)
at Generator.invoke [as _invoke] (C:\MY FILES\nativebase-docs\nativebase-docs\node_modules\regenerator-runtime\runtime.js:294:22)
at Generator.next (C:\MY FILES\nativebase-docs\nativebase-docs\node_modules\regenerator-runtime\runtime.js:119:21)
at asyncGeneratorStep (C:\MY FILES\nativebase-docs\nativebase-docs.next\server\chunks\525.js:45:24)
at _next (C:\MY FILES\nativebase-docs\nativebase-docs.next\server\chunks\525.js:67:9)
at C:\MY FILES\nativebase-docs\nativebase-docs.next\server\chunks\525.js:74:7 {
type: 'TypeError'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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

1 participant