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

Cannot run under Node.js for Windows #17

Open
jseguillon opened this issue Jan 31, 2012 · 0 comments
Open

Cannot run under Node.js for Windows #17

jseguillon opened this issue Jan 31, 2012 · 0 comments

Comments

@jseguillon
Copy link

Hello,
with node.js : v0.6.9.

Tried today to run the wiki example following theses installations steps :

C:\Users\Utilisateur Joel\node_modules>npm install persevere-example-wiki
npm http GET https://registry.npmjs.org/persevere-example-wiki
npm http 304 https://registry.npmjs.org/persevere-example-wiki
npm http GET https://registry.npmjs.org/rql
npm http GET https://registry.npmjs.org/promised-io
npm http GET https://registry.npmjs.org/perstore
npm http GET https://registry.npmjs.org/tunguska
npm http GET https://registry.npmjs.org/requirejs
npm http GET https://registry.npmjs.org/wiky
npm http GET https://registry.npmjs.org/pintura
npm http 304 https://registry.npmjs.org/perstore
npm http 304 https://registry.npmjs.org/requirejs
npm http 304 https://registry.npmjs.org/wiky
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm http 304 https://registry.npmjs.org/pintura
npm http 200 https://registry.npmjs.org/tunguska
npm http 200 https://registry.npmjs.org/promised-io
npm http 200 https://registry.npmjs.org/rql
npm http GET https://registry.npmjs.org/json-schema
npm http GET https://registry.npmjs.org/formidable
npm http GET https://registry.npmjs.org/jsgi-node
npm http GET https://registry.npmjs.org/templify
npm http GET https://registry.npmjs.org/websocket-server
npm http 304 https://registry.npmjs.org/websocket-server
npm http 304 https://registry.npmjs.org/templify
npm http 304 https://registry.npmjs.org/formidable
npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url']
npm http 200 https://registry.npmjs.org/json-schema
npm http GET https://packages.dojofoundation.org/archives/https$3A$2F$2Fgithub.com$2Fkriszyp$2Fjson-schema$2Ftarball$2Fv0.2.1
npm http 200 https://registry.npmjs.org/jsgi-node
npm http 200 https://packages.dojofoundation.org/archives/https$3A$2F$2Fgithub.com$2Fkriszyp$2Fjson-schema$2Ftarball$2Fv0.2.1
[email protected] ./persevere-example-wiki
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected] ([email protected] [email protected] [email protected] [email protected])
+-- [email protected]

C:\Users\Utilisateur Joel\node_modules>cd persevere-example-wiki

Then run the example :
C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki>node index.js
The "sys" module is now called "util". It should have a similar interface.
Listening on port 8080

Try to access http://localhost:8080 : i'm redirected to http://localhost:8080/Page/Example but got an error "Cannot call method 'match' of undefined'

Trace on node.js console :

Error: TypeError: Cannot call method 'match' of undefined
at Object. (C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\perstore\store\filesystem.js:42:29)
at startAndCall (C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\perstore\transaction.js:209:27)
at C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\perstore\transaction.js:197:15
at Object.transaction (C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\perstore\transaction.js:86:16)
at Object.get (C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\perstore\transaction.js:196:22)
at C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\pintura\node_modules\templify\lib\resolver.js:21:21
at Object.compile (C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\pintura\node_modules\templify\lib\templify.js:11:28)
at Object.serialize (C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\pintura\media\html.js:57:30)
at C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\pintura\jsgi\media.js:136:40
at C:\Users\Utilisateur Joel\node_modules\persevere-example-wiki\node_modules\promised-io\promise.js:348:29

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

1 participant