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
See original GitHub issuePreliminary 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
Issue Analytics
- State:
- Created 2 years ago
- Comments:26 (4 by maintainers)
Top Results From Across the Web
The argument 'path' must be a string or Uint8Array without null ...
Renaming your project folder fixes the problem. If this does not work then move your project to other directory, it should fix the...
Read more >v4 Release Notes - Gatsby
Welcome to gatsby@4.0.0 release (October 2021 #1). We've released Gatsby 3 in March 2021 and now have a lot of exciting new features...
Read more >ADDING FEATURES TO YOUR GATSBY SITE - This Dot Labs
Here, we'd be going over the contents of the scaffolded gatsby project we got from the previous tutorial. gatsby-config.js. This file holds ...
Read more >30 Setting up the gatsby-node.js file Part1 (Gatsby + WordPress)
How to setup the gatsby node file to read the slugs and create pages from each of the nodes that are being accessed....
Read more >The argument 'path' must be a string or Uint8Array without null ...
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'path' must be a string or Uint8Array without null bytes.
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 Free
Top 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
@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.Hi!
Since we didn’t receive an answer for 7 days or more about the ask of a reproduction I’m going to close this now, as we can’t do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do answer here or open a new issue with a reproduction. Thanks!