-
Notifications
You must be signed in to change notification settings - Fork 310
Unable to load moment-timezone in latest 0.0.43 #389
Comments
Facing the same issue for other libraries after running Workaround |
I am using app-scripts 0.0.44 with webpack 2.1.0-beta.25 but still got this error |
I'm also getting same error in 0.0.44. Switching back to webpack beta 25 resolved it. |
My default webpack version in app-scripts 0.0.44 is beta 25 but I still get this error :( |
@danbucholtz Earlier we had this issue with rollup in ionic-team/ionic-framework#8375 but after moving to webpack, it was working. But in webpack beta26, there are loader breaking changes which may be causing this issue. Can you please look into this and add a fix in next version if possible? |
Yeah, I'll check it out. Thanks, |
Should be fixed. Can you test please test again our nightly release and validate for me? I'll re-open if needed. Will go out Monday in an official release.
Thanks, |
@danbucholtz It's working with nightly 👍 But
|
yes, it works with nightly version. Thanks ! |
Just wanted to add my +1, ran into this issue, started using nightly, and getting same copying Error. |
The copying error is something I am working on. Our existing copy task was insufficient for a lot of cases but our fix is 75% done and will ship this week. Thanks, |
It work for me (RC.3):
module: {
loaders: [
{
test: /\.json$/,
// loader: 'json'
loader: 'json-loader' // Change this
}
].concat(getSourcemapLoader())
},
|
@TwixD you don't need to install json-loader, it works without that as well. |
After upgrade rc3 to rc4 I realized that a major version of @ionic/app-scripts was released, that version has in |
The solution is to add those dependencies to your devDependencies in package.json file : upgrade app-scripts to latest ad add sw-toolbox
or via cmd: npm install @ionic/app-scripts@latest --save-dev also maybe you need to delete in /src/app those two files (main.prod.ts & main.dev.ts) and create another instead, named main.ts contain:
|
i just reinstalled my packages and this error appear . |
you need to install
and it is works |
Short description of the problem:
After upgrading to rc2 and ionic-app-scripts 0.0.43, webpack seems to be having trouble loading moment-timezone.
What behavior are you expecting?
When Running ionic-serve, I get this error:
Steps to reproduce:
Which @ionic/app-scripts version are you using?
0.0.43
The text was updated successfully, but these errors were encountered: