Skip to content

Instantly share code, notes, and snippets.

@ryanwarsaw
Created January 20, 2017 03:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanwarsaw/8c06dd2fc70d3bbf56ecab1c6f2bf312 to your computer and use it in GitHub Desktop.
Save ryanwarsaw/8c06dd2fc70d3bbf56ecab1c6f2bf312 to your computer and use it in GitHub Desktop.
Ryan Warsaw@RYANS-DESKTOP MINGW64 ~/documents/brackets (master)
$ npm run build
> Brackets@1.4.0-0 build C:\Users\Ryan Warsaw\documents\brackets
> grunt build-browser
Running "jshint:src" (jshint) task
>> 307 files lint free.
Running "clean:dist" (clean) task
Running "less:dist" (less) task
File src/styles/brackets.min.css created.
Running "postcss:dist" (postcss) task
File src/styles/brackets.min.css created.
Running "targethtml:dist" (targethtml) task
>> File "src/.index.html" created.
Running "useminPrepare:html" (useminPrepare) task
Going through src/.index.html to update the config
Looking for build script HTML comment blocks
Found a block:
<!-- build:js thirdparty/thirdparty.min.js -->
<script src="thirdparty/browser-appshell.js"></script>
<script src="thirdparty/less-config.js"></script>
<script src="thirdparty/less-1.7.5.min.js"></script>
<script src="thirdparty/mustache/mustache.js"></script>
<script src="thirdparty/jquery-2.1.3.min.js"></script>
<!-- endbuild -->
Updating config with the following assets:
- src\thirdparty\browser-appshell.js
- src\thirdparty\less-config.js
- src\thirdparty\less-1.7.5.min.js
- src\thirdparty\mustache\mustache.js
- src\thirdparty\jquery-2.1.3.min.js
Found a block:
<!-- build:js main.js -->
<script src="thirdparty/require.min.js" data-main="main"></script>
<!-- endbuild -->
Updating config with the following assets:
- dist\main.js
Configuration is now:
cssmin:
{}
concat:
{ 'dist\thirdparty\thirdparty.min.js':
[ 'src\\thirdparty\\browser-appshell.js',
'src\\thirdparty\\less-config.js',
'src\\thirdparty\\less-1.7.5.min.js',
'src\\thirdparty\\mustache\\mustache.js',
'src\\thirdparty\\jquery-2.1.3.min.js' ],
'dist\main.js': [ 'dist\\main.js' ] }
uglify:
{ options: { mangle: false, compress: false },
dist:
{ files:
[ { expand: true,
cwd: 'src/',
src:
[ 'xorigin.js',
'dependencies.js',
'thirdparty/requirejs/require.js',
'LiveDevelopment/MultiBrowserImpl/transports/**/*.js',
'LiveDevelopment/MultiBrowserImpl/launchers/**/*.js',
'!extensions/default/*/unittests.js',
'extensions/default/*/**/*.js',
'!extensions/extra/*/unittests.js',
'extensions/extra/*/**/*.js',
'!**/unittest-files/**',
'!extensions/default/JavaScriptCodeHints/thirdparty/*/test/**/*',
'!extensions/default/**/node_modules/**/*',
'!extensions/extra/**/node_modules/**/*',
'thirdparty/CodeMirror/addon/{,*/}*.js',
'thirdparty/CodeMirror/keymap/{,*/}*.js',
'thirdparty/CodeMirror/lib/{,*/}*.js',
'thirdparty/CodeMirror/mode/{,*/}*.js',
'thirdparty/CodeMirror/theme/{,*/}*.js',
'thirdparty/slowparse/slowparse.js',
'thirdparty/i18n/*.js',
'thirdparty/text/*.js' ],
dest: 'dist/' } ] },
nls:
{ files:
[ { expand: true,
cwd: 'dist/nls',
src: [ '**/*.js' ],
dest: 'dist/nls' } ] },
'dist\thirdparty\thirdparty.min.js': 'dist\\thirdparty\\thirdparty.min.js',
'dist\main.js': 'dist\\main.js',
'dist\thirdparty\require.min.js': 'src\\thirdparty\\require.min.js' }
requirejs:
{ dist:
{ options:
{ waitSeconds: 0,
baseUrl: 'src',
optimize: 'uglify2',
include:
[ 'utils/Compatibility',
'bramble/thirdparty/MessageChannel/message_channel',
'brackets' ],
preserveLicenseComments: false,
useStrict: true,
wrap: false,
exclude: [ 'text!config.json' ],
uglify2: {},
name: 'main',
out: 'dist\\main.js',
mainConfigFile: 'src\\main.js' } },
iframe:
{ options:
{ name: 'thirdparty/almond',
baseUrl: 'src',
optimize: 'uglify2',
preserveLicenseComments: false,
useStrict: true,
wrap:
{ startFile: 'src/bramble/client/bramble-start.frag',
endFile: 'src/bramble/client/bramble-end.frag' },
include: [ 'bramble/client/main' ],
out: 'dist/bramble.js',
uglify2: {},
mainConfigFile: 'src\\thirdparty\\almond.js' } } }
Running "htmlmin:dist" (htmlmin) task
File dist/hosted.html created.
File dist/index.html created.
Running "exec:localize" (exec) task
Updated l10n file for ` bn-bd `
Updated l10n file for ` cs `
Updated l10n file for ` de `
Updated l10n file for ` zh-cn `
Updated l10n file for ` zh-tw `
Updated l10n file for ` uk `
Updated l10n file for ` tr `
Updated l10n file for ` te `
Updated l10n file for ` sv-se `
Updated l10n file for ` sq `
Updated l10n file for ` sl `
Updated l10n file for ` pt-pt `
Updated l10n file for ` ru `
Updated l10n file for ` pt-br `
Updated l10n file for ` kab `
Updated l10n file for ` nl `
Updated l10n file for ` ko `
Updated l10n file for ` hsb `
Updated l10n file for ` hu `
Updated l10n file for ` it `
Updated l10n file for ` hi-in `
Updated l10n file for ` hr `
Updated l10n file for ` fr `
Updated l10n file for ` es-cl `
Updated l10n file for ` en-gb `
Updated l10n file for ` es `
Updated l10n file for ` root `
Updated l10n file for ` dsb `
Updated l10n file for ` el `
Updated locale list in ` C:\Users\Ryan Warsaw\documents\brackets\src\nls\strings.js `
Running "requirejs:dist" (requirejs) task
Tracing dependencies for: main
Error: ENOENT: no such file or directory, open 'C:\Users\Ryan Warsaw\documents\brackets\s rc\thirdparty\path-utils\path-utils.min.js'
In module tree:
brackets
{ Error: Error: ENOENT: no such file or directory, open 'C:\Users\Ryan Warsaw\documents\b rackets\src\thirdparty\path-utils\path-utils.min.js'
In module tree:
brackets
at Error (native)
at C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r.js:30099:19
at C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r.js:3081:39
at C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r.js:3021:25
at Function.prim.nextTick (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requi rejs\bin\r.js:29929:9)
at Object.errback (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin \r.js:3020:26)
at Object.callback (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bi n\r.js:3006:23)
at Object.then (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r. js:3060:23)
at build (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r.js:300 56:12)
at runBuild (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r.js: 32006:17)
at Object.execCb (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\ r.js:1941:33)
originalError:
{ Error: ENOENT: no such file or directory, open 'C:\Users\Ryan Warsaw\documents\brack ets\src\thirdparty\path-utils\path-utils.min.js'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.readFileSync (fs.js:508:33)
at Object.readFile (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs \bin\r.js:3760:27)
at Object.readFileAsync (C:\Users\Ryan Warsaw\documents\brackets\node_modules\requ irejs\bin\r.js:3774:32)
at Function.require._cacheReadAsync (C:\Users\Ryan Warsaw\documents\brackets\node_ modules\requirejs\bin\r.js:29948:25)
at C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r.js:29506:4 8
at C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r.js:3063:37
at C:\Users\Ryan Warsaw\documents\brackets\node_modules\requirejs\bin\r.js:3011:25
at Function.prim.nextTick (C:\Users\Ryan Warsaw\documents\brackets\node_modules\re quirejs\bin\r.js:29929:9)
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\Users\\Ryan Warsaw\\documents\\brackets\\src\\thirdparty\\path-utils\\pat h-utils.min.js',
fileName: 'C:/Users/Ryan Warsaw/documents/brackets/src/thirdparty/path-utils/path-ut ils.min.js',
moduleTree: [ 'brackets' ] } }
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modu les\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v6.9.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! Brackets@1.4.0-0 build: `grunt build-browser`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Brackets@1.4.0-0 build script 'grunt build-browser'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the Brackets package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt build-browser
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs Brackets
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls Brackets
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Ryan Warsaw\documents\brackets\npm-debug.log
Ryan Warsaw@RYANS-DESKTOP MINGW64 ~/documents/brackets (master)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment