2

I am following the tutorial example from React.js Onboarding Using Intro.js however when I look at my page the tooltip is not popping up and my terminal is giving the following errors:

WARNING in ./node_modules/intro.js/intro.module.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/necolanch/Documents/IntroJS/onboarding/node_modules/intro.js/intro.module.js.map' file: Error: ENOENT: no such file or directory, open '/Users/necolanch/Documents/IntroJS/onboarding/node_modules/intro.js/intro.module.js.map'

WARNING in ./node_modules/intro.js/introjs.css (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[5].use[2]!./node_modules/source-map-loader/dist/cjs.js!./node_modules/intro.js/introjs.css)
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/necolanch/Documents/IntroJS/onboarding/node_modules/intro.js/introjs.css.map' file: Error: ENOENT: no such file or directory, open '/Users/necolanch/Documents/IntroJS/onboarding/node_modules/intro.js/introjs.css.map'

The following image link is what shows when I run the server:

Tooltip does not show

Amila Senadheera
  • 12,229
  • 15
  • 27
  • 43

1 Answers1

0

Seems like warning caused by create-react-app and Webpack 5.x

To remove the warning simply add GENERATE_SOURCEMAP=false to your .env file, and then stop and start your project.

Also everything works fine for me on server.

Hooman
  • 1,775
  • 1
  • 16
  • 15
  • https://github.com/usablica/intro.js/issues/1595. The issue is still present on the latest version even though it has been closed. I am not using CRA and webpack v5 but still getting the issue – Erick Jul 27 '22 at 12:43