NFS error: File not found after publishing website.

So I published one of my websites again, but this time it’s not loading.

All I see is
NFS error: File not found on the page.
I still use the beakerbrowser.

It works in the mock network though.

I also recieved this warning in DevTools:

DevTools failed to parse SourceMap: safe://yropeen.yro/opt/Maidsafe/safe-browser/resources/app/webview-preload.build.js.map

hi @folaht,

Could you just double-check that the GitLab repo is up to date please?
I cloned and I’m getting a couple of errors with what looks like some missing files.

Ta,
DG

Thanks for letting me know.
I only tested if it would build.

[Edit]

It’s been updated.
I still have the same error.

1 Like

Hi @folaht, can you please let me know the URL where you published the website (assuming it’s in alpha2 net) so I can try to open it myself?

Edit: I just tried to run your website locally with npm start and opening it in beaker browser at localhost://p:5000 but I get the following errors:
Uncaught Error: Cannot find module "../docs/1.philosophy/ChangeLogPage.vue"

Then I tried to build it with npm run build but it also fails with the following type of errors:
Module build failed: ModuleNotFoundError: Module not found: Error: Can't resolve '../../img//svg/arrow_left.svg'

Apart from that, I’m not sure how you uploaded it, but it sounds to me that whatever you uploaded must not have an index.html file and therefore you are getting that error.

1 Like

safe://yropeen.yro

The module error is weird.
The other one I understand now.
New versions seem to have broken some packages.

Yeah, you haven’t published any index.html file that’s why you are getting that error. The following is the list of files I see you published, so your site is missing the default html file to load, it seems you didn’t upload the packaged version of your site, i.e. the one you’d get after successfully running npm run build.

App.vue
assets/css/bootstrap.min.css
assets/css/font-awesome.min.css
assets/css/mdb.min.css
assets/img/svg/arrow_left.svg
assets/img/svg/arrow_right.svg
components/Navbar.vue
components/Waves.css
docs/0.home/HomePage.vue
docs/1.philosophy/AccentPage.vue
docs/1.philosophy/CorePage.vue
docs/1.philosophy/SuffixPage.vue
docs/2.basics/AccentProductPage.vue
docs/2.basics/CoreProductPage.vue
docs/2.basics/PhonologyPage.vue
docs/2.basics/SuffixProductPage.vue
docs/2.basics/WritingSystemPage.vue
docs/3.grammar/0.sentence/SentencePage.vue
docs/3.grammar/1.clauseclass/exformative/AugmentiveClausePage.vue
docs/3.grammar/1.clauseclass/exformative/DirectiveClausePage.vue
docs/3.grammar/1.clauseclass/informative/FocalClausePage.vue
docs/3.grammar/1.clauseclass/informative/ListClausePage.vue
docs/3.grammar/2.syntagma/AmbitSyntagmaPage.vue
docs/3.grammar/2.syntagma/FocusSyntagmaPage.vue
docs/3.grammar/2.syntagma/InfluenceSyntagmaPage.vue
docs/3.grammar/3.phraseclass/DeterminerPhrasePage.vue
docs/3.grammar/3.phraseclass/NounPhrasePage.vue
docs/3.grammar/3.phraseclass/VerbPhrasePage.vue
docs/3.grammar/4.wordclass/AdjectivePage.vue
docs/3.grammar/4.wordclass/AdverbPage.vue
docs/3.grammar/4.wordclass/ConjunctionPage.vue
docs/3.grammar/4.wordclass/DeterminerPage.vue
docs/3.grammar/4.wordclass/InterjectionPage.vue
docs/3.grammar/4.wordclass/NounPage.vue
docs/3.grammar/4.wordclass/PrepositionPage.vue
docs/3.grammar/4.wordclass/PronounPage.vue
docs/3.grammar/4.wordclass/VerbPage.vue
docs/3.grammar/5.verbclass/exformative/DecisivePage.vue
docs/3.grammar/5.verbclass/exformative/HortativePage.vue
docs/3.grammar/5.verbclass/exformative/VolitivePage.vue
docs/3.grammar/5.verbclass/informative/IndicativePage.vue
docs/4.learn/LearnPage.vue
docs/5.whynot/EnglishPage.vue
docs/5.whynot/EsperantoPage.vue
docs/5.whynot/EuropeanPage.vue
docs/5.whynot/FrenchPage.vue
docs/5.whynot/OtherLanguagesPage.vue
docs/6.culture/AnimationPage.vue
docs/6.culture/InternetPage.vue
docs/6.culture/KeyboardPage.vue
docs/6.culture/MoviesPage.vue
docs/6.culture/SongsPage.vue
docs/6.culture/WebComicPage.vue
docs/7.forum/GuestbookPage.vue
index.js
mixins/drop.js
mixins/waves.js
router/index.js
safenetwork.js
2 Likes

Ohhh… so that’s how you build it.

3.7 MB??
Is that possible to even upload to the alpha 2 network?
I noticed that it’s mostly Roboto font files.
I’m not sure where I got those from.

You can upload any files you want as long as you have enough PUTs, you can also test it with mock, there shouldn’t be any difference for this case, so I would suggest you build it and upload it to mock before any attempt to alpha2

2 Likes

This topic was automatically closed after 60 days. New replies are no longer allowed.