Pwa-studio: Cannot find module 'envalid'

Created on 29 Nov 2018  路  2Comments  路  Source: magento/pwa-studio

Hi
I followed this guide https://magento-research.github.io/pwa-studio/venia-pwa-concept/setup/ to install Venia but when I was trying to run "npm run build" command I get this error in the output

@magento/venia-concept: Cannot find module 'envalid'

This issue is for the following packages:

[ x] venia-concept
[ ] pwa-buildpack
[ ] peregrine
[ ] pwa-devdocs
[ ] upward-js
[ ] upward-spec

This issue is a:

[x ] Bug
[ ] Feature suggestion
[ ] Documentation issue
[ ] Other (Please Specify)

Environment

| Question | Answer |
| --------------------------- | :-----------: |
| Magento version 2.30
| Operating System + version | Ubuntu 16.04 |
| node.js version (node -v) | v10.14.0 |
| npm version (npm -v) | v6.4.1|

Description

I followed this guide https://magento-research.github.io/pwa-studio/venia-pwa-concept/setup/ to install Venia but when I was trying to run "npm run build" command I get this error in the output
@magento/venia-concept: Cannot find module 'envalid'

Expected result:

The server should be up and running and there should be an url of server output in command line

Possible solutions:

bug

Most helpful comment

@vphat28 , please try to run
npm install envalid
before
npm run build

All 2 comments

@vphat28 , please try to run
npm install envalid
before
npm run build

Thank you @magefan

Was this page helpful?
0 / 5 - 0 ratings