Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This doesn't work #2

Closed
patientplatypus opened this issue Aug 31, 2018 · 5 comments
Closed

This doesn't work #2

patientplatypus opened this issue Aug 31, 2018 · 5 comments

Comments

@patientplatypus
Copy link

After npm i I try npm run build and get the following:

patientplatypus:~/Documents/zennify.me/ipfsEXPERIMENTAL/ipfs-pubsub-chatroom:12:06:39$npm run build

[email protected] build /Users/patientplatypus/Documents/zennify.me/ipfsEXPERIMENTAL/ipfs-pubsub-chatroom
react-scripts build

/Users/patientplatypus/Documents/zennify.me/ipfsEXPERIMENTAL/ipfs-pubsub-chatroom/node_modules/uglifyjs-webpack-plugin/node_modules/schema-utils/dist/validateOptions.js:44
throw new _ValidationError2.default(ajv.errors, name);
^

ValidationError: UglifyJs Plugin Invalid Options

options['compress'] is an invalid additional property
options['mangle'] is an invalid additional property
options['output'] is an invalid additional property

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: react-scripts build
npm ERR! Exit status 1
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 ERR! A complete log of this run can be found in:
npm ERR! /Users/patientplatypus/.npm/_logs/2018-08-31T17_08_59_088Z-debug.log
patientplatypus:~/Documents/zennify.me/ipfsEXPERIMENTAL/ipfs-pubsub-chatroom:12:08:59$

@eolszewski
Copy link
Owner

Looking into this now.

@eolszewski
Copy link
Owner

Related: ipfs/js-ipfs#1321

@eolszewski
Copy link
Owner

This has been fixed with #3

There is an minify failure happening during the build process, but this will not affect the running of the application.

Please do a fresh pull down from master. Delete your yarn.lock, package-lock, and node_modules. then follow the README instructions.

Let me know if this fixes your problem.

@patientplatypus
Copy link
Author

Ah thanks - it appears to be working now (although strangely - and you mention this - not with Firefox ??? that seems curious). At a guess are the security settings (ie https etc) too stringent?

I'm currently trying to figure out how to get IPFS to work when you set your own swarm address, so if you have any ideas feel free to comment here: https://stackoverflow.com/questions/52130383/ipfs-swarm-address-malformed. Sorry for the tangent, but I'm a little stuck.

Appreciate your responsiveness - cheers pp

@eolszewski
Copy link
Owner

Awesome, I will be losing this in that case.

^ I believe that to be the case, yes :/

Not sure on that one, if you figure it out, I would greatly appreciate a PR adding it :D

You might be able to ask in a gitter channel, though?

P.S. We are both in Austin, that's kind of cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants