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

Not being able to make publish #74

Closed
daviddias opened this issue Aug 12, 2015 · 6 comments
Closed

Not being able to make publish #74

daviddias opened this issue Aug 12, 2015 · 6 comments

Comments

@daviddias
Copy link
Member

» make publish                                                                                            
rm -rf build
rm -rf publish
npm install
mkdir publish
cp -r static publish
cp -r html/index.html publish
node_modules/.bin/browserify -t reactify . > publish/bundle.js
SyntaxError: Unexpected token (30703:1) while parsing /Users/david/Documents/Code/ipfs/webui/node_modules/three/three.js while parsing file: /Users/david/Documents/Code/ipfs/webui/node_modules/three/three.js
    at DestroyableTransform.end [as _flush] (/Users/david/Documents/Code/ipfs/webui/node_modules/browserify/node_modules/insert-module-globals/index.js:75:21)
    at DestroyableTransform.<anonymous> (/Users/david/Documents/Code/ipfs/webui/node_modules/browserify/node_modules/readable-stream/lib/_stream_transform.js:135:12)
    at DestroyableTransform.g (events.js:260:16)
    at emitNone (events.js:67:13)
    at DestroyableTransform.emit (events.js:166:7)
    at prefinish (/Users/david/Documents/Code/ipfs/webui/node_modules/browserify/node_modules/readable-stream/lib/_stream_writable.js:450:12)
    at finishMaybe (/Users/david/Documents/Code/ipfs/webui/node_modules/browserify/node_modules/readable-stream/lib/_stream_writable.js:458:7)
    at endWritable (/Users/david/Documents/Code/ipfs/webui/node_modules/browserify/node_modules/readable-stream/lib/_stream_writable.js:469:3)
    at DestroyableTransform.Writable.end (/Users/david/Documents/Code/ipfs/webui/node_modules/browserify/node_modules/readable-stream/lib/_stream_writable.js:436:5)
    at DestroyableTransform.onend (/Users/david/Documents/Code/ipfs/webui/node_modules/browserify/node_modules/readable-stream/lib/_stream_readable.j
@daviddias daviddias changed the title Doesn't build Not being able to make publish Aug 12, 2015
@krl
Copy link
Contributor

krl commented Aug 12, 2015

@diasdavid i think this can be fixed by updating the dep of three.js to the latest version.

@daviddias
Copy link
Member Author

@krl thanks, that worked.

But now from the resulting hash:

http://localhost:5001/ipfs/QmXLEfJtDAiaatZyBB8TqT7Q7rhU99hSTvLRpuf7hLSvGS
http://gateway.ipfs.io/ipfs/QmXLEfJtDAiaatZyBB8TqT7Q7rhU99hSTvLRpuf7hLSvGS

I get 403 on local gateway and 'infinite load' on the gateway.ipfs.io . My local Node is (and was running)

@jbenet
Copy link
Member

jbenet commented Aug 13, 2015

@diasdavid i think this can be fixed by updating the dep of three.js to the latest version.

maybe that should be merged to master

@jbenet
Copy link
Member

jbenet commented Aug 13, 2015

@diasdavid you may need

ipfs daemon --unrestricted-api 

@daviddias
Copy link
Member Author

@jbenet could you give me push permissions to this repo?

@daviddias
Copy link
Member Author

#75

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

3 participants