v0.1.3 Sourcemap for "..node_modules/.vite/*.js" points to missing source files
See original GitHub issueHi,
I used v0.1.1 before and I didn’t have any issue… now that I’m using v0.1.3 I got this:
Sourcemap for "..node_modules/.vite/*.js" points to missing source files error.
Warning log:
Sourcemap for "...web/node_modules/.vite/@storybook_client-api.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@storybook_client-logger.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@storybook_react.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/react.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@mdx-js_react.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/lodash_mapValues.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/ts-dedent.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/chunk-P3SATHUQ.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/chunk-OFZ2FDA6.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@storybook_csf.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/global.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/fast-deep-equal.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/prop-types.js" points to missing source files
Sourcemap for "...node_modules/react-element-to-jsx-string/dist/esm/index.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/qs.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/polished.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@emotion_styled.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@emotion_core.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@emotion_is-prop-valid.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/emotion-theming.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/doctrine.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@base2_pretty-print-object.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/react_jsx-dev-runtime.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/react-is.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/uuid-browser_v4.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/react-textarea-autosize.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/markdown-to-jsx.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/memoizerific.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/deep-object-diff.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/html-tags.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/lodash_cloneDeep.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/lodash_isPlainObject.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/lodash_isFunction.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/chunk-HFSOX6BS.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/lodash_pickBy.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/lodash_isString.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/@storybook_addon-docs.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/acorn.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/lodash_uniq.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/escodegen.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/acorn-walk.js" points to missing source files
Sourcemap for "...web/node_modules/.vite/acorn-jsx.js" points to missing source files
[BABEL] Note: The code generator has deoptimised the styling of /...web/node_modules/.vite/chunk-5UCQLPD7.js?v=252f1ba1 as it exceeds the max of 500KB.
I have a branch working with previous version 0.1.1:
"devDependencies": {
"@babel/core": "^7.15.8",
"@mdx-js/react": "^1.6.22",
"@storybook/addon-actions": "^6.3.11",
"@storybook/addon-docs": "^6.3.11",
"@storybook/addon-essentials": "^6.3.11",
"@storybook/addon-links": "^6.3.11",
"@storybook/addons": "^6.3.11",
"@storybook/react": "^6.3.11",
...
"storybook-builder-vite": "^0.1.1",
"typescript": "^4.4.3",
"vite": "^2.5.1"
},
And a non working branch with 0.1.3 and @storybook6.3.12
"devDependencies": {
"@babel/core": "^7.15.8",
"@mdx-js/react": "^1.6.22",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-docs": "^6.3.12",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
"@storybook/react": "^6.3.12",
...
"storybook-builder-vite": "^0.1.3",
"typescript": "^4.4.3",
"vite": "^2.5.1"
}
Any ideas what happened?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:10
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Issues - GitHub
1.3 I got this: Sourcemap for "..node_modules/.vite/*.js" points to missing source files error. Warning log:.
Read more >Vite - "Source map points to missing source files"
All of a sudden I'm getting this error for practically all modules installed. Sourcemap for "C:/ ...
Read more >Missing quasar source maps?
I'm launching quasar with “quasar dev”. Oddly enough, Chrome thinks it is showing me the source map. The subtitle in the code window...
Read more >Laravel Vite Issue - Laracasts
My application is using Inertia.js, and I've followed the migration guide from Laravel Mix to Vite. I'm fairly confident I have everything done...
Read more >Source Maps - Rollbar Docs
Getting started · 1. Raise descriptive errors from JavaScript · 2. Configure the rollbar.js SDK to support source maps · 3. Upload your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The root cause of this might be what is being discussed here: https://github.com/vitejs/vite/pull/5563
@eddpascoal I’ve got a PR up that I think should address this, but in the meantime, if you want, you can try removing any
yarn.lockorpackage-lock.jsonand re-installing. Or, you might be able to force a resolution of@vitejs/plugin-reactto1.0.8. It’s in range of what we have specified in this package, but your lockfile may have pinned it to an earlier version (dependency resolution can be complicated, hard to troubleshoot remotely).@bnussman that looks like a different issue. You’ll want to make sure that all your dependencies are pre-bundled by vite. You can add them to your
optimizeDeps.includeinviteFinal. You’ll want something like: