error while gatsby develop
adharshchottu opened this issue · comments
ERROR #98124 WEBPACK
Generating development JavaScript bundle failed
Can't resolve '../../secrets' in 'C:\xampp\htdocs\spacebudz-main\src\templates'
If you're trying to use a package make sure that '../../secrets' is installed. If you're trying to use a local file make sure that the path is correct.
File: src\templates\profile.js:20:0
ERROR #98124 WEBPACK
Generating development JavaScript bundle failed
Can't resolve '../../secrets' in 'C:\xampp\htdocs\spacebudz-main\src\templates'
If you're trying to use a package make sure that '../../secrets' is installed. If you're trying to use a local file make sure that the path is correct.
File: src\templates\spacebud.js:26:0
failed Building development bundle - 63.913s
warn The size of at least one page context chunk exceeded 500kb, which could lead to degraded performance. Consider putting less data in the page context.
ERROR in ./src/templates/profile.js 20:0-36
Module not found: Error: Can't resolve '../../secrets' in 'C:\xampp\htdocs\spacebudz-main\src\templates'
@ ./.cache/this_is_virtual_fs_path/$virtual/async-requires.js 56:11-58:5
@ ./.cache/app.js 16:0-52 29:87-33:1 32:29-42 35:27-40 29:0-33:2
ERROR in ./src/templates/spacebud.js 26:0-36
Module not found: Error: Can't resolve '../../secrets' in 'C:\xampp\htdocs\spacebudz-main\src\templates'
@ ./.cache/this_is_virtual_fs_path/$virtual/async-requires.js 61:11-63:5
@ ./.cache/app.js 16:0-52 29:87-33:1 32:29-42 35:27-40 29:0-33:2
secrets.js
`const secrets = {
PROJECT_ID: 'your api key from blockfrost.io/',
}
export default secrets`