spiffcode / ghedit

A fast, powerful web-based code editor for GitHub repositories
https://spiffcode.github.io/ghedit/
MIT License
341 stars 49 forks source link

[question] unable to build #17

Open ghost opened 8 years ago

ghost commented 8 years ago

I followed the build instructions exactly as given on Linux with the lastest Node and NPM and have been unable to build:

$ npm run build
npm info it worked if it ends with ok
npm info using npm@3.10.3
npm info using node@v6.5.0
npm info lifecycle ghedit@0.0.1~prebuild: ghedit@0.0.1
npm info lifecycle ghedit@0.0.1~build: ghedit@0.0.1

> ghedit@0.0.1 build /builds/0xFireball/mWebCode/ghedit
> gulp build

[05:30:13] Using gulpfile /builds/0xFireball/mWebCode/ghedit/gulpfile.js
[05:30:13] Starting 'pre-build'...
[05:30:14] Working directory changed to /builds/0xFireball/mWebCode
[05:30:17] Using gulpfile /builds/0xFireball/mWebCode/gulpfile.js
[05:30:17] Starting 'clean-client'...
[05:30:17] Starting 'clean-extension:configuration-editing'...
[05:30:17] Starting 'clean-extension:css-client'...
[05:30:17] Starting 'clean-extension:css-server'...
[05:30:17] Starting 'clean-extension:extension-editing'...
[05:30:17] Starting 'clean-extension:javascript'...
[05:30:17] Starting 'clean-extension:json-client'...
[05:30:17] Starting 'clean-extension:json-server'...
[05:30:17] Starting 'clean-extension:markdown'...
[05:30:17] Starting 'clean-extension:php'...
[05:30:17] Starting 'clean-extension:python'...
[05:30:17] Starting 'clean-extension:typescript-test-colorize-fixtures'...
[05:30:17] Starting 'clean-extension:typescript'...
[05:30:17] Starting 'clean-extension:vscode-api-tests'...
[05:30:17] Starting 'clean-extension:vscode-colorize-tests'...
[05:30:17] Finished 'clean-client' after 20 ms
[05:30:17] Starting 'compile-client'...
[05:30:17] Starting compilation...
[05:30:17] Finished 'clean-extension:configuration-editing' after 54 ms
[05:30:17] Starting 'compile-extension:configuration-editing'...
[05:30:17] Finished 'clean-extension:css-client' after 72 ms
[05:30:17] Starting 'compile-extension:css-client'...
[05:30:17] Finished 'clean-extension:css-server' after 79 ms
[05:30:17] Starting 'compile-extension:css-server'...
[05:30:17] Finished 'clean-extension:extension-editing' after 86 ms
[05:30:17] Starting 'compile-extension:extension-editing'...
[05:30:17] Finished 'clean-extension:javascript' after 92 ms
[05:30:17] Starting 'compile-extension:javascript'...
[05:30:17] Finished 'clean-extension:json-client' after 95 ms
[05:30:17] Starting 'compile-extension:json-client'...
[05:30:17] Finished 'clean-extension:json-server' after 100 ms
[05:30:17] Starting 'compile-extension:json-server'...
[05:30:17] Finished 'clean-extension:markdown' after 104 ms
[05:30:17] Starting 'compile-extension:markdown'...
[05:30:17] Finished 'clean-extension:php' after 111 ms
[05:30:17] Starting 'compile-extension:php'...
[05:30:17] Finished 'clean-extension:python' after 114 ms
[05:30:17] Starting 'compile-extension:python'...
[05:30:17] Finished 'clean-extension:typescript-test-colorize-fixtures' after 119 ms
[05:30:17] Starting 'compile-extension:typescript-test-colorize-fixtures'...
[05:30:17] Finished 'clean-extension:typescript' after 122 ms
[05:30:17] Starting 'compile-extension:typescript'...
[05:30:17] Finished 'clean-extension:vscode-api-tests' after 126 ms
[05:30:17] Starting 'compile-extension:vscode-api-tests'...
[05:30:17] Finished 'clean-extension:vscode-colorize-tests' after 134 ms
[05:30:17] Starting 'compile-extension:vscode-colorize-tests'...
[05:30:17] Finished 'compile-extension:typescript-test-colorize-fixtures' after 85 ms
[05:30:23] Finished 'compile-extension:configuration-editing' after 6.66 s
[05:30:23] Finished 'compile-extension:python' after 6.6 s
[05:30:23] Finished 'compile-extension:extension-editing' after 6.63 s
[05:30:24] Finished 'compile-extension:json-client' after 7.3 s
[05:30:24] Finished 'compile-extension:markdown' after 7.29 s
[05:30:24] Finished 'compile-extension:css-client' after 7.35 s
[05:30:24] Finished 'compile-extension:vscode-colorize-tests' after 7.28 s
[05:30:26] Finished 'compile-extension:css-server' after 8.99 s
[05:30:27] Finished 'compile-extension:javascript' after 10 s
[05:30:27] Finished 'compile-extension:json-server' after 10 s
[05:30:27] Finished 'compile-extension:vscode-api-tests' after 10 s
[05:30:28] Finished 'compile-extension:php' after 11 s
[05:30:28] Finished 'compile-extension:typescript' after 11 s
[05:30:28] Starting 'compile-extensions'...
[05:30:28] Finished 'compile-extensions' after 4.77 μs
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/configuration-editing/src/extension.ts(9,27): Cannot find module 'jsonc-parser'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/css/client/src/typings/ref.d.ts(11,1): File '/builds/0xFireball/mWebCode/extensions/css/node_modules/vscode-languageclient/lib/main.d.ts' not found.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/css/client/src/cssMain.ts(10,128): Cannot find module 'vscode-languageclient'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/css/client/src/cssMain.ts(13,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/css/server/src/languageModelCache.ts(7,28): Cannot find module 'vscode-languageserver'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/css/server/src/cssServerMain.ts(10,8): Cannot find module 'vscode-languageserver'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/css/server/src/cssServerMain.ts(12,132): Cannot find module 'vscode-css-languageservice'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/features/packageJSONContribution.ts(9,26): Cannot find module 'request-light'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/features/packageJSONContribution.ts(10,24): Cannot find module 'jsonc-parser'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/features/packageJSONContribution.ts(12,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/features/jsonContributions.ts(7,75): Cannot find module 'jsonc-parser'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/features/jsonContributions.ts(11,26): Cannot find module 'request-light'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/features/bowerJSONContribution.ts(9,26): Cannot find module 'request-light'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/features/bowerJSONContribution.ts(10,24): Cannot find module 'jsonc-parser'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/features/bowerJSONContribution.ts(12,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/javascriptMain.ts(9,30): Cannot find module 'request-light'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/javascript/src/javascriptMain.ts(13,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/client/src/typings/ref.d.ts(11,1): File '/builds/0xFireball/mWebCode/extensions/json/node_modules/vscode-languageclient/lib/main.d.ts' not found.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/client/src/jsonMain.ts(10,114): Cannot find module 'vscode-languageclient'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/client/src/jsonMain.ts(13,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/projectJSONContribution.ts(7,64): Cannot find module 'vscode-languageserver'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/projectJSONContribution.ts(9,54): Cannot find module 'request-light'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/projectJSONContribution.ts(10,70): Cannot find module 'vscode-json-languageservice'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/projectJSONContribution.ts(11,19): Cannot find module 'request-light'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/projectJSONContribution.ts(13,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/projectJSONContribution.ts(122,11): No best common type exists among return expressions.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/globPatternContribution.ts(7,64): Cannot find module 'vscode-languageserver'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/globPatternContribution.ts(9,70): Cannot find module 'vscode-json-languageservice'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/globPatternContribution.ts(11,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/fileAssociationContribution.ts(7,64): Cannot find module 'vscode-languageserver'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/fileAssociationContribution.ts(9,70): Cannot find module 'vscode-json-languageservice'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsoncontributions/fileAssociationContribution.ts(11,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/languageModelCache.ts(7,28): Cannot find module 'vscode-languageserver'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsonServerMain.ts(10,8): Cannot find module 'vscode-languageserver'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsonServerMain.ts(12,95): Cannot find module 'request-light'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsonServerMain.ts(18,78): Cannot find module 'vscode-json-languageservice'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/json/server/src/jsonServerMain.ts(24,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/php/src/features/validationProvider.ts(14,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/php/src/phpMain.ts(14,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/typescript/src/utils/projectStatus.ts(10,33): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/typescript/src/typescriptServiceClient.ts(24,22): Cannot find module 'vscode-nls'.
[05:31:10] Error: /builds/0xFireball/mWebCode/extensions/typescript/src/typescriptMain.ts(16,22): Cannot find module 'vscode-nls'.
[05:31:10] Finished compilation with 42 errors after 53810 ms
scottlu commented 8 years ago

Looks like you haven't installed local npm packages maybe? Here are the build instructions:

cd ghedit ./scripts/npm.sh install cd ghedit npm install npm run build

ghost commented 8 years ago

Hmm, odd. I believe I have installed packages both times.

What might I be doing wrong?

Thanks

On Tue, Oct 25, 2016 at 5:25 AM -0700, "Scott Ludwig" notifications@github.com<mailto:notifications@github.com> wrote:

Looks like you haven't installed local npm packages maybe? Here are the build instructions:

Clone this repository.

git clone https://github.com/spiffcode/ghedit.git

Install npm packages

cd ./scripts/npm.sh install cd /ghedit npm install

Build

cd /ghedit npm run build

Build targets: build - loose js files build-opt - packed not minimized. Requires ?b=opt when on localhost. build-min - packed and minimized. Requires ?b=min when on localhost.

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/spiffcode/ghedit/issues/17#issuecomment-256019981, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APMaxFhPowosQxtmoky6B0qlpADKGtU_ks5q3fUugaJpZM4Kea-j.