Closed xiangbai closed 10 years ago
What does your component.json
look like? Sounds like you're missing something.
@dominicbarnes http://flippinawesome.org/2014/02/17/introduction-to-the-component-javascript-package-manager/
in the part Create a Project
{ "name": "hello_commponent", "dependencies": { "component/dialog": "*" } }
And the guide links to the same article :D We should remove all links which refers to articles / screencast that not working anymore with 1.x
Thank you very much I use the up-to-date examples,when I run the command of component build, the error is :error : Cannot call method 'process' of undefined
like this: installed : necolas/normalize.css@3.0.1 in 1805ms build : resolved in 13486ms build : build/build.js in 32ms - 1kb build : files in 28ms
error : Cannot call method 'process' of undefined
the index.html can be able to run normally
I had the same errror yesterday. It seems to happen when components try to build the css. Other files works.
@xiangbai try to install component again please, you have a broken version of the builder-autoprefixer
@timaschew thank you very much, I will try to install component again.
@timaschew It's ok! Thank you
build : resolved in 35ms
/usr/local/lib/node_modules/component/node_modules/component-build/node_modules/component-builder/build/builders/scripts.js:453 throw new Error('failed to resolve the entry point of component "' + tree. ^ Error: failed to resolve the entry point of component "hello_commponent". please either have .scripts or a single .locals in your main component. at Scripts.canonical (/usr/local/lib/node_modules/component/node_modules/component-build/node_modules/component-builder/build/builders/scripts.js:453:11) at /usr/local/lib/node_modules/component/node_modules/component-build/lib/scripts.js:34:44 at /usr/local/lib/node_modules/component/node_modules/component-build/node_modules/component-builder/build/builders/builder.js:578:9 at next (/usr/local/lib/node_modules/component/node_modules/component-build/node_modules/component-builder/node_modules/chanel/lib/proto.js:258:5) at Channel.onevent (/usr/local/lib/node_modules/component/node_modules/component-build/node_modules/component-builder/node_modules/chanel/lib/proto.js:194:9) at Channel.g (events.js:180:16) at Channel.EventEmitter.emit (events.js:92:17) at /usr/local/lib/node_modules/component/node_modules/component-build/node_modules/component-builder/node_modules/chanel/lib/proto.js:142:10 at processImmediate as _immediateCallback