Can't build, some error in imported package, works in dev mode #3862
Unanswered
trancephorm
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as I understand it's some problem with es-module-lexer which is imported as some dependency. This is quite deal breaker for me when it comes to snowpack, anyone give me little hope? :)
[18:18:55] [snowpack] ! building files... [18:18:57] [snowpack] Build Result Error: There was a problem with a file build result. [18:18:57] [snowpack] Parse error @:13:78 [18:18:57] [snowpack] Error: Parse error @:13:78 at parse (/home/pyc/ttwww/node_modules/es-module-lexer/dist/lexer.cjs:1:402) at scanCodeImportsExports (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/rewrite-imports.js:21:29) at transformEsmImports (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/rewrite-imports.js:37:27) at Object.transformFileImports (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/rewrite-imports.js:108:16) at FileBuilder.resolveImports (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/build/file-builder.js:116:48) at async Object.loadUrl (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/commands/dev.js:641:39) at async flushFileQueue (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/build/process.js:191:24) at async Object.buildFiles (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/build/process.js:226:5) at async build (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/commands/build.js:11:5) at async Object.command (/home/pyc/ttwww/node_modules/snowpack/lib/cjs/commands/build.js:35:9)
Beta Was this translation helpful? Give feedback.
All reactions