jspm / project

Roadmap and management repo for the jspm project
161 stars 8 forks source link

Undefined variable in served @wasmer/wasmfs #102

Closed michaelfranzl closed 3 years ago

michaelfranzl commented 3 years ago

https://generator.jspm.io/#02JgYGBkDM0rySzJSU1hcChPLM5NLdIHUWnFDgZ6hkZ6BgBipuf3JAA

Gives Uncaught ReferenceError: _process is not defined sandbox:1:55467.

I don't see this issue when locally using jspm cli version 2.0.0-beta.7 .

guybedford commented 3 years ago

Thanks for posting the issue, if you clear your browser cache it should be working correctly now.

michaelfranzl commented 3 years ago

Confirming that it is working!

I'm interested though what the problem was.

Thanks!

guybedford commented 3 years ago

@michaelfranzl this was due to the handling of the process.nextTick replacement for browsers in the CommonJS conversion not working correctly.