How do I create a directory structure?Producing/archiving an overview of a directory structureTerminal command to move a number of files containing brackets to another folder or trashHow can I create a folder in the current directory?Create Iso from directoryBasic OS X folders - folder structure regarding usersUnable to install Mac OS X 'Yosemite' on MBP when trying to erase harddrive ; “erase process has failed.”I installed a library for programming. How do I remove it?Why are the emails from Apple Mail in this numbered directory structure?Terminal gives :command not found, when typing too fastCan't update Developer Tools on Mojave
Adding things to bunches of things vs multiplication
Duplicate and slide edge (rip from boundary)
Knights and Knaves on a (Not So) Deserted Island
Why does "auf der Strecke bleiben" mean "to fall by the wayside"?
Is Fourier series a sampled version of Fourier transform?
Set theory with antielements?
Heyawacky: Ace of Cups
What is the opposite of "hunger level"?
Did Michelle Obama have a staff of 23; and Melania have a staff of 4?
Is a USB 3.0 device possible with a four contact USB 2.0 connector?
Why does Japan use the same type of AC power outlet as the US?
Will some rockets really collapse under their own weight?
The space of cusp forms for GL_2 over F_q(T)
Build a mob of suspiciously happy lenny faces ( ͡° ͜ʖ ͡°)
When does The Truman Show take place?
What should we do with manuals from the 80s?
Does writing regular diary entries count as writing practice?
Doesn't the speed of light limit imply the same electron can be annihilated twice?
Can I use my OWN published papers' images in my thesis without Copyright infringment
Scam? Phone call from "Department of Social Security" asking me to call back
A Magic Diamond
What's the point of writing that I know will never be used or read?
"sh -c" does not expand positional parameters, if I run it from "sudo --login". Is there a way around this?
What was the intention with the Commodore 128?
How do I create a directory structure?
Producing/archiving an overview of a directory structureTerminal command to move a number of files containing brackets to another folder or trashHow can I create a folder in the current directory?Create Iso from directoryBasic OS X folders - folder structure regarding usersUnable to install Mac OS X 'Yosemite' on MBP when trying to erase harddrive ; “erase process has failed.”I installed a library for programming. How do I remove it?Why are the emails from Apple Mail in this numbered directory structure?Terminal gives :command not found, when typing too fastCan't update Developer Tools on Mojave
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I ran these commands to make the directory:
mkdir webpack-demo
cd webpack-demo
npm init -y
npm install webpack --save-dev
npm install webpack-cli --save-dev
and then type cd webpack-demo
, then if I type ls
I get "node_modules" "package-lock.json" "package.json"
but then when I attempt to follow the next instructions from the webpack basic set up instruction page:
webpack-demo
|- package.json
+ |- index.html
+ |- /src
+ |- index.js
I get the following output from terminal:
|- package.json
-bash: syntax error near unexpected token `|'
+ |- index.html
-bash: +: command not found
-bash: -: command not found
+ |- /src
-bash: +: command not found
-bash: +: command not found
+ |- index.js
-bash: +: command not found
-bash: -: command not found
What am I doing wrong?
terminal yosemite folders
add a comment |
I ran these commands to make the directory:
mkdir webpack-demo
cd webpack-demo
npm init -y
npm install webpack --save-dev
npm install webpack-cli --save-dev
and then type cd webpack-demo
, then if I type ls
I get "node_modules" "package-lock.json" "package.json"
but then when I attempt to follow the next instructions from the webpack basic set up instruction page:
webpack-demo
|- package.json
+ |- index.html
+ |- /src
+ |- index.js
I get the following output from terminal:
|- package.json
-bash: syntax error near unexpected token `|'
+ |- index.html
-bash: +: command not found
-bash: -: command not found
+ |- /src
-bash: +: command not found
-bash: +: command not found
+ |- index.js
-bash: +: command not found
-bash: -: command not found
What am I doing wrong?
terminal yosemite folders
2
Those aren't commands, it's a diagram of the directory tree you're creating.
– Gordon Davisson
Aug 5 at 3:08
add a comment |
I ran these commands to make the directory:
mkdir webpack-demo
cd webpack-demo
npm init -y
npm install webpack --save-dev
npm install webpack-cli --save-dev
and then type cd webpack-demo
, then if I type ls
I get "node_modules" "package-lock.json" "package.json"
but then when I attempt to follow the next instructions from the webpack basic set up instruction page:
webpack-demo
|- package.json
+ |- index.html
+ |- /src
+ |- index.js
I get the following output from terminal:
|- package.json
-bash: syntax error near unexpected token `|'
+ |- index.html
-bash: +: command not found
-bash: -: command not found
+ |- /src
-bash: +: command not found
-bash: +: command not found
+ |- index.js
-bash: +: command not found
-bash: -: command not found
What am I doing wrong?
terminal yosemite folders
I ran these commands to make the directory:
mkdir webpack-demo
cd webpack-demo
npm init -y
npm install webpack --save-dev
npm install webpack-cli --save-dev
and then type cd webpack-demo
, then if I type ls
I get "node_modules" "package-lock.json" "package.json"
but then when I attempt to follow the next instructions from the webpack basic set up instruction page:
webpack-demo
|- package.json
+ |- index.html
+ |- /src
+ |- index.js
I get the following output from terminal:
|- package.json
-bash: syntax error near unexpected token `|'
+ |- index.html
-bash: +: command not found
-bash: -: command not found
+ |- /src
-bash: +: command not found
-bash: +: command not found
+ |- index.js
-bash: +: command not found
-bash: -: command not found
What am I doing wrong?
terminal yosemite folders
terminal yosemite folders
asked Aug 5 at 2:38
Todd PriceTodd Price
61 bronze badge
61 bronze badge
2
Those aren't commands, it's a diagram of the directory tree you're creating.
– Gordon Davisson
Aug 5 at 3:08
add a comment |
2
Those aren't commands, it's a diagram of the directory tree you're creating.
– Gordon Davisson
Aug 5 at 3:08
2
2
Those aren't commands, it's a diagram of the directory tree you're creating.
– Gordon Davisson
Aug 5 at 3:08
Those aren't commands, it's a diagram of the directory tree you're creating.
– Gordon Davisson
Aug 5 at 3:08
add a comment |
1 Answer
1
active
oldest
votes
The instructions use the same formatting for commands you need to enter and for output, which is confusing. Just use mkdir
to create any missing directories.
PS: It seems as if the directory structure within webpack-demo
is created automatically by the various commands you run (or are supposed to run), so you may not even need to create additional directories yourself.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The instructions use the same formatting for commands you need to enter and for output, which is confusing. Just use mkdir
to create any missing directories.
PS: It seems as if the directory structure within webpack-demo
is created automatically by the various commands you run (or are supposed to run), so you may not even need to create additional directories yourself.
add a comment |
The instructions use the same formatting for commands you need to enter and for output, which is confusing. Just use mkdir
to create any missing directories.
PS: It seems as if the directory structure within webpack-demo
is created automatically by the various commands you run (or are supposed to run), so you may not even need to create additional directories yourself.
add a comment |
The instructions use the same formatting for commands you need to enter and for output, which is confusing. Just use mkdir
to create any missing directories.
PS: It seems as if the directory structure within webpack-demo
is created automatically by the various commands you run (or are supposed to run), so you may not even need to create additional directories yourself.
The instructions use the same formatting for commands you need to enter and for output, which is confusing. Just use mkdir
to create any missing directories.
PS: It seems as if the directory structure within webpack-demo
is created automatically by the various commands you run (or are supposed to run), so you may not even need to create additional directories yourself.
edited Aug 5 at 6:30
answered Aug 5 at 4:24
nohillside♦nohillside
56.2k14 gold badges118 silver badges166 bronze badges
56.2k14 gold badges118 silver badges166 bronze badges
add a comment |
add a comment |
2
Those aren't commands, it's a diagram of the directory tree you're creating.
– Gordon Davisson
Aug 5 at 3:08