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;








1















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?










share|improve this question



















  • 2





    Those aren't commands, it's a diagram of the directory tree you're creating.

    – Gordon Davisson
    Aug 5 at 3:08

















1















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?










share|improve this question



















  • 2





    Those aren't commands, it's a diagram of the directory tree you're creating.

    – Gordon Davisson
    Aug 5 at 3:08













1












1








1








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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












  • 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










1 Answer
1






active

oldest

votes


















2














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.






share|improve this answer




































    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    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.






    share|improve this answer































      2














      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.






      share|improve this answer





























        2












        2








        2







        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.






        share|improve this answer















        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 5 at 6:30

























        answered Aug 5 at 4:24









        nohillsidenohillside

        56.2k14 gold badges118 silver badges166 bronze badges




        56.2k14 gold badges118 silver badges166 bronze badges
















            Popular posts from this blog

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

            Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?