Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import map generator, Resolver.analyze fails on valid JS syntax #326

Closed
trusktr opened this issue Oct 10, 2023 · 1 comment
Closed

import map generator, Resolver.analyze fails on valid JS syntax #326

trusktr opened this issue Oct 10, 2023 · 1 comment

Comments

@trusktr
Copy link

trusktr commented Oct 10, 2023

playground

This is the file that it fails on:

https://unpkg.com/three@0.157.0/src/renderers/shaders/ShaderChunk/default_vertex.glsl.js

with error:

Error: 
  `;
> 
  ^
  undefined

Error parsing https://unpkg.com/three@0.157.0/src/renderers/shaders/ShaderChunk/default_fragment.glsl.js:6:1
    at Resolver.analyze (17f28187.js:14:22696)
    at async 17f28187.js:46:3491
    at async TraceMap.getTraceEntry (17f28187.js:46:3726)
    at async TraceMap.visit (17f28187.js:43:430)
    at async 17f28187.js:43:1203
    at async Promise.all (/index 5)
    at async TraceMap.visit (17f28187.js:43:1148)
    at async 17f28187.js:43:1203
    at async Promise.all (/index 9)
    at async TraceMap.visit (17f28187.js:43:1148)
@guybedford
Copy link
Member

Turns out this was an issue with the generator application itself, and fixed via a dependency update in jspm/generator.jspm.io@9bd1da2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants