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 find module 'sinon' when running test/run.sh from terminal #10

Closed
chrisdias opened this issue Nov 15, 2015 · 5 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded

Comments

@chrisdias
Copy link
Member

open terminal
cd vscode/tests
./run.sh

result:

Detail: { [Error: Cannot find module 'sinon'] code: 'MODULE_NOT_FOUND' }

@chrisdias chrisdias added the bug Issue identified by VS Code Team member as probable bug label Nov 15, 2015
@chrisdias chrisdias added this to the 0.10.1 milestone Nov 15, 2015
@chrisdias chrisdias changed the title Cannot find module 'sinon' when running test/run.sh Cannot find module 'sinon' when running test/run.sh from terminal Nov 15, 2015
@joaomoreno
Copy link
Member

You should run the tests this way:

cd vscode
mocha

@joaomoreno
Copy link
Member

Actually I take that back. Let me look into this.

@joaomoreno
Copy link
Member

I can't reproduce. ./test/run.sh works for me. Make sure you installed node dependencies.

@chrisdias
Copy link
Member Author

Need to update script to increase file open limit

@chrisdias chrisdias reopened this Nov 16, 2015
@joaomoreno
Copy link
Member

Fixed in b2c4ad0

@joaomoreno joaomoreno assigned weinand and unassigned joaomoreno Dec 15, 2015
@weinand weinand added the verified Verification succeeded label Dec 15, 2015
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants