Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Cannot find module 'parcel-bundler/src/Logger'" in Parcel 1.11.0 #1

Closed
cheeaun opened this issue Dec 18, 2018 · 2 comments
Closed
Assignees

Comments

@cheeaun
Copy link

cheeaun commented Dec 18, 2018

Getting this warning in latest Parcel 1.11.0:

Server running at http://localhost:1234
⚠️  Cannot find module 'parcel-bundler/src/Logger'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
    at Function.Module._load (internal/modules/cjs/loader.js:513:25)
    at Module.require (internal/modules/cjs/loader.js:643:17)
    at require (/Users/cheeaun/project/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/Users/cheeaun/project/node_modules/parcel-plugin-json-url-loader/lib/index.js:1:78)
    at Module._compile (/Users/cheeaun/project/node_modules/v8-compile-cache/v8-compile-cache.js:178:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
    at Module.load (internal/modules/cjs/loader.js:605:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
    at Function.Module._load (internal/modules/cjs/loader.js:536:3)
✨  Built in 721ms.

This may be due to this change: parcel-bundler/parcel#2165

New logger seems to be at @parcel/logger.

@shunia
Copy link
Owner

shunia commented Dec 19, 2018

Well, I simply removed the unused import and published a new version to npm.
So you just need to update your plugin version to 0.1.2 and it should be resolved.

@cheeaun
Copy link
Author

cheeaun commented Dec 20, 2018

Haha nice! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants