Closed k88hudson closed 8 years ago
@rlr would you mind reviewing?
\me looks
I am getting this error:
> node ./bin/generate-directories --static www -o build
module.js:339
throw err;
^
Error: Cannot find module 'glob'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object.<anonymous> (/Users/rlr/dev/remote-newtab/bin/generate-directories.js:3:14)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
npm ERR! Darwin 15.2.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! code ELIFECYCLE
npm ERR! newtab@0.0.0 postbuild: `node ./bin/generate-directories --static www -o build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the newtab@0.0.0 postbuild script 'node ./bin/generate-directories --static www -o build'.
npm ERR! This is most likely a problem with the newtab package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/generate-directories --static www -o build
npm ERR! You can get their info via:
npm ERR! npm owner ls newtab
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/rlr/dev/remote-newtab/npm-debug.log
@rlr ok should be good
it worked!!!!!!!!!!! r+
This generates a build for all locales and channels in
/build
whennpm run build
is run.The
npm start
task still uses thewww
directory and only outputs en-US.