# Unable to npm install mattermost-webapp

**URL:** <https://forum.mattermost.com/t/unable-to-npm-install-mattermost-webapp/9584>\
**Category:** Troubleshooting\
**Created:** [April 23, 2020, 1:51am UTC](https://forum.mattermost.com/t/unable-to-npm-install-mattermost-webapp/9584 "2020-04-23T01:51:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sherlin](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Sherlin](https://forum.mattermost.com/u/Sherlin)\
**Post date:** [April 23, 2020, 1:51am UTC](https://forum.mattermost.com/t/unable-to-npm-install-mattermost-webapp/9584/1 "2020-04-23T01:51:04Z")

</div>

node version: 12.16.2 (Tried to install via yum & nvm)  
npm version : 6.14.4  
Mattermost webapp version : 5.22.0 (downloaded from github)  
Environment :centos /redhat 7 (tried on both)

Was following these steps to customise mattermost

1. Install the Mattermost server by following one of our installation guides
2. Fork the [mattermost-webapp](https://github.com/mattermost/mattermost-webapp) repository
3. Make your changes
4. Run `make package` to create `mattermost-webapp.tar.gz`
5. Copy `mattermost-webapp-tar.gz` to the location Mattermost was installed in Step 1
6. Remove the existing `client` folder
7. Run `tar -xvf mattermost-webapp.tar.gz` to extract your new customized `client` folder
8. Restart your Mattermost server

However i keep having Keep getting enoent : no such file or directory. I tried to installed the missing modules but hit a dead end eventually  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/4/47ffc2646bd28093234aaa4c339f9cf3ec696b83.png)

My problem looks similar to [https://github.com/mattermost/mattermost-server/issues/11767](https://github.com/mattermost/mattermost-server/issues/11767)

Additional steps tried: deleting package-lock.json, npm cache clean, rm -rf node\_modules

Could it be a space/OS issue? Thank you in advance

---

<div class="post-metadata">

**Author:** ![Sherlin](https://avatars.discourse-cdn.com/v4/letter/s/3d9bf3/32.png) [@Sherlin](https://forum.mattermost.com/u/Sherlin)\
**Post date:** [April 24, 2020, 9:17am UTC](https://forum.mattermost.com/t/unable-to-npm-install-mattermost-webapp/9584/2 "2020-04-24T09:17:49Z")

</div>

I used window os , node 10.13.0 and npm 6.4.1 and managed to npm install

---

<div class="post-metadata">

**Author:** ![John1](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@John1](https://forum.mattermost.com/u/John1)\
**Post date:** [July 16, 2020, 1:42pm UTC](https://forum.mattermost.com/t/unable-to-npm-install-mattermost-webapp/9584/3 "2020-07-16T13:42:14Z")

</div>

I have also the npm errors… But use Linux.
