I have a ember app, after start server, log this error in console:
Error: Could not find module #ember/application imported from app
Make sure you are on ember/ember-cli version > 2.16 and using yarn with latest node preferably nodejs: 8.8.1, npm: 5.5.1.
Also, go through the deprecations to understand how and why ember has been upgraded from previous versions --> https://www.emberjs.com/deprecations/v2.x
Related
Trying to compile a project and being greeted with
Compiling your contracts...
===========================
> Compiling .\src\contracts\TokenFarm.sol
> Artifacts written to C:\Users\sean\AppData\Local\Temp\test--17472-6fYHF170F1H9
> Compiled successfully using:
- solc: 0.5.16+commit.9c3226ce.Emscripten.clang
Error: Cannot find module 'react-bootstrap/lib/Breadcrumb'
Require stack:
I've tried manually installing the package with
npm install --save Breadcrumbs
But I can't seem to find the correct link to download the library
Is there a way to install an older version of node because I believe the repo I'm cloning from is from a few years ago so there could be some dependency issues going on.
You don't need to downgrade your node version. It appears your react-bootstrap has been updated with a major release, without updating related references.
To fix this, either downgrade your library version as suggested by Drew Reese, or just fix your imports.
If you look over the library codebase, you can see you should now import your components through react-bootstrap/src/Breadcrumb instead.
I am using
ember-cli: 3.4.3 ,
node js:10.16.3.
ember-serve work perfectly and give
Build successful (25929ms) – Serving on http://localhost:4232/
but on browser console the following error comes and unable to process further
Uncaught Error: Could not find module ember-meta/lib/meta at missingModule (vendor.js:18453)
while using sourceMap found that the line which cause the issue is this
const Meta = false ? Ember.__loader.require('#ember/-internals/meta/lib/meta').Meta : Ember.__loader.require('ember-meta/lib/meta').Meta;
I tried deleting package-lock.json ,node-modules, clearing cache & reinstalling still the same
Can any one help on this please
Addon version must be compatible with ember version
It is to be noted that this issue occurred for me after installing an ember addon.
So what worked for me was uninstalling the old addon and re-installing the compatible version of the addon.
Uninstall old ember addon
npm uninstall [insert addon-name here] --save-dev
Install specific version of ember addon
npm install [insert addon-name here]#[insert compatible-version here]--save-dev
Generate addon
ember g [insert addon-name here]
I am getting below error after upgrading cordova 8.0.0 to 9.0.0 in my ionic 3 application
Using "requireCordovaModule" to load non-cordova module "path" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
I wanted to install cordova-plugin-firebase-analytics plugin which requires cordova version 9.0.0
I tried npm cache clear --force command and building it again but it didn't work.
I also updated all the plugins to the latest version, removed the platform and added it again, still getting the same error.
I read all the related posts and tried them but the solutions given there are not working in my case.
Kindly help me with this error.
Created new app with
ember new app-name
version: 1.13.13
node: 5.5.0
npm: 2.14.10
os: linux x64
After running
"ember s"
App works proper in browser
As per guide at https://github.com/dgeb/ember-engines for running ember engine ran below command
ember install ember-engines
rm -rf bower_components
bower install --save ember#canary #Choosed ember#canary from prompt
bower install
And now when i do "ember s" app gets compile properly in CLI but app gets crash in browser and i see nothing in browser.
In console i see below error message
Uncaught Error: Could not find module ember-views/views/select
Tried debugging it, Could not find solution. Is i am missing somthig basic here ?
Note :: I am new to ember. I think this would be small one but could not find solution on web as well.
Sorry about that! There were a few commits/fixes on master that hadn't been released yet.
I just released v0.2.1 which should clear this up for you.
I'm attempting to install (via cloned repository) 'iron-router' for my Meteor project in Windows 7.
( Repo: https://github.com/EventedMind/iron-router )
The output is the following:
While building package `iron-router`:
error: no such package: 'reactive-dict#1.0.0'
error: no such package: 'deps#1.0.0'
error: no such package: 'underscore#1.0.0'
error: no such package: 'ejson#1.0.0'
error: no such package: 'jquery#1.0.0'
error: no such package: 'ui#1.0.0'
error: no such package: 'iron'
error: no such package: 'cmather'
error: no such package: 'webapp#1.0.0'
Anyway, these are all stock packages that seem to be in %LOCALAPPDATA%/.meteor/packages, because I checked to make sure all the directories were there.
Any thoughts? I've been developing in Linux for a while now, but I figured if I could get things working in Windows it would be nice if I were too lazy to bother with rebooting (dual-boot environment) after gaming, etc.
Thanks in advance for any help.
The changelog specifies that iron:router#0.9.0 just came out on 2014-08-12.
https://github.com/EventedMind/iron-router/blob/devel/History.md
The latest version of iron:router has been updated to use the new package system which can only be used with meteor 0.9 release candidates.
From your error log, I can tell the iron-router version you cloned from the repo is actually the latest designed for the new package system (deps#1.0.0 used to be just deps without version number) and it complains that it can't find the meteor core packages it depends on, because you're probably running meteor 0.8.3 instead of 0.9-rc?.
What you need to do is fetch iron-router v0.8.2 from the git repo, the commit sha1 is 05415a8891ea87a00fb1e2388585f2ca5a38e0da
Cloning a git repo from a specific commit hash is a different topic, here is a SO answer to get you started : How to clone git repository with specific revision/changeset?