You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on starting the ember application, I get this error message: Cannot read property 'indexOf' of undefined
Stack Trace and Error Report: /tmp/error.dump.788cf782093e6537f56a264725f71192.log
seems to be an issue with emberx-select-blockless in API addon.
Meanwhile, I understand that the emberx-select-blockless is deprecated, I was able to get it working in ember-cli@3.4.0-beta.2
hasContextualComponents: function () {
var VersionChecker = require('ember-cli-version-checker');
var checker = new VersionChecker(this);
var dep = checker.for('ember', 'bower');
var isBetaOrCanary = ['beta', 'canary'].filter(function(version) {
return dep.version.indexOf(version) >= 0; //dep.version is undefined.
});
return !!(dep.satisfies('>= 2.3.0 < 3.0.0') || isBetaOrCanary.length > 0);
},
works fine in: ember-cli@3.4.0-beta.2
broken in: ember-cli@3.4.1
With trace:
broccoliBuilderErrorStack: [undefined]
codeFrame: [undefined]
errorMessage: Cannot read property 'indexOf' of undefined
errorType: [undefined]
location:
column: [undefined]
file: [undefined]
line: [undefined]
message: Cannot read property 'indexOf' of undefined
name: TypeError
nodeAnnotation: [undefined]
nodeName: [undefined]
originalErrorMessage: [undefined]
stack: TypeError: Cannot read property 'indexOf' of undefined
at /home/monkey/projects/p30m/phmscli/appkit/node_modules/emberx-select-blockless/node_modules/emberx-select/index.js:14:26
at Array.filter ()
at Class.hasContextualComponents (/home/monkey/projects/p30m/phmscli/appkit/node_modules/emberx-select-blockless/node_modules/emberx-select/index.js:13:45)
at Class.treeForAddonTemplates (/home/monkey/projects/p30m/phmscli/appkit/node_modules/emberx-select-blockless/node_modules/emberx-select/index.js:24:14)
at Class._treeFor (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:617:33)
at Class._addonTemplateFiles (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:1090:31)
at Class.compileTemplates (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:1141:81)
at Class.compileAddon (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:1205:30)
at Class.treeForAddon (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:860:26)
at Class._treeFor (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:617:33)
Any suggestions, help is appreciated
The text was updated successfully, but these errors were encountered:
ember-cli: 3.4.1
node: 10.10.0
os: linux x64
on starting the ember application, I get this error message:
Cannot read property 'indexOf' of undefined
Stack Trace and Error Report: /tmp/error.dump.788cf782093e6537f56a264725f71192.log
seems to be an issue with emberx-select-blockless in API addon.
Meanwhile, I understand that the emberx-select-blockless is deprecated, I was able to get it working in ember-cli@3.4.0-beta.2
works fine in: ember-cli@3.4.0-beta.2
broken in: ember-cli@3.4.1
With trace:
at /home/monkey/projects/p30m/phmscli/appkit/node_modules/emberx-select-blockless/node_modules/emberx-select/index.js:14:26
at Array.filter ()
at Class.hasContextualComponents (/home/monkey/projects/p30m/phmscli/appkit/node_modules/emberx-select-blockless/node_modules/emberx-select/index.js:13:45)
at Class.treeForAddonTemplates (/home/monkey/projects/p30m/phmscli/appkit/node_modules/emberx-select-blockless/node_modules/emberx-select/index.js:24:14)
at Class._treeFor (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:617:33)
at Class._addonTemplateFiles (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:1090:31)
at Class.compileTemplates (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:1141:81)
at Class.compileAddon (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:1205:30)
at Class.treeForAddon (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:860:26)
at Class._treeFor (/home/monkey/projects/p30m/phmscli/appkit/node_modules/ember-cli/lib/models/addon.js:617:33)
Any suggestions, help is appreciated
The text was updated successfully, but these errors were encountered: