-
Notifications
You must be signed in to change notification settings - Fork 92
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 publish the static website #181
Comments
Fixed. Can you please try to grab the latest version from |
Sure, I'll test it and let you. |
@azaslonov I think removing node-sass package has broken some other functionality now.
Please let me know if you need more details or error stack. |
Could you please try cleaning up node_modules completely and redo npm install? |
Already did that and I have also tried by cloning the repo to a completely new folder. |
Hmm, still cannot reproduce the issue. Just tried to run everything from scratch:
Everything seems to be working for me. So, can you please give me more details, like:
|
Thanks for the update @azaslonov. But I feel the root cause of the issue is sass package only. I have tested the code on two machines (mac and windows), with latest code and cloning to a new folder. |
Yep, you were right, my global cache had it. Pushed the fix, please try to grab the latest one. |
@azaslonov Yea finally both commands are working fine. There is one webpack warning on publish command but that should be fine for now. Thanks |
Describe the bug
After cloning the paperbits-demo git repo and following the steps mentioned in wiki to publish the modified content.
npm run publish
command is failing with below error.To Reproduce
Steps to reproduce the behavior:
npm install
npm run start
, open browser and navigate to http://localhost:8080//src/data/demo.json
file with the file saved in step 4.npm run publish
. This command fails with: ERROR in ./node_modules/@paperbits/core/map/map.publish.module.tsExpected behavior
npm run publish
should generate a static website in ./dist/website/ folder of the project.Screenshots
Not applicable
Desktop (please complete the following information):
Additional context
Stack trace:
ERROR in ./node_modules/@paperbits/core/map/map.publish.module.ts
Module not found: Error: Can't resolve './bindingHandlers.googlemap' in '/Users/asingh/Desktop/Projects/paperbits.io/paperbits-demo/node_modules/@paperbits/core/map'
@ ./node_modules/@paperbits/core/map/map.publish.module.ts 4:0-38
@ ./node_modules/@paperbits/core/core.publish.module.ts
@ ./src/startup.publish.ts
@ multi ./src/startup.publish.ts
The text was updated successfully, but these errors were encountered: