Issue when using with parcel
See original GitHub issuemonaco-editor version: 0.15.6 Browser: Chrome OS: Mac
I’m getting an error when trying to use approach from the parcel sample. When I include the Worker with self.MonacoEnvironment using getWorker and ../node_modules/monaco-editor/esm/vs/language/typescript/ts.worker.js
I get the following error:
src.fc45d0fd.js:39 Uncaught (in promise) Error: Cannot find module 'node_modules/process/browser.js'
at newRequire (src.fc45d0fd.js:39)
at newRequire (src.fc45d0fd.js:23)
at localRequire (src.fc45d0fd.js:55)
at Object.parcelRequire.node_modules/mobx/lib/mobx.module.js.process (tslib.es6.js:186)
at newRequire (src.fc45d0fd.js:49)
at localRequire (src.fc45d0fd.js:55)
at Object.parcelRequire.node_modules/mobx-react/index.module.js.mobx (index.module.js:1)
at newRequire (src.fc45d0fd.js:49)
at localRequire (src.fc45d0fd.js:55)
at Object.parcelRequire.src/index.tsx.tslib (index.tsx:8)
Any help or hints would be appreciated. I’ve already tried the example and it seems to be working fine.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Issues · parcel-bundler/parcel - GitHub
Issues list ; @parcel/bundler-default: The expression evaluated to a falsy value (CSS modules and non-modules) · #8716 opened · nartallax ; parcel ......
Read more >Issue using Parcel bundler - Google Groups
Hello, I'm trying to use the Parcel bundler (parceljs.org) but i'm getting the following error when I launch the browser: ReferenceError: WEBGL_RENDERER is ......
Read more >Development - Parcel
Parcel includes a development server out of the box supporting hot reloading, HTTPS, an API proxy, and more.
Read more >How to debug a CSS issue using React, TypeScript, and Parcel
I didn't find why there was a margin-bottom: 0px that caused the issue in the first place, but I managed to find the...
Read more >Issues with Using Attribute rules to assign parcel...
Issues with Using Attribute rules to assign parcel number in the Parcel Fabric Service · Service was published using the owner connetion ·...
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
Added docs here #1268
It’s true that there are some gaps in the documentation, so I’d be happy to do it! I’ll do a quick write-up and make a PR for it a little bit later.