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
./bashrc function y { export PROJECT_PATH=pwd&& (cd ../landscapeapp && yarn run "$@")} export -f y alias yf='y fetch' alias yl='y check-links' alias yq='y remove-quotes' alias yp='y build && y open:dist' alias yo='y open:src' alias a='for lpath in /Users/hsuching/Documents/Development/Atlantis/landscapeContainer/{landscapeapp,cdf-landscape,graphql-landscape,lfai-landscape}; do echo $lpath; git -C $lpath pull -p; done; (cd /Users/hsuching/Documents/Development/Atlantis/landscapeContainer/landscapeapp && yarn);'
My project structure path as follows:
landscapeContainer
landscapeapp
cdf-landscape
lfai-landscape
This is my error msg:
` cdf-landscape git:(master) yo
processed /Users//Documents/Development//landscapeContainer/cdf-landscape
Fetching members from CDF Members category
Processing the tree
Preparing Landscape
/Users//Documents/Development/**/landscapeContainer/landscapeapp/tools/prepareLandscape.js:32
(0, _fs.rmSync)('public', {
^
TypeError: (0 , _fs.rmSync) is not a function
at Object. (/Users/hsuching/Documents/Development/Atlantis/landscapeContainer/landscapeapp/tools/prepareLandscape.js:13:1)
Could not resolve "/Users//Documents/Development//landscapeContainer/landscapeapp/public/settings.json" in file /Users//Documents/Development//landscapeContainer/landscapeapp/src/pages/_app.js.
error - ./src/pages/_app.js:6:0
.............
Module not found: Can't resolve '/Users//Documents/Development/Atlantis/landscapeContainer/landscapeapp/public/settings.json'
..............
`
I watch that it should execute this process in landscapeapp/tools/prepareLandscape.js when run "yo". But,I find it seems that it does not copy "PROJECT_PATH/settings.yml" to "landscapeapp/public/settings.json" . And, it also does not create "public" folder in landscapeapp when run "yo".
I want to know what i should do?
The text was updated successfully, but these errors were encountered:
Hi, When I run yo, it cause error !
This is my environment:
./bashrc
function y { export PROJECT_PATH=
pwd&& (cd ../landscapeapp && yarn run "$@")} export -f y alias yf='y fetch' alias yl='y check-links' alias yq='y remove-quotes' alias yp='y build && y open:dist' alias yo='y open:src' alias a='for lpath in /Users/hsuching/Documents/Development/Atlantis/landscapeContainer/{landscapeapp,cdf-landscape,graphql-landscape,lfai-landscape}; do echo $lpath; git -C $lpath pull -p; done; (cd /Users/hsuching/Documents/Development/Atlantis/landscapeContainer/landscapeapp && yarn);'
My project structure path as follows:
landscapeContainer
This is my error msg:
` cdf-landscape git:(master) yo
processed /Users//Documents/Development//landscapeContainer/cdf-landscape
Fetching members from CDF Members category
Processing the tree
Preparing Landscape
/Users//Documents/Development/**/landscapeContainer/landscapeapp/tools/prepareLandscape.js:32
(0, _fs.rmSync)('public', {
^
TypeError: (0 , _fs.rmSync) is not a function
at Object. (/Users/hsuching/Documents/Development/Atlantis/landscapeContainer/landscapeapp/tools/prepareLandscape.js:13:1)
Could not resolve "/Users//Documents/Development//landscapeContainer/landscapeapp/public/settings.json" in file /Users//Documents/Development//landscapeContainer/landscapeapp/src/pages/_app.js.
error - ./src/pages/_app.js:6:0
.............
Module not found: Can't resolve '/Users//Documents/Development/Atlantis/landscapeContainer/landscapeapp/public/settings.json'
..............
`
I watch that it should execute this process in landscapeapp/tools/prepareLandscape.js when run "yo". But,I find it seems that it does not copy "PROJECT_PATH/settings.yml" to "landscapeapp/public/settings.json" . And, it also does not create "public" folder in landscapeapp when run "yo".
I want to know what i should do?
The text was updated successfully, but these errors were encountered: