-
Notifications
You must be signed in to change notification settings - Fork 106
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
Unable to start server #548
Comments
@omotayoR1 I have no access to Windows right now and have no way to check for a fix. My best guess is that somehow path in |
I checked the path mentioned and on line 24, it seems something is wrong there const fp = require('fastify-plugin') What's the resolution please Thanks for helping |
@omotayoR1 could you provide a snippet? I see the file has only like 15 LOC |
/*
/**
const fp = require('fastify-plugin') const iconNameDefault = 'favicon.ico' /**
ensureIsString(path, 'iconPath') const icon = pn.join(path, name) fs.readFile(icon, (err, faviconFile) => {
}) /**
// utility functions function ensureIsString (arg, name) { module.exports = fp(fastifyFavicon, { |
@omotayoR1 FYI, I should be able to investigate this on Windows by the end of the week |
Okay Thanks for helping |
@jbroma have you been able to investigate this ?
|
@paaber yes, the investigation is ongoing and we're working on a fix together with @szymonrybczak |
@omotayoR1 @paaber we've just released Btw, you can now install Re.Pack in new projects with custom version like this:
|
Thanks for helping. The server starts now and builds successfully but it stops bundling at some point and it throws this error Node.js v21.4.0 Please help me look into it Thanks |
@omotayoR1 please open a new issue |
I upgraded re.pack to @4.0.0-rc.0 and i'm not able to start the server by running 'npx react-native webpack-start' again. The error i'm getting below;
error fastify-favicon: \C:\Users\directory\Documents\d\node_modules@callstack\repack-dev-server\dist\img\favicon.ico not found.
Error: fastify-favicon: \C:\Users\directory\Documents\d\node_modules@callstack\repack-dev-server\dist\img\favicon.ico not found
at ReadFileContext. (C:\Users\directory\Documents\d\node_modules\fastify-favicon\src\plugin.js:60:14)
at ReadFileContext.callback (C:\Users\directory\Documents\d\node_modules\graceful-fs\graceful-fs.js:123:16)
at FSReqCallback.readFileAfterOpen [as oncomplete] (node:fs:306:13)
what do i do
Thanks for helping
The text was updated successfully, but these errors were encountered: