Skip to content

json3 dosn't run in VM #55

@mStirner

Description

@mStirner

Hay, i have a little problem.

I cant use json3 (socket.io, btw. socket.io-client) inside the node js VM.
When i run it i become this error: "TypeError: Cannot read property 'prototype' of undefined"
(https://github.com/bestiejs/json3)

/home/marc/NetBeansProjects/Project/node_modules/socket.io-client/node_modules/json3/lib/json3.js:50
var objectProto = Object.prototype,
^
TypeError: Cannot read property 'prototype' of undefined
at runInContext (/home/marc/NetBeansProjects/Project/node_modules/socket.io-client/node_modules/json3/lib/json3.js:50:29)

See other issue on: socketio/socket.io#2381 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions