build error with remote-next #3169
Unanswered
Geoffrey-Pliez
asked this question in
Troubleshooting
Replies: 1 comment
-
More details. in my case, the problem is that snowpack build removes ".snowpack/source" and does not resolve package in the same way as snowpack dev. So build looks for the package in the folder but it no longer exists. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Snowpack BUILD can't find packages
"snowpack build
[15:06:48] [snowpack] ! building files...
[15:06:49] [snowpack] Build Result Error: There was a problem with a file build result.
[15:06:49] [snowpack] Package "lit-element" not found. Have you installed it? "
at Object.resolveEntrypoint (\npm\node_modules\snowpack\lib\index.js:94161:15)
at PackageSourceLocal.resolvePackageImport (\npm\node_modules\snowpack\lib\index.js:123374:34)
at resolveImport (\npm\node_modules\snowpack\lib\index.js:163242:48)
at \npm\node_modules\snowpack\lib\index.js:163265:47
at \npm\node_modules\snowpack\lib\index.js:116770:37
at Array.map ()
at transformEsmImports (\npm\node_modules\snowpack\lib\index.js:116762:31)
at async FileBuilder.resolveImports (\npm\node_modules\snowpack\lib\index.js:163264:24)
at async Object.loadUrl (\npm\node_modules\snowpack\lib\index.js:182756:39)
at async flushFileQueue (\npm\node_modules\snowpack\lib\index.js:183210:24)
at async Object.buildFiles (\npm\node_modules\snowpack\lib\index.js:183243:5)
at async build (\npm\node_modules\snowpack\lib\index.js:183341:5)
at async Object.command (\npm\node_modules\snowpack\lib\index.js:183365:9)
at async cli (\npm\node_modules\snowpack\lib\index.js:183675:9)
A solution ?
Beta Was this translation helpful? Give feedback.
All reactions