Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

build:staging npm script uses non-existent webpack.config.staging file #21

Open
lematt1991 opened this issue Apr 18, 2017 · 0 comments
Open
Labels

Comments

@lematt1991
Copy link
Contributor

In package.json, perhaps

"build:staging": "NODE_ENV=development ./node_modules/.bin/webpack --progress --config webpack.config.staging",

should instead be:

"build:staging": "NODE_ENV=development ./node_modules/.bin/webpack --progress --config webpack.config.dev",

I'm currently getting

Error: Cannot find module '/Users/ml9951/repositories/context/webpack.config.staging'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)

When I run npm run build:staging

@dcwalk dcwalk added the bug label Oct 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants