You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The png file can't show in the page as it's src attribute is not right(missing prefix /dist/).
Error occurred while building with command parcel build index.html:
parcel build index.html
🚨 /Users/erguotou/workspace/temp/simple-vue-parcel/index.js: Cannot read property 'start' of undefined
at module.exports (/Users/erguotou/.nvm/versions/node/v8.9.2/lib/node_modules/parcel-bundler/node_modules/_babel-to-estree@0.0.2@babel-to-estree/babylon-to-espree/attachComments.js:56:42)
at module.exports (/Users/erguotou/.nvm/versions/node/v8.9.2/lib/node_modules/parcel-bundler/node_modules/_babel-to-estree@0.0.2@babel-to-estree/babylon-to-espree/index.js:35:3)
at exports.toEstree (/Users/erguotou/.nvm/versions/node/v8.9.2/lib/node_modules/parcel-bundler/node_modules/_babel-to-estree@0.0.2@babel-to-estree/index.js:9:3)
at module.exports (/Users/erguotou/.nvm/versions/node/v8.9.2/lib/node_modules/parcel-bundler/src/transforms/uglify.js:10:39)
at <anonymous>
The text was updated successfully, but these errors were encountered:
I'm having the same issue. You can do parcel build index.html --no-minify but it still won't work since it adds '/dist/' to every path in the outputted HTML, resulting in a 404.
Here is my demo repo
There are two errors:
src
attribute is not right(missing prefix/dist/
).parcel build index.html
:The text was updated successfully, but these errors were encountered: