question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

after migrating from 0.9.5 to 1.0.0 i'm getting error message. __webpack_require__.i(...) is not a function

See original GitHub issue

Description

after migrating from 0.9.5 to 1.0.0 i’m getting error message. webpack_require.i(…) is not a function

Expected behavior

should not be error out.

Environment

  1. npm ls react-scripts (if you haven’t ejected): react-scripts@1.0.7 same with react-scripts@1.0.0

  2. node -v: v7.10.0

  3. npm -v: 5.0.0

  4. Operating system: macOS Sierra v 10.12.5

  5. Browser and version: Chrome 58.03029

file url.js

import HOST from "./host";

export const LOGIN_URL = `${HOST}/api/admin/login`;
export const BILLING_PROVIDERS_URL = `${HOST}/api/admin/billing-providers`;
export const PATIENTS_URL = `${HOST}/api/admin/users`;
export const REIMBURSEMENTS_URL = `${HOST}/api/admin/reimbursements`;

browser pause on exception on last line of this file content

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
codedavincicommented, Jun 5, 2017

@mromanoff No problem !! I am glad it helped. 😃

0reactions
mromanoffcommented, Jun 5, 2017

@codedavinci i did this before as it described on your migration docs. now i did this again and this helped at the second try. i don’t know why? maybe combination of new npm 5 or just my sloppiness.

Sorry guys for a red flag and thank you for your quick response.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[V4] Message formatting is incompatible with Webpack v5 #9880
I am getting tired of inserting message = message.message; everytime I got error messsage.split is not a function becase formating webpack ...
Read more >
Angular 12 to 14 upgrade error; __webpack_require__.h is ...
after upgrading angular 12 to 14 I'm getting this error at runtime in browser. UI loads correctly, nothing is broken, it's just this...
Read more >
Migration troubleshooting - IBM
If you run migration and observe error messages in your log output, you can take troubleshooting steps, and run the migration again.
Read more >
db migration error - Redmine
Hi,. after upgrading to the latest trunk via svn and running the db migration, i got the following error: rake db:migrate RAILS_ENV=production --trace ......
Read more >
Migrating to Dotnet-Isolated Azure Functions worker.config ...
config.json was not found. I am currently upgrading an azure functions project to dotnet 5. However, at some point I began having this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found