You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running gatsby develop or gatsby build, it builds out the entire path to the the directory I'm in as subdirectories. E.g.:
While in /Users/mcravey/Projects/craveytrain.com, running gatsby develop will create a directories /Users/mcravey/Projects/craveytrain.com resulting in a path of /Users/mcravey/Projects/craveytrain.com/Users/mcravey/Projects/craveytrain.com.
This also results the dev server not able to find the files.
Steps to reproduce
just running gatsby develop or gatsby build. This is true if I run gatsby develop using the global cli, or if I run npx gatsby develop (or use npm scripts).
Expected result
Weird subdirectory shouldn't exist and server should work as expected.
Actual result
While in /Users/mcravey/Projects/craveytrain.com, running gatsby develop will create a directories /Users/mcravey/Projects/craveytrain.com resulting in a path of /Users/mcravey/Projects/craveytrain.com/Users/mcravey/Projects/craveytrain.com.
This also results the dev server not able to find the files.
Description
When running
gatsby develop
orgatsby build
, it builds out the entire path to the the directory I'm in as subdirectories. E.g.:While in
/Users/mcravey/Projects/craveytrain.com
, runninggatsby develop
will create a directories/Users/mcravey/Projects/craveytrain.com
resulting in a path of/Users/mcravey/Projects/craveytrain.com/Users/mcravey/Projects/craveytrain.com
.This also results the dev server not able to find the files.
Steps to reproduce
just running
gatsby develop
orgatsby build
. This is true if I rungatsby develop
using the global cli, or if I runnpx gatsby develop
(or use npm scripts).Expected result
Weird subdirectory shouldn't exist and server should work as expected.
Actual result
While in
/Users/mcravey/Projects/craveytrain.com
, runninggatsby develop
will create a directories/Users/mcravey/Projects/craveytrain.com
resulting in a path of/Users/mcravey/Projects/craveytrain.com/Users/mcravey/Projects/craveytrain.com
.This also results the dev server not able to find the files.
Environment
npm list gatsby
): 1.9.265gatsby --version
): 1.1.56I have created a branch where I can reproduce the issue as this does not appear to be an issue in my master branch:
https://github.com/craveytrain/craveytrain.com/compare/upgrade-deps
Incidentally,
File contents (if changed)
gatsby-config.js
: N/Apackage.json
: N/Agatsby-node.js
: N/Agatsby-browser.js
: N/Agatsby-ssr.js
: N/AThe text was updated successfully, but these errors were encountered: