I have configured my project on angular 1.7 with webpack. In local when I run the task npm run build (launchin webpack) everything goes correctly.

But I have a plan for my CI bamboo and when a run the NPM task with npm run build I got a message, which said:

```
Error: Cannot find module './yargs'

```

I have the intuition that webpack is not able to reach the node\_modules or is not in current directory.

But node\_modules is installed and yargs is there after making the npm install task before.

if I run a script before the npm run build with just "ls -l" command I get:

```
node_modules
package-lock.json
package.json
src
webpack.config.js

```

So the folder is there.

Any idea where I can take a look?