Skip to content

error in 'npm run build' #1

Open
@hedgy123

Description

@hedgy123

Thanks so much for making your code available on github! I tried following your build instructions, and got the following errors while running 'npm run build':

> lettier-lda-topic-modeling@ modify-worker-0 /Users/<USERNAME>/lda-topic-modeling
> sed -i '/var PS = {};/a self.PS = PS;' output1/_worker.js

sed: 1: "output1/_worker.js": invalid command code o
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lettier-lda-topic-modeling@ modify-worker-0: `sed -i '/var PS = {};/a self.PS = PS;' output1/_worker.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the lettier-lda-topic-modeling@ modify-worker-0 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!     /Users/<USERNAME>/.npm/_logs/2018-05-30T18_30_38_541Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lettier-lda-topic-modeling@ build: `npm run make-dirs && npm run build-app && npm run copy-static && npm run copy-lda-src && npm run build-worker-0 && npm run modify-worker-0 && npm run build-worker`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the lettier-lda-topic-modeling@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Do you know what I can do to fix this? Thanks very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions