Closed SiriusScaper closed 4 years ago
Do you use bs-config.js? if so, post the content here
No, I wasn't using that. I've started using codekit though.
Are you still trying to use this package? Try the latest version. If not, you can close the issue.
I have the same problem on Windows, I just installed it the package and have tried restarting Atom.
I have not created a bs-config.js file (as its supposed to be optional ;-)).
Atom Version: 1.12.7 Electron Version: ??? (can't find where to see version...) System: Windows 10, version 1607, 14393.576, 64-bit Thrown From: atom-browsersync package, v0.20.0
Is there any stack trace?
[Enter steps to reproduce:]
Atom: 1.14.3 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: atom-browsersync package 0.2.0
Uncaught TypeError: uiOpts.get is not a function
At /Users/te196352/.atom/packages/atom-browsersync/node_modules/browser-sync/lib/async.js:271
TypeError: uiOpts.get is not a function
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:271:31)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:250:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:229:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:197:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:180:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:168:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:161:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:142:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:134:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:97:17
at QueryReqWrap.asyncCallback [as callback] (dns.js:62:16)
at QueryReqWrap.onresolve [as oncomplete] (dns.js:218:10)
-4:52.5.0 core:confirm (input.hidden-input)
2x -1:40.3.0 atom-browsersync:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
api-docs 0.0.6
atom-beautify 0.29.13
atom-browsersync 0.2.0
autocomplete-paths 1.0.2
emmet 2.4.3
file-icons 1.7.25
git-plus 5.28.0
language-cshtml 0.2.1
linter 1.11.18
linter-csslint 1.3.3
linter-eslint 8.0.0
linter-htmlhint 1.3.1
markdown-preview-plus 2.4.0
markdown-writer 2.6.2
minimap 4.25.7
nord-atom-syntax 0.4.0
nord-atom-ui 0.9.0
qolor 0.4.1
seti-syntax 1.0.1
seti-ui 1.4.0
terminal-panel 1.14.1
Same here...
Atom: 1.15.0 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: atom-browsersync package 0.2.0
Uncaught TypeError: uiOpts.get is not a function
At /Users/alvaro/.atom/packages/atom-browsersync/node_modules/browser-sync/lib/async.js:271
TypeError: uiOpts.get is not a function
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:271:31)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:250:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:229:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:197:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:180:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:168:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
-0:18 atom-browsersync:open-in-browser (input.hidden-input)
-0:10.3.0 atom-browsersync:toggle (input.hidden-input)
atom-browsersync 0.2.0
coffee-compile 0.24.0
huh?
[Enter steps to reproduce:]
Atom: 1.18.0 x64 Electron: 1.3.15 OS: Debian GNU/Linux Thrown From: atom-browsersync package 0.2.0
Uncaught TypeError: uiOpts.get is not a function
At /home/muad/.atom/packages/atom-browsersync/node_modules/browser-sync/lib/async.js:271
TypeError: uiOpts.get is not a function
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:271:31)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:250:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:229:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:197:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:180:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:168:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:161:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:142:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:134:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:97:17
at QueryReqWrap.asyncCallback [as callback] (dns.js:62:16)
at QueryReqWrap.onresolve [as oncomplete] (dns.js:218:10)
-2:53 atom-browsersync:toggle (div.tool-panel.tree-view)
-1:07.1.0 tree-view:show-in-file-manager (span.name.icon.icon-file-directory)
-0:18 atom-browsersync:toggle (div.tool-panel.tree-view)
atom-browsersync 0.2.0
atom-django 0.3.2
django-templates 0.5.0
language-django 0.1.1
Same here...
[Enter steps to reproduce:]
Atom: 1.19.2 x64 Electron: 1.6.9 OS: Mac OS X 10.11.6 Thrown From: atom-browsersync package 0.2.0
Uncaught TypeError: uiOpts.get is not a function
At /Users/edijsrozens/.atom/packages/atom-browsersync/node_modules/browser-sync/lib/async.js:271
TypeError: uiOpts.get is not a function
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:271:31)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:250:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:229:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:197:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:180:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:168:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:161:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:142:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:134:9)
at /packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:276:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/packages/atom-browsersync/node_modules/browser-sync/lib/browser-sync.js:170:13)
at /packages/atom-browsersync/node_modules/browser-sync/lib/async.js:97:17
at QueryReqWrap.asyncCallback [as callback] (dns.js:62:16)
at QueryReqWrap.onresolve [as oncomplete] (dns.js:221:10)
-7:34.8.0 application:open (input.hidden-input)
-7:32.9.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-atom-material-syntax.theme-atom-material-ui)
-7:21.7.0 atom-browsersync:toggle (input.hidden-input)
atom-beautify 0.30.5
atom-browsersync 0.2.0
atom-material-syntax 1.0.6
atom-material-ui 2.0.4
atom-ternjs 0.18.3
autoclose-html 0.23.0
autocomplete-paths 2.8.0
busy-signal 1.4.3
color-picker 2.2.5
emmet 2.4.3
file-icons 2.1.11
highlight-selected 0.13.1
intentions 1.1.5
linter 2.2.0
linter-eslint 8.2.1
linter-ui-default 1.6.7
minimap 4.29.6
native-ui 0.22.1
new-moon-atom-syntax 2.0.9
pigments 0.40.2
tool-bar 1.1.0
tool-bar-main 0.0.10
One workaround I've found is to turn off this
Specifying the port of the ui incorrectly in my browserSync.init method caused the same problem.
Here was my options:
proxy: "http://localhost:" + config.port,
files: [config.paths.dist + '/**/*'],
open: 'local',
browser: "default",
port: 9006,
ui: 9007
It became fixed by changing my options to:
```
proxy: "http://localhost:" + config.port,
files: [config.paths.dist + '/**/*'],
open: 'local',
browser: "default",
port: 9006,
ui: {
port: 9007
}
stacktrace:
TypeError: uiOpts.get is not a function
at Object.startUi [as fn] (/home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/async.js:271:31)
at /home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/utils.js:276:13)
at /home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/browser-sync.js:170:13)
at Object.startSockets [as fn] (/home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/async.js:250:9)
at /home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/browser-sync.js:149:14
at iterate (/home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/utils.js:276:13)
at /home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/utils.js:285:25
at executeTask (/home/jacob/workspace/webdev/react_flux/node_modules/browser-sync/lib/browser-sync.js:170:13)
i got it, this problem is setting on package, turn off ui
here examples
I have the same problem on Windows, I just installed it the package and have tried restarting Atom.
I have not created a bs-config.js file (as its supposed to be optional ;-)).
Atom Version: 1.12.7 Electron Version: ??? (can't find where to see version...) System: Windows 10, version 1607, 14393.576, 64-bit Thrown From: atom-browsersync package, v0.20.0
please explain steps how to do this?
[Enter steps to reproduce below:]
Atom Version: 1.12.6 Electron Version: 1.3.9 System: Mac OS X 10.12.2 Thrown From: atom-browsersync package, v0.1.2
Stack Trace
Uncaught TypeError: uiOpts.get is not a function
Commands
Config
Installed Packages