question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can someone please document the steps required to build locally ?

See original GitHub issue

Description

i tried:

$node --version
v8.11.3

$yarn --version
1.13.0

$npm --version
5.6.0

git checkout 1.31.1-100
yarn install

then: ./scripts/build.sh which completed successfully:

019-03-08T17_29_25_667Z-debug.log\n"}
INFO  BUILD:BOOTSTRAP-FORK Completed! time=54596ms {"time":{"expected":9007199254740991,"ms":1552066111081}}
INFO  BUILD:WEB Completed! time=63722ms {"time":{"expected":9007199254740991,"ms":1552066111081}}
INFO  BUILD:SERVER:BUNDLE Completed! time=104650ms {"time":{"expected":9007199254740991,"ms":1552066111082}}
INFO  BUILD:SERVER:BINARY:PACKAGE Starting...
INFO  BUILD:SERVER:BINARY:COPY Starting...
INFO  BUILD:SERVER:BINARY:COPY Completed! time=2164ms {"time":{"expected":9007199254740991,"ms":1552066215732}}
INFO  DEPENDENCY:NEXE Starting...
INFO  DEPENDENCY:NEXE Completed! time=1ms {"time":{"expected":9007199254740991,"ms":1552066217896}}
INFO  BUILD:SERVER:BINARY:PACKAGE Executing 'npm ["run","build:nexe"]' {"options":{"cwd":"/home/ymo/3rdp.dev/coder/code-server.master/packages/server"}}

INFO  BUILD:SERVER:BINARY:PACKAGE Completed! time=36698ms {"time":{"expected":9007199254740991,"ms":1552066215732}}
INFO  BUILD:SERVER:BINARY Completed! time=217293ms {"time":{"expected":9007199254740991,"ms":1552066035137}}

i then did: yarn start which came out with a blank screen and errors:

$yarn start 
yarn run v1.13.0
$ cd ./packages/server && yarn start
warning package.json: No license field
warning ../package.json: No license field
$ node --max-old-space-size=32384 --require ts-node/register --require tsconfig-paths/register src/cli.ts
INFO  code-server development
INFO  Additional documentation: http://github.com/codercom/code-server
INFO  Initializing {"data-dir":"/home/ymo/.code-server","working-dir":"/home/ymo/3rdp.dev/coder/code-server.master/packages/server","log-dir":"/home/ymo/.code-server/logs/20190308172602755"}
Happy[ts]: Version: 5.0.1. Threads: 7
INFO  Starting webserver... {"host":"0.0.0.0","port":8443}
WARN  No certificate specified. This could be insecure.
WARN  Documentation on securing your setup: https://coder.com/docs
INFO   
INFO  Password: c7b3f8918a184bd3b8b7aba8
INFO   
INFO  Started (click the link below to open):
INFO  http://localhost:8443/
INFO   
INFO  Starting shared process [1/5]...
Happy[ts]: All set; signaling webpack to proceed.
INFO  Connected to shared process
INFO  wait until bundle finished: /__webpack_hmr
INFO  wait until bundle finished: /__webpack_hmr
INFO  wait until bundle finished: /
webpack built b414e8f268169b82b493 in 31017ms
ERROR 
WARNING in ./lib/vscode/src/vs/workbench/contrib/cli/node/cli.contribution.ts 30:46-53
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/platform/environment/node/environmentService.ts 76:74-81
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/services/files/node/watcher/nsfw/watcherService.ts 28:68-75
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/platform/product/node/product.ts 9:55-62
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/services/files/node/watcher/unix/watcherService.ts 29:68-75
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/base/node/processes.ts 54:49-56
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/platform/product/node/package.ts 8:59-66
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/node_modules/getmac/index.js 3:63-70
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/contrib/debug/node/debugger.ts 258:72-79
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/contrib/debug/node/terminals.ts 127:60-67
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/services/extensions/electron-browser/cachedExtensionScanner.ts 326:96-103
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/platform/environment/node/environmentService.ts 183:75-82
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/services/extensions/electron-browser/extensionHost.ts 156:94-101
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/contrib/performance/electron-browser/perfviewEditor.ts 245:39-46
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/contrib/execution/electron-browser/terminalService.ts 113:60-67
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/services/search/node/searchService.ts 419:68-75
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/services/extensions/electron-browser/cachedExtensionScanner.ts 31:84-91
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/services/extensions/electron-browser/cachedExtensionScanner.ts 38:92-99
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/workbench/services/files/node/watcher/win32/csharpWatcherService.ts 33:58-65
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./lib/vscode/src/vs/editor/common/services/editorSimpleWorker.ts 461:12-471:22
Critical dependency: the request of a dependency is an expression

WARNING in ./lib/vscode/src/vs/platform/product/node/package.ts 10:22-46
Critical dependency: the request of a dependency is an expression

WARNING in ./lib/vscode/src/vs/platform/product/node/product.ts 11:14-38
Critical dependency: the request of a dependency is an expression

WARNING in ./lib/vscode/node_modules/vscode-textmate/release/main.js 14:15-27
Critical dependency: the request of a dependency is an expression

ERROR in ./lib/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.ts
Module not found: Error: Can't resolve 'vs/workbench/contrib/codeEditor/electron-browser/media/WordWrap_16x.svg' in '/home/ymo/3rdp.dev/coder/code-server.master/lib/vscode/src/vs/workbench/contrib/codeEditor/browser'

ERROR in ./packages/vscode/src/workbench.ts
Module not found: Error: Can't resolve 'vs/workbench/parts/files/common/explorerModel' in '/home/ymo/3rdp.dev/coder/code-server.master/packages/vscode/src'

ERROR in ./packages/vscode/src/fill/workbenchRegistry.ts
Module not found: Error: Can't resolve 'vs/workbench/parts/terminal/common/terminal' in '/home/ymo/3rdp.dev/coder/code-server.master/packages/vscode/src/fill'

ERROR in ./packages/vscode/src/fill/paste.ts
Module not found: Error: Can't resolve 'vs/workbench/parts/terminal/common/terminal' in '/home/ymo/3rdp.dev/coder/code-server.master/packages/vscode/src/fill'

ERROR in ./packages/vscode/src/fill/paste.ts
Module not found: Error: Can't resolve 'vs/workbench/parts/terminal/common/terminalCommands' in '/home/ymo/3rdp.dev/coder/code-server.master/packages/vscode/src/fill'

ERROR in ./packages/vscode/src/fill/workbenchRegistry.ts
Module not found: Error: Can't resolve 'vs/workbench/parts/terminal/electron-browser/terminalActions' in '/home/ymo/3rdp.dev/coder/code-server.master/packages/vscode/src/fill'

ERROR in ./packages/vscode/src/fill/paste.ts
Module not found: Error: Can't resolve 'vs/workbench/parts/terminal/electron-browser/terminalActions' in '/home/ymo/3rdp.dev/coder/code-server.master/packages/vscode/src/fill'

ERROR in ./packages/vscode/src/fill/paste.ts
Module not found: Error: Can't resolve 'vs/workbench/parts/terminal/electron-browser/terminalInstance' in '/home/ymo/3rdp.dev/coder/code-server.master/packages/vscode/src/fill'

ERROR in ./lib/vscode/src/vs/platform/accessibility/node/accessibilityService.ts
Module not found: Error: Can't resolve 'vscode-windows-registry' in '/home/ymo/3rdp.dev/coder/code-server.master/lib/vscode/src/vs/platform/accessibility/node'
INFO  Failed to compile.
ERROR SHARED stderr {"data":"Uncaught Exception:  Error: ENOENT: no such file or directory, open '/home/ymo/.code-server/Backups/workspaces.json'\n\nError: ENOENT: no such file or directory, open '/home/ymo/.code-server/Backups/workspaces.json'\n    at Timeout.setTimeout (eval at exports.requireModule (/home/ymo/3rdp.dev/coder/code-server.master/packages/server/src/vscode/bootstrapFork.ts:115:2), <anonymous>:52517:31)\n    at ontimeout (timers.js:498:11)\n    at tryOnTimeout (timers.js:323:5)\n    at Timer.listOnTimeout (timers.js:290:5)\n"}
^C

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

16reactions
nhooyrcommented, Mar 8, 2019

Please use the Dockerfile.

8reactions
nhooyrcommented, Mar 17, 2019

Looks like people do want instructions to build locally without docker.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Pull Permits for a DIY Home Build
Pulling a permit simply means informing the local building department of your upcoming project and sometimes arranging for them to inspect the ...
Read more >
5 Construction Laws to Know Before You Build a House
Of course, a building permit is needed if you are building or remodeling a house, and you'll need to submit your plans for...
Read more >
docker build - Docker Documentation
The build process can refer to any of the files in the context. ... A repository is first pulled into a temporary directory...
Read more >
Permit - Los Angeles County Building and Safety
Steps · STEP 1. Permit application · STEP 2. Agency List Given to Applicant · STEP 3. Agency Approval(s) or Receipt(s) and Payment...
Read more >
Building & Permitting Services - Lee County Southwest Florida
​Use the Guides and Forms page to help you determine the type of permit you need, how to complete the application, and which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found