-
Notifications
You must be signed in to change notification settings - Fork 306
Typo in require path #326
Comments
This is an especially mean typo because it breaks builds on case-sensitive file systems (e.g. most Linux), but works on case-insensitive systems (e.g. some macOS). My workaround is to symlink |
Ops, didn't see this issue. Closing #332 |
@marcoturi had a PR merged for this. This must have been a VSCode autocorrect or something. Not sure. Sorry! Thanks, |
Hello guys! Sorry about this question but I am new in this world! How can I update ionic to fix this issue? I tried with npm install -g ionic, ionic lib update (ups, lot of warning related to use a deprecated command). Thanks in advance. |
We haven't published a fix yet but probably will today (Thursday). Thanks, |
Edit: Like Dan said, install the latest
|
Thanks, @jsayol !!! This resolved the problem!! |
Thanks for your answer and workaround ideas! |
This is resolved. Please install Thanks, |
In Linux Mint, I need change local variable "logger" yet, even updating lasted script. |
@guibson91, I'm not following what you mean. Can you explain what you changed? Thanks, |
I deleted the node_modules folder, ran the "npm install @ionic/app-scripts@latest" command, but I kept getting error messages because of "Util / Logger". Var Logger_1 = require ( '../ util / Logger'); to Var Logger_1 = require ( '../ util / logger'); In file "node_modules/@ionic/app-scripts/dist/webpack/ionic-environment-plugin.js" solved the problem. My OS is Linux Mint 18, which the terminal is case sensitive. |
Short description of the problem:
Webpack build fails with this error: build dev failed: Cannot find module '../util/Logger'
What behavior are you expecting?
In dist/webpack/ionic-environment-plugin.js
should be:
(notice the lowercase l)
Steps to reproduce:
Which @ionic/app-scripts version are you using?
0.0.41
The text was updated successfully, but these errors were encountered: