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

            Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

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

            Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form