Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • sebrosen
    Participant

    Deleting the package-lock.json and then running npm install seems to have fixed the issue!

    sebrosen
    Participant

    Next issue happens when I run npm run dev, I’m getting the following errors:

    > jsforwp-blocks@2.0.0 dev C:\wamp\www\gutentest\wp-content\plugins\jsforwp-example-blocks
    > cross-env BABEL_ENV=default webpack –watch

    ‘cross-env’ is not recognized as an internal or external command,
    operable program or batch file.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! jsforwp-blocks@2.0.0 dev: cross-env BABEL_ENV=default webpack --watch
    npm ERR! Exit status 1
    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.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\Sebastian\AppData\Roaming\npm-cache\_logs\2018-08-13T04_54_02_344Z-debug.log

    —————-

    I noticed the forum thread before me had the exact same error message. I wonder what we’re doing wrong!

Viewing 2 posts - 1 through 2 (of 2 total)