c9 / core

Cloud9 Core - Part of the Cloud9 SDK for Plugin Development https://c9.github.io/core/ https://c9.io
Other
2.56k stars 921 forks source link

Cannot find module 'c9/urls' #472

Closed papac closed 6 years ago

papac commented 6 years ago

Ubuntu 16.04 Nodejs v8.9.4

After launch scripts/install-sdk.sh and start node server. This error is comming

Cannot find module 'c9/urls'

npm run test not work the test scripts is not define in package.json

nightwing commented 6 years ago

This is caused by npm5 deleting all files in node_modules folder run git reset --hard to restore the missing files. or run git fetch origin && git reset origin/HEAD--hard to get the latest version, and then run scripts/install-sdk.sh again to get the fix from https://github.com/c9/core/commit/0f337beaf5ac04746ede7ff215b31cc1da16e544

papac commented 6 years ago

It's work.

vkuehn commented 4 years ago

still an issue and workaround is still ok