JavaScript for WordPress Forums Gutenberg Development 04.01 – I need a little bit more explanation to understand this Reply To: 04.01 – I need a little bit more explanation to understand this

#53127
russellweller
Participant

I am having problems at the same point, getting similar errors. I’m on a Mac. NPM 6.2.0. NODE 10.7.0.

Error on running npm install:

WARN tarball tarball data for hoek@2.16.3 (sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=) seems to be corrupted. Trying one more time.
WARN tarball tarball data for hoek@2.16.3 (sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=) seems to be corrupted. Trying one more time.
npm WARN jsforwp-blocks@2.0.0 No repository field.

npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting hoek@2.16.3:
npm ERR! Verification failed while extracting hoek@2.16.3:
npm ERR! sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0= integrity checksum failed when using sha1: wanted sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0= but got sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA== sha1-ljRQKqEsRF3Vp8VzS1cruHOKrLs=. (8882 bytes)

——

node_modules folder empty. Ran npm run dev and get this error:

> jsforwp-blocks@2.0.0 dev /Users/russellweller/Sites/wpblocks/wp-content/plugins/gutenberg-course-master
> cross-env BABEL_ENV=default webpack –watch

sh: cross-env: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! jsforwp-blocks@2.0.0 dev: cross-env BABEL_ENV=default webpack --watch
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the jsforwp-blocks@2.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.