THIS IS PETE DOT COM
thisispete / docpad-plugin-swig Goto Github PK
View Code? Open in Web Editor NEWadds swig template rendering
adds swig template rendering
THIS IS PETE DOT COM
How do I access the metadata?
You updated package.json file and setted version to 2.0.3. But in npm there is only 0.0.3 version. And in my case I cannot install plugin with docpad install swig
:
info: Welcome to DocPad v6.78.4
notice: Please donate to DocPad or have your company sponsor it: http://docpad.org/donate
info: Contribute: http://docpad.org/docs/contribute
info: Plugins: eco
info: Environment: development
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No license field.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "...\\node.exe" "...\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "docpad-plugin-swig@2" "--save"
npm ERR! node v4.3.1
npm ERR! npm v2.14.12
npm ERR! code ETARGET
npm ERR! notarget No compatible version found: docpad-plugin-swig@'>=2.0.0 <3.0.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.0.1","0.0.2","0.0.3"]
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'no-skeleton.docpad'
npm ERR! notarget
npm ERR! Please include the following file with any support request:
npm ERR! ...\npm-debug.log
error: The action completed successfully
error: An error occured:
Error: Command exited with a non-zero status code.
at Object.safeps.prepareExecutableResult (...\node_modules\docpad\node_modules\safeps\out\lib\safeps.js:190:24)
at ChildProcess.<anonymous> (...\node_modules\docpad\node_modules\safeps\out\lib\safeps.js:322:29)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:821:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
To report the above, follow the guide at: http://docpad.org/bug-report
Error: Command exited with a non-zero status code.
at Object.safeps.prepareExecutableResult (...\node_modules\docpad\node_modules\safeps\out\lib\safeps.js:190:24)
at ChildProcess.<anonymous> (...\node_modules\docpad\node_modules\safeps\out\lib\safeps.js:322:29)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:821:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
Hey there
I am completely new to Docpad so this could be purely user error on my part. When I try to install this plugin using the following command:
docpad install swig
I get the following error:
npm http 304 https://registry.npmjs.org/docpad-plugin-swig
npm ERR! Error: No compatible version found: docpad-plugin-swig@'>=2.0.0-0 <3.0.0-0'
npm ERR! Valid install targets:
npm ERR! ["0.0.1","0.0.2","0.0.3"]
npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:719:10)
npm ERR! at next (/usr/share/npm/lib/cache.js:698:17)
npm ERR! at /usr/share/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "docpad-plugin-swig@2" "--save"
npm ERR! cwd /var/www/docpad.dev
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/docpad.dev/npm-debug.log
npm ERR! not ok code 0
error: Something went wrong with the action
error: An error occured:
Error: npm http GET https://registry.npmjs.org/docpad-plugin-swig
npm http 304 https://registry.npmjs.org/docpad-plugin-swig
npm ERR! Error: No compatible version found: docpad-plugin-swig@'>=2.0.0-0 <3.0.0-0'
npm ERR! Valid install targets:
npm ERR! ["0.0.1","0.0.2","0.0.3"]
npm ERR! at installTargetsError (/usr/share/npm/lib/cache.js:719:10)
npm ERR! at next (/usr/share/npm/lib/cache.js:698:17)
npm ERR! at /usr/share/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "docpad-plugin-swig@2" "--save"
npm ERR! cwd /var/www/docpad.dev
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/docpad.dev/npm-debug.log
npm ERR! not ok code 0
at ChildProcess.<anonymous> (/var/www/docpad.dev/node_modules/safeps/out/lib/safeps.js:165:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
info: Shutting down... cya next time!
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.