psd.js
psd.js copied to clipboard
Failed to compile.
Failed to compile.
./node_modules/psd2json/node_modules/psd/lib/psd.coffee Module parse failed: Unexpected character '#' (1:0) You may need an appropriate loader to handle this file type. | # A general purpose parser for Photoshop files. PSDs are broken up in to 4 logical sections: | # the header, resources, the layer mask (including layers), and the preview image. We parse | # each of these sections in order. @ ./node_modules/psd2json/node_modules/psd/index.js 2:17-44 @ ./node_modules/psd2json/index.js @ ./src/main.js @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
I appear to be having the same issue. Have you or anyone else discovered a fix for this?
I appear to be having the same issue. Have you or anyone else discovered a fix for this?
What's your problem?I haven't now
Same problem for me...working with webpack as well.
@cathyhax for me, the problem ended up being that I was using an outdated version of the module. When installing the package with npm, run "npm install psd.js" instead of just "npm install psd". Just seems like the documentation on here is outdated, but after installing the correct version, it has been working just fine for me.
@zavalzam Thank you! I have just found the same as well. Very confusing as I think there are many branches of this repo on npm.