Open abrinckm opened 6 years ago
Leaving a note here:
downgraded ember-cli to v2.14.2 downgraded ember-browserify to v1.1.13
and the problem goes away. This is probably an issue with ember-cli 2.15?
I just ran into the same problem. It happen right after I installed "ember-heatmap": "^1.0.2". Since it happened after the add-on was installed it is most likely an issue in that add-on, but I haven't verified. Downgrading fixed my issue as well.
The npm module I'm using is cytoscape v2.7.13.
This worked great before upgrading my ember from 2.8 to 2.15. At the time it was working fine, and I was using ember-browserify v1.1.13.
After upgrading ember-cli I followed up by upgrading ember-browserify:
npm install ember-browserify@^1.2.0
My component still has this line at top:
import cytoscape from "npm:cytoscape";
I have the following error:
Troubleshooting steps I have taken:
rm -rf tmp dist node_modules
,npm cache clean
,npm install
then in my component changed the line to import the above file. Resulted in the same error i.e. couldn't import npm:cytoscape
Again, this wasn't an issue before in ember-cli version 2.8 And this seems to be the only problem I'm experiencing after the upgrade.