Polymer / old-docs-site

Old Polymer site. Replaced by these repos: polymer-project.org, polymer-library-docs
https://www.polymer-project.org
1.02k stars 2.43k forks source link

Unhandled Rejection at: Promise; no such file or directory #2644

Open lensKamdem opened 6 years ago

lensKamdem commented 6 years ago

i tried to run modulizer --importl-style name --out . and got this error. Any fix? _? npm package version? 1.0.0 [1/2] 🌀 Converting Package... Out directory: /media/lens/Data/Docs/Nowru/nowruPlatform Unhandled Rejection at: Promise Promise {

{ Error: ENOENT: no such file or directory, stat '/media/lens/Data/Docs/Nowru/nowruPlatform/.meteor/local/dev_bundle/lib/node_modules/sqlite3/node_modules/.bin/node-pre-gyp' errno: -2, code: 'ENOENT', syscall: 'stat', path: '/media/lens/Data/Docs/Nowru/nowruPlatform/.meteor/local/dev_bundle/lib/node_modules/sqlite3/node_modules/.bin/node-pre-gyp' } } reason: { Error: ENOENT: no such file or directory, stat '/media/lens/Data/Docs/Nowru/nowruPlatform/.meteor/local/dev_bundle/lib/node_modules/sqlite3/node_modules/.bin/node-pre-gyp' errno: -2, code: 'ENOENT', syscall: 'stat', path: '/media/lens/Data/Docs/Nowru/nowruPlatform/.meteor/local/dev_bundle/lib/node_modules/sqlite3/node_modules/.bin/node-pre-gyp' } (node:9283) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1) Unhandled Rejection at: Promise Promise { { Error: ENOENT: no such file or directory, stat '/media/lens/Data/Docs/Nowru/nowruPlatform/.meteor/local/dev_bundle/lib/node_modules/sqlite3/node_modules/.bin/node-pre-gyp' errno: -2, code: 'ENOENT', syscall: 'stat', path: '/media/lens/Data/Docs/Nowru/nowruPlatform/.meteor/local/dev_bundle/lib/node_modules/sqlite3/node_modules/.bin/node-pre-gyp' } } reason: { Error: ENOENT: no such file or directory, stat '/media/lens/Data/Docs/Nowru/nowruPlatform/.meteor/local/dev_bundle/lib/node_modules/sqlite3/node_modules/.bin/node-pre-gyp' errno: -2, code: 'ENOENT', syscall: 'stat', path: '/media/lens/Data/Docs/Nowru/nowruPlatform/.meteor/local/dev_bundle/lib/node_modules/sqlite3/node_modules/.bin/node-pre-gyp' }_
ghost commented 6 years ago

If modulizer --importl-style name --out is verbatim what you used, I think there is a typo in your command. Should be modulizer --import-style name --out

Failing that, Modulizer README also says to run the following before running modulizer:

bower cache clean && bower install