Open ezani92 opened 5 years ago
And generate-assets - It doesn't work either.
UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'indexOf' of undefined at generateAssets
same here.. generate-assets doesn't work
Changing package.json from new version and all is great :)
Same Issue here , any solution @seba316d @ang3lx Node Version v12.10.0
Same here:
I've tried: -clearing cache: npm cache clean --force -reinstalling sharp: npm install sharp --unsafe-perm -deleting node_modules folder & reinstalling node: npm install
...but nothing works.
Death-Mac:ecommerce_app Macintosh$ sudo framework7 create /usr/local/lib/node_modules/framework7-cli/node_modules/bindings/bindings.js:135 throw err; ^
Error: Could not locate the bindings file. Tried: → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/build/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/build/Debug/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/build/Release/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/out/Debug/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/Debug/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/out/Release/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/Release/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/build/default/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/compiled/8.9.1/darwin/x64/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/addon-build/release/install-root/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/addon-build/debug/install-root/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/addon-build/default/install-root/sharp.node → /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/lib/binding/node-v57-darwin-x64/sharp.node at bindings (/usr/local/lib/node_modules/framework7-cli/node_modules/bindings/bindings.js:126:9) at Object. (/usr/local/lib/node_modules/framework7-cli/node_modules/sharp/lib/constructor.js:10:34)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/framework7-cli/node_modules/sharp/lib/index.js:3:15)