Coder Social home page Coder Social logo

spm-chaos-build-example's People

Contributors

edokeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

spm-chaos-build-example's Issues

dependencies undefined

如上个问题所说,我看了下,你说的俩个文件都存在,可能不是你说的那个问题,这个依赖的问题应该是哪个文件配置的问题呢?谢谢!

执行chaos-build提示找不到package.json

执行以下命令:
C:\wamp\www\seajs\spm-chaos-build-example-master>spm chaos-build example -C seajs-config.js

error: can not find package.json in example!

请问哪里有问题?谢谢。是的。应该切换到js目录下执行。

提示: 没有那个文件或目录

我进入到js文件夹,执行下面命令,
spm chaos-build example -C seajs-config.js
控制台输出:: 没有那个文件或目录
我已经安装spm chaos-build,版本为2.1.1

warn: can't find module example/base/handlebars

$ cd js

$ spm chaos-build example -C seajs-config.js

           Task: "clean:dist" (clean) task

           Task: "transport:spm" (transport) task
           warn: can't find module example/base/handlebars
      transport: 8 files

           Task: "concat:relative" (concat) task
       concated: 2 files

           Task: "concat:all" (concat) task
       concated: 3 files

           Task: "uglify:js" (uglify) task
           file: ".build/dist/blogs/new.js" created.
   uncompressed: size: 1843 bytes.
     compressed: size: 240 bytes gzipped (948 bytes minified).
           file: ".build/dist/users/index.js" created.
   uncompressed: size: 4153 bytes.
     compressed: size: 469 bytes gzipped (1913 bytes minified).
           file: ".build/dist/base/handlebars.js" created.
   uncompressed: size: 7711 bytes.
     compressed: size: 1089 bytes gzipped (4675 bytes minified).

           Task: "md5:js" (md5) task
           file: 'sea-modules/example/base/handlebars-c876a0d8f3bf3ac4bb5697bfd90eaa80.js' created.
           file: 'sea-modules/example/blogs/new-279fcebdcda1b4f1bd2d88a90e7dc80c.js' created.
           file: 'sea-modules/example/users/index-d95b7e3ae4b6cb812624abfdd122ffb0.js' created.

           Task: "clean:spm" (clean) task
       cleaning: ".build"...

           Task: "spm-newline:target" (spm-newline) task

           Task: "modify-config:target" (modify-config) task
           file: "seajs-config.js" modified.

           Done: but with warnings.

Got a warning warn: can't find module example/base/handlebars when I ran spm chaos-build example -C seajs-config.js

Windows 7
spm: 2.1.9
node: 0.10.13

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.