Coder Social home page Coder Social logo

cocos-creator-docker's People

Contributors

sercand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cocos-creator-docker's Issues

Ubuntu 18 Importing Assets issue

I'm unable to create any cocos creator project on ubuntu version 18. I'm getting "importin assets, please wait..." notification.

Unexpected token on compiling project

Hi, firstly, thank you for working on this. I'm involved in making mobil games with cocos creator too,

I've got a very basic docker container which just pulls from sercand/cocos-creator:1.9.0-web
Inside the container in interactive mode, I run a simple

/opt/cocos-build.sh —path . --build "platform=web-mobile

Though face the following errors

`Error: Build Failed: Compile error: Unexpected token

/opt/cocos-creator/resources/app.asar/node_modules/events/events.js:1
^�~2�FΙ�*������xZ��L��C�tzx�cA���Z�z� c?�["쩔x�s9�k6+�(AI?����9�Nbh7)�N��Xj>t�Uvd�
^
ParseError: Unexpected token
at Readable. (/opt/cocos-creator/resources/app.asar/editor/page/compile-worker.js:1:1514)
at emitOne (events.js:96:13)
at Readable.emit (events.js:191:7)
at Labeled. (/opt/cocos-creator/resources/app.asar/node_modules/read-only-stream/index.js:28:44)
at emitOne (events.js:96:13)
at Labeled.emit (events.js:191:7)
at Labeled. (/opt/cocos-creator/resources/app.asar/node_modules/stream-splicer/index.js:130:18)
at emitOne (events.js:101:20)
at Labeled.emit (events.js:191:7)
at DestroyableTransform. (/opt/cocos-creator/resources/app.asar/node_modules/stream-splicer/index.js:130:18)
at Async.series.t (/opt/cocos-creator/resources/app.asar/editor/core/builder.js:1:3024)
at /opt/cocos-creator/resources/app.asar/node_modules/async/lib/async.js:726:13
at /opt/cocos-creator/resources/app.asar/node_modules/async/lib/async.js:52:16
at /opt/cocos-creator/resources/app.asar/node_modules/async/lib/async.js:264:21
at /opt/cocos-creator/resources/app.asar/node_modules/async/lib/async.js:44:16
at /opt/cocos-creator/resources/app.asar/node_modules/async/lib/async.js:723:17
at /opt/cocos-creator/resources/app.asar/node_modules/async/lib/async.js:167:37
at Gulp.doneCallback (/opt/cocos-creator/resources/app.asar/editor/core/gulp-build.js:1:18343)
at Gulp.Orchestrator.stop (/opt/cocos-creator/resources/app.asar/node_modules/orchestrator/index.js:150:9)`

Any insight onto this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.