You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't build using the README instructions, at least on macOS Catalina:
$ npm run build
npm run deploy
> [email protected] build /Users/taliesinb/git/distillpub/post--visual-exploration-gaussian-processes
> webpack
sh: webpack: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] build: `webpack`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/taliesinb/.npm/_logs/2020-01-24T18_34_54_003Z-debug.log
npm ERR! missing script: deploy
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/taliesinb/.npm/_logs/2020-01-24T18_34_54_274Z-debug.log
The solution seems to be npm install webpack. It's quite scary, though, because on Catalina it turns out that webpack dependency fsevents (presumably for live-reloading) doesn't have binaries available, and attempts to build fsevent from source fail with reams of horrible C++ errors (seems like something in Node changed recently). But fsevents is optional.
There is another problem, however, which seems more serious:
$ npm run deploy
npm ERR! missing script: deploy
Here are the available scripts:
➜ post--visual-exploration-gaussian-processes git:(master) ✗ npm rum
Lifecycle scripts included in gau:
test
echo "Error: no test specified" && exit 1
available via `npm run-script`:
build
webpack
serve
webpack-serve --config ./webpack.config.js
lint-fix
eslint --config .eslintrc.json --fix --ext .js,.html src
The text was updated successfully, but these errors were encountered:
I can't build using the README instructions, at least on macOS Catalina:
The solution seems to be
npm install webpack
. It's quite scary, though, because on Catalina it turns out that webpack dependency fsevents (presumably for live-reloading) doesn't have binaries available, and attempts to build fsevent from source fail with reams of horrible C++ errors (seems like something in Node changed recently). But fsevents is optional.There is another problem, however, which seems more serious:
Here are the available scripts:
The text was updated successfully, but these errors were encountered: