dazzle
dazzle copied to clipboard
SourceMap Error
I have recently started to use this package for a project I am working on. When running the code locally, I am getting:
./packages/dashboard/node_modules/react-dazzle/dist/lib.js
(Emitted value instead of an instance of Error) Cannot find SourceMap 'lib.js.map': Error: Can't resolve './lib.js.map' in '/Users/h318669/Desktop/Code/scuf/packages/dashboard/node_modules/react-dazzle/dist'
Steps to reproduce is too NPM install and run the package in a new project created with CRA. Also I do not see this when running the sample app.
Thank you.
Are you doing a product or development run of the code. I think the source map is missing in the production package deploy.
From: Jacob Askew [email protected] Reply-To: Raathigesh/dazzle [email protected] Date: Friday, October 26, 2018 at 6:56 AM To: Raathigesh/dazzle [email protected] Cc: Subscribed [email protected] Subject: [Raathigesh/dazzle] SourceMap Error (#60)
I have recently started to use this package for a project I am working on. When running the code locally, I am getting:
./packages/dashboard/node_modules/react-dazzle/dist/lib.js
(Emitted value instead of an instance of Error) Cannot find SourceMap 'lib.js.map': Error: Can't resolve './lib.js.map' in '/Users/h318669/Desktop/Code/scuf/packages/dashboard/node_modules/react-dazzle/dist'
Steps to reproduce is too NPM install and run the package in a new project created with CRA. Also I do not see this when running the sample app.
Thank you.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/Raathigesh/dazzle/issues/60, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAIqKRW0wNbRqWc3qiTgEmCGox9fqkzwks5uoxR9gaJpZM4X8STx.
Product I believe since I NPM installed the package and imported it in.
Hi, any news about this ? I think I have the same issue
When I npm run build
, I get this in my command prompt:
WARNING in ./node_modules/react-dazzle/dist/lib.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find SourceMap 'lib.js.map': Error: Can't resolve './lib.js.map' in 'C:\Users\user\project\node_modules\react-dazzle\dist'
@ ./src/components/Dashboard.jsx 13:19-42
@ ./src/index.js
@ multi ./src/index.js
When I npm run start
, I get this in my browser console:
DevTools failed to parse SourceMap: http://localhost:8080/lib.js.map