<p>Hay man the best way is to spin up a VM like VirtualBox and make sure your dependencies match. Your problem here is that you are using a version of Webpack not compatible with your version of Plutus.</p>
<p>Step 1)</p>
<p>set up Ubuntu VM (recommend Ubuntu 20.4 LTS its the one I'm using so it works). optional setup vscode its pretty good.</p>
<p>Step 2)</p>
<p>Clone Plutus-apps repo</p>
<p>Step 3)</p>
<p>Clone plutus pioners program</p>
<p>Step 4)</p>
<p>install ghc and nixos</p>
<p>step 5)</p>
<p>open up the cabal build file from the week of the PPP your on. Press <code>ctrl</code> + <code>F</code> and look up apps. there should be a plutus-apps now highlighted in the file copy the commit reference right below it.</p>
<p>step 6)</p>
<p><code>cd</code> into your plutus-apps dir and <code>git checkout &lt;refrance you just copied&gt;</code></p>
<p>Step 7)</p>
<p><code>nix-shell</code></p>
<p>Step 8)</p>
<p><code>cd</code> to the correct week of Plutus pioneers program</p>
<p><code>cabal build</code></p>
<p><code>code .</code></p>
<p>you should now be in the environment inside vscode in the correct location ready to code.</p>
<p>to set up the client and server for the playground and the documentation look up the Plutus Env_ Setup Starter Pack.pdf</p>

CC BY-SA 4.0
2022-06-25T16:25:58.217Z
2022-06-25T16:25:58.217Z
KryptoKing
<p>Looks like the <code>--inline</code> option was depecated from webpack as per: <a href="https://stackoverflow.com/questions/70528429/webpack-cli-error-webpack-cli-error-unknown-option-inline">https://stackoverflow.com/questions/70528429/webpack-cli-error-webpack-cli-error-unknown-option-inline</a></p>
<p>What build guide are you following? Do they suggest a certain version of webpack to use?
(<code>--inline</code> should still be a valid option within the version that they suggest).</p>
<p>If they don't suggest a webpack version to use then you can go through the various versions on one of the NPM websites to find and install the right one.</p>
<p>Or you might be able to find and remove <code>--inline</code> from the build script, then rerun it.</p>
<p>Or work off of a different/more recent build guide maybe?</p>

CC BY-SA 4.0
2022-05-27T01:15:13.037Z
Hey @MC_Brisbane, I tried all your suggestions: 1) I used the latest iteration of plutus-pioneer-program, 2) used older versions of webpack, 3) deleted --inline from package.jason. None of them solved the issue. Deleting --inline actually threw out a different error.

I just really wonder how it's working for others but not for me? I followed all the build instructions to the tee.
J.O.C
CC BY-SA 4.0
2022-05-28T00:36:41.303Z
Hi John, can you provide a link to the guide that you are following. Also which was the latest version of webpack that you tried that has --inline included?
MC_Brisbane - JUST Pool
CC BY-SA 4.0
2022-05-28T17:51:40.677Z
Hi MC_Brisbane, thank you for trying to help me with this issue. I basically watch Lars' plutus tutorial videos as well as tutorials from other youtubers. I did not follow the plutus docs because it is outdated and there was no mention about the issue that I am currently having. The third video below really helped me overcome previous issues I've encountered.

1) Lars - https://www.youtube.com/watch?v=AnID8hn68DA&list=PLK8ah7DzglhhM57VKQTMIGDZj5OnmfgOX
2) https://www.youtube.com/watch?v=mnfItts6VbU
3) https://www.youtube.com/watch?v=CXHmbOkoVG8&list=WL&index=1
J.O.C
CC BY-SA 4.0
2022-05-28T17:52:04.673Z
Also, the "--inline" that I deleted is not within webpack (I am using 5.72.1) but from the package.json file within the plutus-playground-client folder of plutus-apps. I am not sure if this is what I should delete(?)

Thank you again for helping!
J.O.C
CC BY-SA 4.0
2022-05-30T01:55:48.697Z
At lot has changed since those 2021 videos were put together, but I'm sure they still have useful info. Looking at the 'PPP 030103' Jan 2022 videos (https://www.youtube.com/watch?v=zPaDp4R9X7o), Lars mentions that you need to set up NIX and start by cloning https://github.com/input-output-hk/plutus-pioneer-program and https://github.com/input-output-hk/plutus-apps (NOTE: this is not the main plutus codebase) Can you confirm that you followed each of these installation instructions? If not I'd lean towards starting over and following the IOHK github instructions and guidance from Lars' videos.
MC_Brisbane - JUST Pool
CC BY-SA 4.0
2022-05-30T02:10:34.087Z
Can you post the full error details from the 'npm start' command. Also, I presume that the PP Server is running correctly when you run 'npm start' - can you please confirm, just in case?
MC_Brisbane - JUST Pool
CC BY-SA 4.0
2022-06-16T02:24:07.103Z
Hello MC_Brisbane, my apologies if I have not responded to you earlier. I've been putting off some of my activities as I've been focusing on finding a job. It's very stressful but when I squared this problem away, I will be back to learning Plutus. I really appreciate your help!
J.O.C
CC BY-SA 4.0
2022-06-16T03:02:53.347Z
No problem, John. We can pick this up again later. Best of luck with the job search.
MC_Brisbane - JUST Pool
CC BY-SA 4.0
2022-06-25T08:44:17.310Z
@MC_Brisbane-JUSTPool migth sound silly but have you tryied running ```npm install``` before?
Michele Nuzzi
CC BY-SA 4.0
2022-05-26T06:48:06.063Z
2022-05-26T06:48:06.063Z
MC_Brisbane - JUST Pool
<p>Noob here. I am basically just trying to learn plutus on my own I am on week01. When I ran the following command:</p>
<p><strong>[nix-shell:~/plutus-apps/plutus-playground-client]$ npm run start</strong> (or even just npm start)</p>
<p>I get this error:
<a href="https://i.sstatic.net/j93xo.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/j93xo.png" alt="enter image description here" /></a></p>
<p>I tried &quot;<strong>npm audit fix --force</strong>&quot; and it did not help. Is there any suggestion on how I can overcome this issue? Thank you!</p>

<plutus-pioneer-program>
problem setting up the plutus environment
# problem setting up the plutus environment

(Asked by: username_0 on 2022-05-26)

Noob here. I am basically just trying to learn plutus on my own I am on week01. When I ran the following command:

**[nix-shell:~/plutus-apps/plutus-playground-client]$ npm run start** (or even just npm start)

I get this error:
[![enter image description here](https://i.sstatic.net/j93xo.png)](https://i.sstatic.net/j93xo.png)

I tried "**npm audit fix --force**" and it did not help. Is there any suggestion on how I can overcome this issue? Thank you!

**Tags:** plutus-pioneer-program

---

## 2 answers

### Answer by username_1 on 2022-06-25. Score: 0

Hay man the best way is to spin up a VM like VirtualBox and make sure your dependencies match. Your problem here is that you are using a version of Webpack not compatible with your version of Plutus.

Step 1)

set up Ubuntu VM (recommend Ubuntu 20.4 LTS its the one I'm using so it works). optional setup vscode its pretty good.

Step 2)

Clone Plutus-apps repo

Step 3)

Clone plutus pioners program

Step 4)

install ghc and nixos

step 5)

open up the cabal build file from the week of the PPP your on. Press `ctrl` + `F` and look up apps. there should be a plutus-apps now highlighted in the file copy the commit reference right below it.

step 6)

`cd` into your plutus-apps dir and `git checkout`

Step 7)

`nix-shell`

Step 8)

`cd` to the correct week of Plutus pioneers program

`cabal build`

`code .`

you should now be in the environment inside vscode in the correct location ready to code.

to set up the client and server for the playground and the documentation look up the Plutus Env\_ Setup Starter Pack.pdf


---

### Answer by username_2 on 2022-05-26. Score: 0

Looks like the `--inline` option was depecated from webpack as per: <https://stackoverflow.com/questions/70528429/webpack-cli-error-webpack-cli-error-unknown-option-inline>

What build guide are you following? Do they suggest a certain version of webpack to use?
(`--inline` should still be a valid option within the version that they suggest).

If they don't suggest a webpack version to use then you can go through the various versions on one of the NPM websites to find and install the right one.

Or you might be able to find and remove `--inline` from the build script, then rerun it.

Or work off of a different/more recent build guide maybe?

> **Comments:**
> **username_0**: Hey @MC_Brisbane, I tried all your suggestions: 1) I used the latest iteration of plutus-pioneer-program, 2) used older versions of webpack, 3) deleted --inline from package.jason. None of them solved the issue. Deleting --inline actually threw out a different error.  I just really wonder how it's working for others but not for me? I followed all the build instructions to the tee.  
> **username_2**: Hi John, can you provide a link to the guide that you are following. Also which was the latest version of webpack that you tried that has --inline included?  
> **username_0**: Hi MC_Brisbane, thank you for trying to help me with this issue. I basically watch Lars' plutus tutorial videos as well as tutorials from other youtubers. I did not follow the plutus docs because it is outdated and there was no mention about the issue that I am currently having. The third video below really helped me overcome previous issues I've encountered.  1) Lars - https://www.youtube.com/watch?v=AnID8hn68DA&list=PLK8ah7DzglhhM57VKQTMIGDZj5OnmfgOX 2) https://www.youtube.com/watch?v=mnfItts6VbU 3) https://www.youtube.com/watch?v=CXHmbOkoVG8&list=WL&index=1  
> **username_0**: Also, the "--inline" that I deleted is not within webpack (I am using 5.72.1) but from the package.json file within the plutus-playground-client folder of plutus-apps. I am not sure if this is what I should delete(?)  Thank you again for helping!  
> **username_2**: At lot has changed since those 2021 videos were put together, but I'm sure they still have useful info. Looking at the 'PPP 030103' Jan 2022 videos (https://www.youtube.com/watch?v=zPaDp4R9X7o), Lars mentions that you need to set up NIX and start by cloning https://github.com/input-output-hk/plutus-pioneer-program and https://github.com/input-output-hk/plutus-apps (NOTE: this is not the main plutus codebase) Can you confirm that you followed each of these installation instructions? If not I'd lean towards starting over and following the IOHK github instructions and guidance from Lars' videos.  
> **username_2**: Can you post the full error details from the 'npm start' command. Also, I presume that the PP Server is running correctly when you run 'npm start' - can you please confirm, just in case?  
> **username_0**: Hello MC_Brisbane, my apologies if I have not responded to you earlier. I've been putting off some of my activities as I've been focusing on finding a job. It's very stressful but when I squared this problem away, I will be back to learning Plutus. I really appreciate your help!  
> **username_2**: No problem, John. We can pick this up again later. Best of luck with the job search.  
> **username_3**: @MC_Brisbane-JUSTPool migth sound silly but have you tryied running ```npm install``` before?  

---

