We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
node_modules/optimal-select/src/index.js
Hello,
I am using Snowpack, my package.json looks something like this:
{ "name": "app", "version": "0.0.1", "description": "", "main": "src/index.js", "scripts": { "start": "snowpack dev", "build": "snowpack build", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC", "devDependencies": { "esbuild": "^0.12.5", "snowpack": "^3.5.2", "tslib": "^2.2.0", "typescript": "^4.3.2" }, "dependencies": { "optimal-select": "^4.0.1" } }
When I try to npm start I get the following error:
npm start
[snowpack] We resolved "optimal-select" to ./node_modules/optimal-select/src/index.js, but the file does not exist on disk.
In node_modules/optimal-select I can't find the src folder:
node_modules/optimal-select
src
By looking into the package.json file I can see the following declaration:
… "module": "src/index.js", …
If I change it to
… "module": "lib/index.js", …
it works.
Is it the right thing to do?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I am using Snowpack, my package.json looks something like this:
When I try to
npm start
I get the following error:In
node_modules/optimal-select
I can't find thesrc
folder:By looking into the package.json file I can see the following declaration:
If I change it to
it works.
Is it the right thing to do?
The text was updated successfully, but these errors were encountered: