gatsby: Gatsby v4: The argument 'path' must be a string or Uint8Array without null bytes. Received '/node_modules/es5-ext/array/\x00#/e-index-of.js
Preliminary Checks
- This issue is not a duplicate. Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues
- This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Description
I’m upgrading Gatsby from v2 to v4, I followed the migration guide for v2 to v3 and v3 to v4. I’m seeing this error on
gatsby develop
the gatsby build
executes successfully.
Reproduction Link
https://github.com/adobe/parliament-client-template
Steps to Reproduce
- Switch to dev branch and setup a .env.development file following the instructions
- yarn install
- yarn develop …
Expected Result
localhost:8000 should spin up the site.
Actual Result
Generating development JavaScript bundle failed
The argument ‘path’ must be a string or Uint8Array without null bytes. Received ‘/Users/hireshah/parliament-client-template/node_modules/es5-ext/array/\x00#/e-index-of.js’
Environment
OS: Mac OS
Node: 16.x
Gatsby: 4.1.1
Config Flags
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 26 (14 by maintainers)
@graysonhicks I created a repo to allow minimal reproduction. https://github.com/hirenoble/gatsby-v4-issue-reproduction
Just do
yarn install
andyarn develop
to see the issue.